Can I don't use sapxmltoolkit for xml parsing?

Hi SDN,
I have a J2EE application with Struts frontend. I
I have successfully deployed and run without problem on SAP WebAS 6.40 (Slim Edition). However, when I tried to deploy and run the same application on the Java Edition that comes with EP, there is a "Provider com.sap.engine.lib.jaxp.DocumentBuilderFactoryImpl not found" error due to missing reference to the sapxmltoolkit library. I added the reference to the sapxmltoolkit library in my application and that resolves the error but my frontend still does not display correctly.
My application EAR already contains the Xerces parser library and I would like to stick to that but I saw that
system properties for javax.xml.parsers.DocumentBuilderFactory has been set to com.sap.engine.lib.jaxp.DocumentBuilderFactoryImpl.
How can I make my application use the xerces parser without hardcoding the use of xerces parser implementation in my code?
Thanks!

Hello,
I performed some tests on my system but unfortunately I was not able to find an appropriate solution if some other application had already set JAXP system property. I noticed that I had given you a wrong note number - the notes that I've meant are 881597 and 609804. Note 881597 contains a jar file, which will identify the thread, which sets the JAXP system property. You said that you are able to run your application on NetWeaver slim edition so I am quite sure that one of the deployed applications (on the other J2EE Engine) sets the property.
I am sorry that I cannot help much.
Regards
Vyara

