Need Suggestion on the xml parser to be used in weblogic env.

Hi All,
1. I would like to know what is the parser suggested to be used when our application is running in the weblogic env. We have xerces parser already shipped in along with jdk and oracle's xdk parser is also available in the env.
Kindly let me know what is the suggested one to use?
2. In one of our applications, jaxp factory (javax.xml.parsers.DocumentBuilderFactory) is explicitly set to xerces's (com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl).
Now when we changed it to use oracle xdk parser (oracle.xml.jaxp.JXDocumentBuilderFactory), We are running in to issues like 'IllegalArgumentException :not able to set Schema in setAttribute()' as a File Type.
Previously, we used to set the Schema as File Type when xerces parser is used and that used to work fine.
Kindly let me know the way which is accepted by both the parsers.
Thanks
Rajesh

Use the default parser.
By default, WebLogic Server is configured to use the default parser and transformer to parse and transform XML documents. The default parser and transformer are those included in the JDK 5.0.
The built-in WebLogic Server DOM factory implementation class is com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl.
The DocumentBuilderFactory.newInstance method returns the built-in parser.
DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();

Similar Messages

  • HOW TO: Use the XML parser in Oracle 8.1.7

    I am trying to figure out how to use the xml parser provided in oracle 8.1.7. all i want to do is parse a xml report that is defined using a schema, and place the data into the proper tables. i am totally unfamiliar with the xml parser and how it works. i have done some reading on the subject, but seem to be getting some conflicting infromation about which utilites i need and how to invoke them. can someone please tell me what utilities i need, how to invoke them, and what i need to do to get a xml document to parse and insert to a table? I would greatly appreciate any help anybody could offer. thanks.

    You can parse the XML Document with XML Parser and place the data into database using XSU(XML SQL Utility).
    Both of these are included in XDK for Java at:
    http://otn.oracle.com/tech/xml/xdk_java
    The following document could also help:
    Oracle9i XML Developer's Guide--XDK [PDF] at http://otn.oracle.com/tech/xml/doc.html

  • Error: The XML parser encountered an Error

    Error: The XML parser encountered an Error, and could not complete the conversion for portlet id=6,343, it returned the following message: XML Parsing Error.
    I am a beginning portal developer and need help identifying what is causing this error. I have gone into navigator, clicked the provider tab then clicked on the provider that I wanted to work with and got the above error. Can anyone tell me what is wrong.

    Please try posting your question to the Oracle Portal Development Kit (PDK) forum.
    null

  • Need suggestion on the entire hardware specs for running Oracle VM 2.2.2

    Hi,
    I need some suggestion on the preffered hardware specs which can be given to a customer, he wants to run Oracle VM 2.2.2 or Oracle VM 2.2.1.
    He has already used Cisco UCS with NetApp storage for OVM 2.2.2/2.2.1 and has being unsucessful with lots of issues creeping up. Thus now need suggestion on the hardware spec which is well tested and works fine with Oracle VM 2.2.2/2.2.1 and he wants to run Oracle Fusion Middleware on top of it.
    Any poniters to it will be highly appreciated.
    Regards,
    Sk

    887469 wrote:
    Hi Avi,
    thank you for that information !
    Yes. But only for the UCS gear that uses the converged FCoE adapters. If you have standard Ethernet/FC adapters, then it should be OK.We do use the "M71KR-Q QLogic Converged Network Adapter" with UCS. According to you this is an unsupported combination together with OVM 2.2.1, right ?
    Now the "Oracle VM 2.2 Validated Configuration Details" shows UCS B200 M1 with M71KR-Q as a valid configuration. Does 2.2 mean OVM 2.2.0 and this is supported, but 2.2.1 / 2.2.2 is not ?
    Please clarify since this confuses me.
    Best Regards and TIAAny news for me, please ?
    THX

  • Error: The XML parser encountered an error in your deployment descriptor. P

    Hi,
    I am very new to weblogi. I wrote a ejb in eclipse with xDoclet. When I deploy the ejb, Im getting this error:
    <b>Exception:weblogic.management.ApplicationException: Prepare failed. Task Id = 5 Module: SessionLessEjb Error: [EJB:011025]The XML parser encountered an error in your deployment descriptor. Please ensure that your DOCTYPE is correct. You may wish to compare your deployment descriptors with the WebLogic Server examples to ensure the format is correct. The error was: XML document does not appear to contain a properly formed DOCTYPE header. </b>
    Im using weblogic 8.1.5
    In the deployment descriptor I have this DOCTYPE as
    <!DOCTYPE weblogic-ejb-jar PUBLIC "-//BEA Systems, Inc.//DTD WebLogic 8.1.5 EJB//EN" "http://www.bea.com/servers/wls810/dtd/weblogic-ejb-jar.dtd">
    Can someone help me pls?
    Thanks.

    Hai James this the response I am getting can you please tell what should I write inside ora:getNodeValue() to get the value of node <genReturnText>
    The drag and dropping the variable name is not working, I have to write the path manually but I dont know how.
    <ns1:getRoutingAndFrameJumpersResponse xmlns:ns1="com.NetworkInstallations">
    -<com.GetRoutingAndFrameJumpersOutput>
    <destination>
    SW
    </destination>
    <e2EData>
    busProcOriginator
    </e2EData>
    <genReturnCode>
    40777
    </genReturnCode>
    <genReturnText>
    EMW_Get_Routing_And_FrameJumpers_Succeeded
    </genReturnText>
    <supplCode>
    ISY002
    </supplCode>
    <supplText>
    Transaction successfully completed.
    </supplText>
    <severityCode>
    S
    </severityCode>
    <retriable>
    false
    </retriable>
    </com.GetRoutingAndFrameJumpersOutput>
    </ns1:getRoutingAndFrameJumpersResponse>

  • REP-6102: Failed to start the XML parser.

    I have this project that was started using the Reports Wizard, however using a very simplified query. Then I've applied quite a lot of PL/SQL code to pre-process the report data. Eventually everything works fine, and the only thing remaining is to properly format the output. Then I save the project as a JSP, or RDF, or XML, and quits Reports all together.
    The next time I open the project everything seems fine Thus I employ the Wizard to format the reports' output, and saves the project again. And quits the application.
    The next time I open the project I receive one of two messages; 'REP-6102: Failed to start the XML parser', or 'REP-0002: Unable to retrieve a string from the Report Builder message file'. Then Reports crashes!!!!
    This means I cannot complete the report as I'm unable to save and retrieve a completed report. I've tried this with several reports, all with the same result. I've even unstalled all Oracle-sw on my PC and re-installed it several times.
    I'm running WinXP, Oracle 9I DS with patch 9.0.2.1 applied.

    Hello Lasse,
    I think you are hitting a known issue, could you please call Support to get the status of this problem.
    Regards
    Tugdual

  • I need help changing the account number my daughter uses for payment for her apps and itunes, etc. can anyone talk me through this.

    hi ,
    im just a mom, not very computer savy.....however, I need to change the payment method my daughter uses to purchase things on her ipad due to the fact that the current one is expiring. ie: for such things like songs and games, etc.
    I would appreciate any help as how to do so.
    THanks

    On a computer's iTunes you should be able to edit the payment info by going into the Store > View Account menu option (if you are not logged into the account that your daughter is using then Store > Sign menu option to log out of the currently logged in account ; that will then change to a Store > Sign In option so that you can log into her account) and log into the account (enter the account's password and click View Account on the popup)
    And on the account's details page there should be a payment link.
    If you are doing it on your iPad then tap on your id in Settings > iTunes & App Store (if not logged into her account then log out of your account via the popup that you get and then log in with her account) and tap on 'View Apple ID' on the popup and log into the account  - that should also give you a payments link on your account's page.
    Changing payment info : http://support.apple.com/kb/HT1918

  • In the icloud settings, i am told i need to accept the terms and conditions to use icloud, but when i try to do so, i get a message "unable to connect to server". This has been going on for a week. There is no problem with either my wifi or cellular conne

    In the icloud settings, I am told I need to accept the terms and conditions to use icloud. However, when I click on "Terms and conditions", I get a message "unable to connect to server". This has been happening for a week now since I upgraded to iOS 7.06. There is no problem with my wifi or cellular connectivity, all other applications work perfectly. P.S.I have never used icloud before, but wish to do so now. How do I overcome this problem?

    Have you turned the iPad off then back on? That often helps with problems.

  • HT4061 I just tried updating my iPhone 4GS and it says I have an error, and need to "restore" the phone before I can use it with iTunes??? I don't want to lose the pictures on it!  What can I do to save them?

    I just tried updating my iPhone 4GS and it says I have an error, and need to "restore" the phone before I can use it with iTunes??? I don't want to lose the pictures on it!  What can I do to save them?

    Swayzeone wrote:
    I just tried updating my iPhone 4GS
    No, sorry... did not happen becasue no such model exists.
    If the device is in recovery mode, any data on it is already lost. 
    The only options are:
    Restore the device to get it functional.
    Enjoy the paper weight.
    For what reason did you attempt to update the device without first ensuring that your data was safe, meaning backing up the device and copying important pictures/videos taken with the device to a computer?

  • I'm using mac OSX 10.9.5 to write to NAS, I need to decrease the SMB max MTU size used by the OSX

    I'm using mac OSX 10.9.5 to write to NAS, I need to decrease the SMB max MTU size used by the OSX

    By default, OS X Mavericks 10.9.5 Network MTU is set to 1500. If you perform the following at your SMB server, with an MTU of 1500, you will likely receive Message too long, and the SMB share takes a very long while to mount. This might be the contributing factor that has you believe it is an SMB MTU configuration issue.
    ping -c 1 -D -s 1500 smbserver
    If you dial the Network MTU down in a custom setting, the ping is immediate, and the SMB share mounts briskly. I tried values in small decrements until the message too long ceased.
    ping -c 1 -D -s 1472 smbserver
    I have done some searching and I do not see how, in Apple's current SMB implementation, that one can configure /etc/nsmb.conf to reduce SMB MTU size. See man nsmb.conf.
    More on this subject.

  • Need to update the xml clob-pls pls help!

    my xml is stored as blob, i can view,do string manipulation and churn out data etc...but now i have a request where i need to find some particualr node and modify its value.
    here is what i m doing now which works.
    select compressor2.blob_decompress2(xml_data) into l_blob
    from tablename where id=2008890;
    clob_data := utl2.blob2clob(l_blob);
    parser := xmlparser.newParser;
    xmlparser.parseClob(parser, clob_data);
    doc := xmlparser.getDocument(parser);
    nl := xmldom.getElementsByTagName(doc, '*');
    len := xmldom.getLength(nl);
    dbms_output.put_line('Length : ' || len);
    tag_name := 'Node Verson : ' || xmldom.getVersion(doc)|| '<br>';
    for counter in 0..len-1
    loop
    tag_name := '';
    node := xmldom.item(nl, counter);
    parent_node := xmldom.getParentNode(node);
    child_node := xmldom.getfirstchild(node);
    tag_name := 'Parent Name : ' || xmldom.getNodeName(parent_node) || '<br>';
    tag_name := tag_name || 'Node Name : ' || xmldom.getNodeName(node) || '<br>';
    IF xmldom.getNodeType(child_node) = xmldom.TEXT_NODE THEN
    tag_name := tag_name || 'Node Value : ' || xmldom.getNodeValue(child_node)|| '<br>';
    ELSE
    tag_name := tag_name || 'Node Value : Node has child.No Node value.' || '<br>';
    END IF;
    tag_name := tag_name || 'Node Type : '||xmldom.getNodeType(child_node) || '<br>';
    ele_name := xmldom.getDocumentElement(doc);
    child_nl := xmldom.getElementsByTagName(ele_name,'*');
    IF xmldom.isNull(doc) THEN
    htp.p('Document is null');
    ELSE
    htp.p(tag_name);
    END IF;
    end loop;
    b_blob := utl.clob2blob(tag_name);
    select compressor2.blob_compress2(b_blob) into b_blob2 from dual;
    insert into xupdate values (2008890,b_blob2);
    i still need to know how to update the xml clob... i want to know how to find the particular node and then modify the clob with the new value. rest i can update the table.
    pls pls help..on this.

    my oracle version.
    10.2.0.1.0
    i want to update here..
    <?xml version="1.0" encoding="utf-8"?>
    <TestData xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
         <Status>CompletedNormally</TestCompletionStatus>
         <ComputerName>DUILT10</ComputerName>
         <StartTime>2008-03-19T15:12:23</StartTime>
    ---Some more noded----
    <Parameters>
              <RangeMeasured>
                   <Name>PDissBol-5[C]</Name>
                   <Min>1.22</Min>
                   <Max>1.36</Max>
                   <Units>W</Units>
              </RangeMeasured>
              <TextMeasured>
                   <Name>ComputerName</Name>
                   <Value>DUILT10</Value>
              </TextMeasured>
              <RangeMeasured>
                   <Name>TrackError25[C]To-5[C]</Name>
                   <Min>0.031</Min>
                   <Max>0.041</Max>
                   <Units>dB</Units>
              </RangeMeasured>
              <RangeMeasured>
                   <Name>Power-5[C]</Name>
                   <Min>1.988</Min>
                   <Max>1.061</Max>
                   <Units>dBm</Units>
              </RangeMeasured>
    ---some more noded---
    </Parameters>
    </TestData>
    the file is huge.
    what i need to chang==>
    I 1st need to find this PDissBol-5[C] within the <Parameters> Node and then change its <Min> and <Max>
    and then update the table.
    pls pls suggest.

  • Need help with error: XML parser failed: Error An exception occurred! Type:......

    <p>Need help with the following error.....what does it mean....</p><p>28943 3086739136 XML-240304 3/7/07 7:13:23 PM |SessionNew_Job1<br /><font color="#ff0000">28943 3086739136 XML-240304 3/7/07 7:13:23 PM XML parser failed: Error <An exception occurred! Type:UnexpectedEOFException, Message:The end of input was not expected> at</font><br />28943 3086739136 XML-240304 3/7/07 7:13:23 PM line <7>, char <8> in <<?xml version="1.0" encoding="WINDOWS-1252" ?><br />28943 3086739136 XML-240304 3/7/07 7:13:23 PM <DSConfigurations><br />28943 3086739136 XML-240304 3/7/07 7:13:23 PM <DSConfiguration default="true" name="Configuration1"><br />28943 3086739136 XML-240304 3/7/07 7:13:23 PM <case_sensitive>no</case_sensitive><br />28943 3086739136 XML-240304 3/7/07 7:13:23 PM <database_type>Oracle</database_type><br />28943 3086739136 XML-240304 3/7/07 7:13:23 PM <db_alias_name1>ODS_OWNER</db_alias_name1><br />28943 3086739136 XML-240304 3/7/07 7:13:23 PM <db_ali>, file <>.<br />28943 3086739136 XML-240307 3/7/07 7:13:23 PM |SessionNew_Job1<br />28943 3086739136 XML-240307 3/7/07 7:13:23 PM XML parser failed: See previously displayed error message.</p><p>Any help would be greatly appreciated.  It&#39;s something to do with my datasource and possibly the codepage but I&#39;m really not sure.</p><p>-m<br /></p>

    please export your datastore as ATL and send it to support. Somehow the internal language around configurations got corrupted - never seen before.

  • What classes handles the XML Parser's Error Messages?

    I am using Xerces and it successfully parse the XML file and display the error message including the Line and Column Number..
    but... would like to change the messages and translate it to different langauges (like Chinese, Japanese)..
    Please guide me on how to translate the error message came from the parse class...
    thanks a lot.

    I am using Xerces and found the org/apache/xerces/impl/msg/XMLMessages.properties
    Then, I just need to create a localized property file (XMLMessages_ja.properties).
    but don't know on how to set the Parser to read the ja file instead of default locale.

  • Need Suggestion on the Design of a New Workbench

    Hi All,
    I need a suggestion on the design of agreement workbench..
    The requirement goes this way...
    We will have workbench main screen, where header and line details will be entered manually ( or sourced from legacy system). On the main screen, there will be few buttons, clicking upon which will open the subforms (around 6-8 screens) or supporting details (the data can be entered or interfaced).
    We have two approaches.
    1. Keeping everyithing in a single .fmb file
    2. Creating one .fmb file for the main screen and different .fmb files for each of the individual screens and calling them from the main screen.
    Please suggest the best approach considering all the factors like maintanance, user friendlyness, switching b/w the main and child forms and all other possible factors which can make difference.
    Thanks in advance!.
    Thanks,
    Pavan

    Hello,
    All I can say is that small modules are faster to load and easyest to maintain.
    Francois

  • ST22 , Need to  get the Transaction and Pgm name using a FUNCTION MODULE ?

    Hi All,
    I need to create a Report for monitoring Dumps which is seen in ST22 every day.
    The function module RS_ST22_GET_DUMPS gives the dump information . But i need to fetch the Program name and the transaction where the dump has happened for my report.(Like when we double click the alv output in ST22 and the next list gives us the complete information , Transaction , Main program name ...etc)
    Kindly suggest me and help me on this .
    Regards,
    Richard A

    Hi
    Funcion module RS_ST22_GET_DUMPS will return the program names where the dump has taken place.
    Pass this program name to function module RPY_TRANSACTION_READ to get the trascation code of the program.
    Regards
    Srilaxmi