Similar Messages

  • HT5787 i buy iphone 4sfrom some friend that's he got it from his friend in canada and me set up software for it from Itunes and it asking now for apple ID that's i don't used it for download apps and me can't open my Iphone right now !! what i should do ?

    i buy iphone 4sfrom some friend that's he got it from his friend in canada and me set up software for it from Itunes and it asking now for apple ID that's i don't used it for download apps and me can't open my Iphone right now !! what i should do ?

    It's not stolen ,that iphone came from canada to Egypt and me activeted it last night i got the acc from the owner
    Thanks for Replay Mr

  • I want to clean up my icloud account but I can not delete my mail storage and I don't using icould for my mails?

    I want to clean up my icloud account but I can not delete my mail storage and I don't using icould for my mails so there's nothing in the trash.

    Which email provider do you use if not iClouf?

  • PS CS5 keeps crashing if i don't use it for more than 5mins

    i'm having trouble with the new ps cs5, it keeps crashing every 5-10mins if i don't use it... i've install it in a new machine at work and since then it keeps crashing if i don't use it for more than 5+mins... it's really frustrating when this happens.. is there anyone having the same problem and can someone shed some lights on why this keeps happening to me please?

    First I've heard of this forum, and I watch this forum pretty closely.
    Just a general suggestion with a possible chance of helping you:  Update your device drivers (for example your display driver).
    -Noel

  • My laptop locked after I don't use it for several minutes.

    Hi everyone,
    I have a really troublesome problem.
    My laptop is locked after I don't use it for several minutes.
    When I say locked, I mean it turns to where shows my account name and below it says locked.
    At first, I think it is cause by the Auto-lock .cuz I am really annoyed by it, I uninstalled it.
    However it still does not work.
    Could anyone tell me what the problem is on earth?
    Perhaps it is just because I am really not familiar with my new laptop.
    Solved!
    Go to Solution.

    That's a power setting that determines how long before it enters the screen saver, sleep more, or even hibernation mode. You can change either the requirement of a password (somewhere in the screen saver section of Windows) or the duration before it enters those modes (you should be able to set that with the Lenovo Power Center thing). Of course, doing either is a security risk, but that's up to you as to how much security or comfort you want.

  • I charge my IPOD and don't use it for 2-3 days. When I go to use it, it is dead. What am I doing wrong??

    When I charge my IPod Touch and don't use it for 2-3 days, it is dead when I go to use it. What am I doing wrong?

    If yo are oly letting the iPod sleep (vice slide to power off) that is normal if wifi and other itesm ae left on when sleep. I would either power the iPod off or at least turn on airplane mode and let it sleep.

  • [svn] 2216: Changed InterfaceCompiler to public so that it can be used directly for mxml parsing by other tools .

    Revision: 2216
    Author: [email protected]
    Date: 2008-06-24 13:34:15 -0700 (Tue, 24 Jun 2008)
    Log Message:
    Changed InterfaceCompiler to public so that it can be used directly for mxml parsing by other tools. Also change parseMxml to public.
    Reviewed by: Paul
    Modified Paths:
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/InterfaceCompiler.java

    Before I read this helpful post, I changed my Google search key words from "change location Firefox profiles" to "change path Firefox Profiles" and found this link: http://kb.mozillazine.org/Thunderbird_:_FAQs_:_Changing_Profile_Folder_Location. This brought me to the article "Moving Your Firefox Profile" which answered my question. Your suggested link would have ultimately led me to the same solution.
    The problem was that I had copied my Firefox profile to the new location and then modified "profiles.ini" to point to the new location and saved it there as a replacement to the original "profiles.ini" that I had renamed "profiles.iniOld." Even though I had changed "IsRelative" from "=1" to "=0" I got error messages. I had used this procedure successfully before, but it would not work this time. When I used Profile Manager to move the Firefox Profiles everything worked fine the first time I tried it, and it took only a few minutes.
    Thank you, cor-el.

  • I created an Apple ID but i can't able to use it for downloading applications from iTunes store on my 4s iPhone

    I have created an apple id on my 4S iPhone. But i can not able to use it for downloading applications from iTunes store on my phone

    can your computer?
    can your browser ?
    what error does it give you?

  • What is the best api for xml parsing?

    I think that api comes with j2se is not that good for xml parsing. is there any open source api which is simple,easy and powerful,

    JArsenic wrote:
    Hey I feel XMLBeans would be a optimal solution for XML parsing as I provides you a whole set of methods to parse your XML tags as Java Objects. And you may download XMLBeans @ http://xmlbeans.apache.org/.
    What advantage would that have over JAXB? It already can do all that and is built into Java itself, so you don't need a separate download.
    Also: mapping XML to Java beans is a very specific way of handling XML and is definitely not "the best" in all situations.
    For similar quest you may reach @ [somesite]Please, no advertisement here, read the Code of Conduct that you agreed on singing up with this page.

  • How can i use FNDLOAD for XML reports and data defnitions

    I registerd concurrent program and linked xml reports and data defnitions in staging instance, and successfully moved to DEV.. after that stage is refreshed and when i download the details from DEV and uploaded to Stage only concurrent program i can upload...Wheteher we can use FNDLOAD Command for the Data definitions or Data template for the XML Report,used FNDLOAD for the concurrent program, it uploaded only concurrent program details.

    Hi,
    Use XDOLoader.
    Note: 469585.1 - How To Use XDOLoader?
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=469585.1
    Regards,
    Hussein

  • How can I disable itunes on my iphone 4s?  I don't use it for music and need to prevent it from automatically activating when I plug in to my vehicle.

    How do I disable itunes on my iphone 4s?  I don't use the phone for music, and I need to prevent it from automaically playing music when I plug the phone into my vehicle.  I have attempted to delete all music from the device (so there would be nothing to play), but 1 song remains in the iphone memory and I have been unable to delete that song. 

    Olliev wrote:
    How do I disable itunes on my iphone 4s?
    iTunes app on the iPhone is for purchasing music.
    The fact the iPhone starts playing when connected to your car stereo is a function of your car bluetooth system.
    Consult your car dealer/bluetooth system manual.
    I have attempted to delete all music from the device (so there would be nothing to play), but 1 song remains in the iphone memory and I have been unable to delete that song.
    Connect the iPhone to computer and select it in iTunes.
    Click the Music tab and uncheck Sync music.
    Then click Apply at lower right of iTunes.

  • Biztalk WCF-SQL polling sample using a FOR XML Path

    I've been searching in the web for a sample that uses FOR XML "PATH" to poll the SQL database . The result returned from my query is a parent child data and FOR XML PATH is the best choice to structure it in that way . I guess I'm missing something while
    generating the schemas from this stored procedure.
    I guess Dan Rosanova has touched on this concept (http://social.technet.microsoft.com/wiki/contents/articles/3480.aspx)
    , but its using XML Auto. Again there is no sample available so makes things a bit difficult.
    Can someone point to a sample walkthrough , generating the schemas and then later using it in the application.
    Thanks
    Anthstone

    I used XMLPolling and it worked for me. you can go for XMLPolling. Steps to be followed:
    1) Create the SP which will have the SELECT query similar to below:
    ;WITH XMLNAMESPACES (default 'http://yourcustomnamespace')
     Select * from Employee FOR XML PATH('YourCustomRootNode') 
    2) Create a schema out of the table using the following query
    Select * from Employee for
    xml
    auto,
    xmlschema 
    3) Re-name the root name and namespace as per you mentioned in point#1 (YourCustomRootNode)
    4) Create an Envelope Schema and refer the schema from point#3. Also make a note of the root node name and namespace that we need to specify
    in the admin console.
    5) Assign the Body XPath to debatch. Refer
    this.  Deploy the solution.
    6) In the Admin console, add the Root Node Name and namespace mentioned in point#4 under "XmlStoredProcedureRoodNodeName" and "XmlStoredProcedureRoodNodeNamespace"
    There you go. I did this for debatching. You can do for nomarl batch message instead of Envelope create a normal document schema.
    Thanks
    SKGuru

  • URGENT! SEGV-errors when using Oracle C XML Parser for Solaris

    I often (not always) got SEGV-error with core dump when I use Oracle Oracle C XML Parser for Solaris. This Error is always got in the call of the the function xmlinit(...) with all params as NULL but the first required for the error code and the second which i assign a macro that evaluates to "US-ASCII". Does anyone knows about this problem?
    I am using a very short, wellformed and validated XML document.
    I would be very glad for some help about this!
    null

    Please provide a sample program along with the version number of the XML parser.

  • When using citrix through safari on my iPad , how do I keep it from timing out and having to keep logging back in when I don't use it for awhile?

    When using citrix thru safari on my iPad , how do I keep from getting timed out and having to log in again after not using it for awhile ?

    I know nothing about this app but I just did a very quick search on the app support forum for Citrix and saw something about enabling a setting called Caffiene. Have you tried that? It overrides the auto lock from what I saw in the discussion.
    I'm just not sure why the iPad would sleep at all if it the Auto Lock is set to never. The only other things that I could think to try is to restart the iPad and then see if the Auto Lock setting works properly or maybe quit all apps and then try again. That really shouldn't matter but there might be an app that is overriding the auto lock for some reason. Or even reset the device - hold down on the sleep and home buttons at the same time for about 10 seconds until the Apple logo appears. The iPad system might just need a kick in the butt.
    Edit - after rereading your post I see that you are going through Safari. The suggestion that I found was for the Citrix app. I assume the Caffiene setting is not available through Safari.

  • Regular expressions for xml parsing

    I have a xml parsing problem that I have to solve using regular expressions. It's not possible for me to use a different method other than regular expression. But there is a problem that I cannot seem to rap my head around. I want to extract the contents of a tag but the problem is that this tag occurs serveral times in the XML file but I only want the contents of one particular occurence. Basically the problem is as follows;
    I want to extract
    <bp:NAME ***stufff***>(I want this part)</bp:NAME>This tag can occur is serval places. For example here;
    <bp:ORGANISM>
    ***bunch of tags***
    <bp:NAME ***stufff***>***stufff***</bp:NAME>
    ***bunch of tags***
    </bp:ORGANISM>or here;
    <bp:DATABASE>
    ***bunch of tags***
    <bp:NAME ***stufff***>***stufff***</bp:NAME>
    ***bunch of tags***
    </bp:DATABASE>I do not want the content of those tags. I want the content of the <NAME> tag that is not between either the <ORGANISM> tags or the <DATABASE> tags. These tags can be in any order. I for the life of me cannot seem to figure this problem out. I tried several different approaches. For example I tried using the following regex
    (?:<bp:NAME [^>]*>([^<]*).*?<bp:ORGANISM>.*?</bp:ORGANISM>|
    <bp:ORGANISM>.*?</bp:ORGANISM>.*?<bp:NAME [^>]*>([^<]*))This kind of works, the information I want is either in the first captured group or in the second one. So I just check which group is not empty and that is the one I want. But this only works if there is only one other tag containing the name tag (in this particular regular expression that is the organism tag). Since there is another tag (the database tag) I have to work around, and these tags can be in any order, the regular expression then becomes three times as large and then there are six different groups in which the information I want can occur. This does not seem like a good idea to me. There has to be another way to do this. So I tried using the following regex;
    (?:</bp:ORGANISM>)?.*?(?:</bp:DATABASE>)?.*?<bp:NAME [^>]*>([^<]*)I thought this would get rid of any occurences of the other tags in front of the name tag, but it doesn't work either. It seems like it is not greedy enough. Well I think you get the point. I don't know what to try next so I really need some help.
    Here is an example of the type of data I will run into. The tags can be in any order and they do not always have to occur. In the example below the <DATABASE> tag is not part of the data and the name tag I want just happens to be in front of the organism tag but this is not always the case. The name tag I want is the firstname tag in the file, namely;
    <bp:NAME rdf:datatype="xsd:string">Progesterone receptor</bp:NAME>So I don't want the name tag that is in between the organism tags.
    <bp:protein rdf:ID="CPATH-27885">
    &#8722;<bp:COMMENT rdf:datatype="xsd:string">
    Belongs to the nuclear hormone receptor family. NR3 subfamily. SIMILARITY: Contains 1 nuclear receptor DNA-binding domain. WEB RESOURCE: Name=NIEHS-SNPs; URL="http://egp.gs.washington.edu/data/pgr/"; WEB RESOURCE: Name=Wikipedia; Note=Progesterone receptor entry; URL="http://en.wikipedia.org/wiki/Progesterone_receptor"; GENE SYNONYMS: NR3C3. COPYRIGHT:  Protein annotation is derived from the UniProt Consortium (http://www.uniprot.org/).  Distributed under the Creative Commons Attribution-NoDerivs License.
    </bp:COMMENT>
    <bp:SYNONYMS rdf:datatype="xsd:string">Nuclear receptor subfamily 3 group C member 3</bp:SYNONYMS>
    <bp:SYNONYMS rdf:datatype="xsd:string">PR</bp:SYNONYMS>
    <bp:NAME rdf:datatype="xsd:string">Progesterone receptor</bp:NAME>
    &#8722;<bp:ORGANISM>
    &#8722;<bp:bioSource rdf:ID="CPATH-LOCAL-112384">
    <bp:NAME rdf:datatype="xsd:string">Homo sapiens</bp:NAME>
    &#8722;<bp:TAXON-XREF>
    &#8722;<bp:unificationXref rdf:ID="CPATH-LOCAL-112385">
    <bp:DB rdf:datatype="xsd:string">NCBI_TAXONOMY</bp:DB>
    <bp:ID rdf:datatype="xsd:string">9606</bp:ID>
    </bp:unificationXref>
    </bp:TAXON-XREF>
    </bp:bioSource>
    </bp:ORGANISM>
    <bp:SHORT-NAME rdf:datatype="xsd:string">PRGR_HUMAN</bp:SHORT-NAME>
    &#8722;<bp:XREF>
    &#8722;<bp:relationshipXref rdf:ID="CPATH-LOCAL-112386">
    <bp:DB rdf:datatype="xsd:string">ENTREZ_GENE</bp:DB>
    <bp:ID rdf:datatype="xsd:string">5241</bp:ID>
    </bp:relationshipXref>
    </bp:XREF>
    &#8722;<bp:XREF>
    &#8722;<bp:unificationXref rdf:ID="CPATH-LOCAL-112387">
    <bp:DB rdf:datatype="xsd:string">UNIPROT</bp:DB>
    <bp:ID rdf:datatype="xsd:string">P06401</bp:ID>
    </bp:unificationXref>
    </bp:XREF>
    &#8722;<bp:XREF>
    &#8722;<bp:unificationXref rdf:ID="CPATH-LOCAL-112388">
    <bp:DB rdf:datatype="xsd:string">UNIPROT</bp:DB>
    <bp:ID rdf:datatype="xsd:string">A7X8B0</bp:ID>
    </bp:unificationXref>
    </bp:XREF>
    &#8722;<bp:XREF>
    &#8722;<bp:relationshipXref rdf:ID="CPATH-LOCAL-112389">
    <bp:DB rdf:datatype="xsd:string">GENE_SYMBOL</bp:DB>
    <bp:ID rdf:datatype="xsd:string">PGR</bp:ID>
    </bp:relationshipXref>
    </bp:XREF>
    &#8722;<bp:XREF>
    &#8722;<bp:relationshipXref rdf:ID="CPATH-LOCAL-112390">
    <bp:DB rdf:datatype="xsd:string">REF_SEQ</bp:DB>
    <bp:ID rdf:datatype="xsd:string">NP_000917</bp:ID>
    </bp:relationshipXref>
    </bp:XREF>
    &#8722;<bp:XREF>
    &#8722;<bp:unificationXref rdf:ID="CPATH-LOCAL-112391">
    <bp:DB rdf:datatype="xsd:string">UNIPROT</bp:DB>
    <bp:ID rdf:datatype="xsd:string">Q9UPF7</bp:ID>
    </bp:unificationXref>
    </bp:XREF>
    &#8722;<bp:XREF>
    &#8722;<bp:unificationXref rdf:ID="CPATH-LOCAL-113580">
    <bp:DB rdf:datatype="http://www.w3.org/2001/XMLSchema#string">CPATH</bp:DB>
    <bp:ID rdf:datatype="http://www.w3.org/2001/XMLSchema#string">27885</bp:ID>
    </bp:unificationXref>
    </bp:XREF>
    </bp:protein>Edited by: Dani3ll3 on Nov 19, 2009 2:51 AM

    Dani3ll3 wrote:
    Thanks a lot after I did that the regular expression worked. :)Good. But remember that in real life, you would then have to apply the XML rules to get the actual contents of the text node. For example it might be a CDATA section or it might include characters like ampersands which have been escaped and which you need to unescape. That's why it's better to use a proper parser, as already suggested.
    It seems to me this forum is full of posts where people are doing homework questions which teach them to do things the wrong way. But of course there's nothing the student can do about that.

Maybe you are looking for

  • How do I get working hyperlinks in PDF files?

    Hyperlinking procedures as laid down by Pages 09 work.  Conversion fromPages format to PDF format work - in principle.  But when one clicks on created hyperlink in PDF file, nothing happens.  So, no one outside of the working Pages community can go f

  • Populating with holding tax part in WITH_ITEM using RFBIBL00

    Hi all,       While handling with hold tax part during FB01 UPLOAD using RFBIBL00- DIRECT INPUT METHOD,i assigned WITHT, WT_WITHCD AND WT_QSSHB values to BWITH,and the tax part gets calculated and updating bseg table, but the tax part is not getting

  • Boot up difficulties, unable to reach windows

    Hello. My Pavilion all in one was purchased in 2012 with WIN 8 and since upgraded to 8.1. I have just recently been transferring a great many files images from other PCs in order to consolidate before backup. There were only two changes that I made.

  • How to bind flash to sql server DB or any DB?

    hi everyone i have searched a lot in the net and haven't found what i am looking for so i though asking you nice people out there.im working on a project, in which i need to bind my flash to SQL server data base and i don't know how. what i want to d

  • Mousemotion

    Is there any way to sence the position of the mouse's cursor in an applet without Swing?