Maybe you are looking for

  • How to change default software in Blackberry Connect 4.0 for opening attachment​s

    I have downloaded and installed Adobe Reader LE 2.5 to a Nokia E51 running Blackberry Connect 4.0 to overcome an issue with Adobe attachments not displaying files correctly. When opening Adobe attachments in Blackberry Connect 4.0 it uses Adobe Reade

  • Zen Sleek Photo Freezes/Locks Up after about 5 minutes usage (need to drain battery to recov

    Hi, My 20G Zen Sleek Photo has just recently transformed itself into a useless brick. No matter what I try and do, it always ends up freezing after about 5 minutes usage. When you force a reset it does unlock but when it comes back on it sticks on th

  • Is there a way to do this in Acrobat?

    I'm hoping this is the right place for this query. We've been asked by a client to provide a pdf document which will comprise two A4 sheets side by side as a double-page spread, therefore making the pdf page an A3. What they want to be able to do fro

  • Publish Dataset and history in sap lumira server

    Hi Experts I'm trying to publish a dataset and story from the sap Lumira desktop to Lumira  server. Tools used SAP HANA DATABASE REV.80 INSTANCIA EN WINDOWS AZURE SAP LUMIRA DESTOP V1.18 SAP LUMIRA SERVER V1.18 The process I followed is as follows: 1

  • Print from context menu.

    Perhaps this is more of a Windows question, but I haven't been able to find anything on it. I just got a new Machine (new to me anyway) with Windows 7 Professional. On my old computer (Windows XP) was set up to open PDF files with Illustrator automat