XI - XML libraries

Hi all,
which XML libraries (SAX and JDOM) does XI use ?
My issue is to write an sender adapter module that does transformation (from flat file to XML) and to reuse XI libraries for XML message creation (I do not want to include outside libs, such as Xalan and Xerces). More precise: which SAP libraries do I have to enlist in the file application-j2ee-engine.xml ?
Kindest regards and many thanx in advance
Jurica Borozan

You can use SAX and DOM.
For developing you need sapxmltoolkit.jar. You need not add this lib to the application-j2ee-engine.xml as this lib as available by default.
When you use NWDI, then you can use the help there to see the methods.
Regards
Stefan

Similar Messages

  • How to install the Java XML libraries in the appropriate location in JDK1.3

    Hi,
    I'm new to XML. just wondering how to install xml libraries into the appropriate place. I'm useing jdk1.3
    Thanks a lot in advance for your help!
    JH

    Hi JaiDeep
    Thanks for the valid reply
    Finally i have decided to install the CE7.1 SP 3 version.
    But which version of jdk is supported by SP3 is not given at the site.
    Do u have any idea, if i install the CE7.1 SP3. and then can i install the SAP widget Foundation  also along with that.
    This tool requireds
    JAVA 1.6
    SUCUDE  PSE management install
    In the SAP Widget foundation guide has given the steps for the installation.
    But the url it has given will be going open in the SAP networkonly.
    http://nvpal168.pal.sap.corp:1080/wfws/foundationWS.jnlp
    What is difference in  SAP Widget Foundation Installation and SAP Widget Foundation as a Standalone Application ?
    How i need to proceed for the SAP Widget Foundation installation?
    where do we get the SUCUDE PSE management install?
    whether  the CE7.1 sp3 supports the java1.6 version?
    Regards
    Vijay
    Edited by: Vijay Krishna Meda on Jan 23, 2008 6:55 PM

  • XML Libraries in JSP

    All:
    I followed the on-line document with OAS to set up a JSP cartridge and set up the classpath for my JSP classes. Everything works fine. But when I want to include some XML Libraries in classpath (set it up in Environment Variables of my JSP cartridge and autoexec.bat under WINDOWS 2000), OAS always complains that it can not find XML libraries.
    Can anybody tell me what could be wrong?
    Thanks,
    Jane

    <MyTag:Input id="Text1" mandatory="%= myObject.getValue "Text1","manadatory") % readonly="%= myObject.getValue("Text1","readonly")%"/>
    Just take out < and >.
    Look at the Syntax Reference Card here: http://java.sun.com/products/jsp/syntax/1.2/card12.pdf for more help

  • Java XML Libraries

    I need some information on XML Libraries....
    Can any one help me, If u have any material it will be helpful....
    Thanks in Advance

    These are helpful, if I understand your question.
    http://java.sun.com/j2ee/1.4/docs/tutorial/doc/
    http://www.ibm.com/developerworks/java/library/j-jstl0520/
    http://www.ibm.com/developerworks/xml/library/x-domjava/
    Good luck!

  • Making use of a schema in SAX/DOM? (w/jdk 1.5 xml libraries)

    I have a simple function that I wrote to validate some xml...
        public void validate(String xmlURI) throws SAXException, IOException  {
         XMLReader parser = XMLReaderFactory.createXMLReader();
         parser.setFeature("http://xml.org/sax/features/validation", true);
         parser.parse(xmlURI);
        }I have the following simple schema...
    <?xml version="1.0" encoding="UTF-8"?>
    <xs:schema elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
         <xs:element name="blah" type="xs:string"/>
         <xs:element name="junk">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element ref="blah"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
    </xs:schema>I have a unit test that runs some non-conforming XML though the process, and I have two questions about that.
    XML...
    <?xml version="1.0" encoding="UTF-8"?>
    <junk xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="TestSchema.xsd">
         <blah2>blah</blah2>
    </junk>
    Question #1: It can't find the stylesheet (which is located in the same directory). How do I do that correctly?
    Output to stderr...
    [Error] ValidatorTestBad.xml:2:6: Document is invalid: no grammar found.
    [Error] ValidatorTestBad.xml:2:6: Document root element "junk", must match DOCTY
    PE root "null".
    Question #2:
    Printing the messages to stderr isn't very useful behavior. How do I get the parser to throw an exception?
    Thanks.

                reader.setFeature("http://xml.org/sax/features/validation", true);
                reader.setFeature("http://apache.org/xml/features/validation/schema", true);
          reader.setProperty("http://apache.org/xml/properties/schema/external-noNamespaceSchemaLocation",  XSDSchemaString);
           

  • 64 Bit XML libraries for Sun Solaris

    Will the libxml8.a and libxmlc8.a libraries be included in the 8.1.7 (64) release for Sun Solaris?

    Yes, all releases of Oracle 8.1.7 and Oracle 9i will contain the XDK (although you won't need the libxmlc8.a).

  • Licensing XML libraries for commercial use...

    After reading the license terms for the XML parser for 'C', I am confused. The license document embedded in the download package, says you need to contact Oracle to license the library for commercial use. However, the click-wrap license for the OTN says you can use the technologies in commercial products. These totally contradict each other. I called Oracle and asked the following question, and after talking with 3 people, nobody knew a difinitive answer.
    Here is the question: If I use the Oracle XML parser for 'C' library in the construction of a commercial application that I am selling, do I need purchase a license from Oracle to do this? If so, who do I contact?
    Thanks,
    - Ted
    null

    It doesn't matter to me as much that the two agreements are different. What I am most concerned with is that BOTH say that I cannot build commercial/for-sale products using the kit without paying for a license. Who do I contact to get a license to use?
    I called the number on the agreement and spoke to people who had no idea what I was talking about, nor who I could talk to.
    Also, since you asked, I have attached the two different sections from the two license agreements below.
    Thanks,
    - Ted
    [email protected]
    DEVELOPMENT ONLY LIMITED LICENSE: Oracle grants Customer a nonexclusive, nontransferable limited license to use the Programs for development purposes only in the indicated operating environment identified by Oracle for a single developer user (one person) on a single computer. Customer may not use the Programs for internal data processing operations or any other commercial or production use. If Customer desires to use the Programs for any use other than the development use allowed under this Agreement, Customer must contact Oracle, or an Oracle reseller, to obtain the appropriate licenses. Customer may make one copy of each licensed Program for backup. No other copies shall be made without Oracle's prior written consent. Customer shall not: (a) remove any product identification, copyright notices, or other notices or proprietary restrictions from Programs; (b) use Programs for commercial timesharing, rental, or service bureau use; (c) transfer, sell, assign or otherwise convey
    Programs to another party without Oracle's prior written consent; (d) cause or permit reverse engineering, disassembly, or decompilation of Programs, except to the extent required for interoperability or to the extent that the foregoing restriction is expressly prohibited by law; or (e) disclose results of any benchmark tests of any Program to any third party without Oracle's prior written approval. This Agreement does not authorize Customer to use any Oracle name, trademark or logo.
    ----->
    II. PROGRAM DISTRIBUTION RIGHTS: Oracle grants to Customer a nonexclusive, nontransferable right to copy and distribute the Programs to third party users ("User(s)") under the terms specified herein, provided that such distribution is free of charge. Prior to distributing the Programs for use by Users, Customer shall require Users to execute a written agreement binding Users to contractual provisions identical to those contained in Section I, III-XI inclusive, a provision specifying that Users shall have no right to distribute the Programs, and a provision specifying Oracle as a third party beneficiary of the User Agreement to the extent permitted by applicable law ("User Agreement"). Customer agrees that it is Customer's responsibility to obtain User Agreements

  • XML Libraries

    Ive just spent the last hour looking for a suitable API, but im having trouble finding and choosing.
    SAX seems to be the most recommended for parsing, and it looks like it will do what i need easily, but im open to other suggestions. Im at a loss for what to use to write the XML though.
    The XML file will be small (much less than 1000 entries, no more than 4 deep. Most likely < 100 and 2 deep).
    Thanks

    Writing XML does not need an API or lib necessarily, you could just use a StringBuilder and write it to a file:
      List<MyBean> l = ...;// your input data
      StringBuilder buf = new StringBuild("<?xml version=\"1.0\" ?>\n<woop>");
      for(MyBean b: l) {
          buf.append("<myBean id='"+b.getId()+"'>\n");
             //.. more elements
          buf.append("</myBean>\n");
      buf.append("</woop>");That is if you have no fancy escaping requirements for the values in you (Java) data.
    As a fan of Velocity , I could recommend having the XML skeleton as a template and just expand the template to write the XML file.
    If you must, JDOM is a very intuitive API for constructing an XML document in memory using Java.

  • Oracle vs Sun XML libraries

    Sun has a Technology Release of an XML package. Is the Oracle XML
    software similar, a subset, a superset, a parallel
    implementation, or an entirely different product? When and why
    should I prefer one over the other?
    null

    This code page and all others will be supported in our next
    release.
    Oracle XML Team
    http://technet.oracle.com
    Oracle Technology Network
    Janez (guest) wrote:
    : SunXML parser support's all code pages supported with java
    : platform including Microsoft code pages ala Cp1250, which is
    not
    : supported by yours. And I thing that you should provide a
    support
    : for all java CPs or to expose an API to enable extensions.
    : Best regards, Janez
    : ~
    : Oracle XML Team wrote:
    : : Sun has released an XML Parser similar to ours. I do not
    : believe
    : : it exposes as extensive an API set as ours nor includes our
    : : comprehensive list of character sets and Namespace support,
    but
    : : it is a quaility implementation in my opinion.
    : : Oracle XML Team
    : : http://technet.oracle.com
    : : Oracle Technology Network
    : : Wayne Price (guest) wrote:
    : : : Sun has a Technology Release of an XML package. Is the
    Oracle
    : : XML
    : : : software similar, a subset, a superset, a parallel
    : : : implementation, or an entirely different product? When and
    : why
    : : : should I prefer one over the other?
    null

  • HPUX shared libraries versions of XML parser v2 for C++

    Hi All,
    Could somebody tell me whether Oracle have any plans to distribute shared versions of the xml libraries that ship with the C++ XML Parser for HPUX.
    I am working on a project that uses shared libraries that in turn use the Oracle XML parser. I have managed to get the final executable to link to the xml static library (the symbols are unresolved when I link the sl, but sort themselves out on the final link) but HP do not recommend mixing static & shared libraries - and my code size increases by quite a bit using this method.
    I would much prefer to use shared libaries as I do when I link the Oracle 8.1.6 libraries.
    Thanks in advance,
    Steve Dalton

    I was able to find out that the XDK libraries on HPUX for Oracle 8.1.7 are built with the +z compiler option (unlike the current versions on OTN for HPUX). So, that will give you position independent code and should allow you to build a shared library.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Iwperl Interwoven -Is any XML API libraries available in iwperl Interwoven by default?

    Hi,
      We faced one issue when we did some POC in iwperl Interwoven. We have to merge two XML file using XML::LIBXML in iwperl. We tried to execute the .ipl file and got the error is "LIBXML.pm module is not available.  We checked existing XML libraries in iwperl Interwoven but it is not available.
    We need to know, whether we have existing XML API libraries in iwperl introven by default or not?
    if yes, tell me the location where XML API libraries are available.
    Thanks in Advance.

    Hi,
      We faced one issue when we did some POC in iwperl Interwoven. We have to merge two XML file using XML::LIBXML in iwperl. We tried to execute the .ipl file and got the error is "LIBXML.pm module is not available.  We checked existing XML libraries in iwperl Interwoven but it is not available.
    We need to know, whether we have existing XML API libraries in iwperl introven by default or not?
    if yes, tell me the location where XML API libraries are available.
    Thanks in Advance.

  • Help needed with Java 1.4 and xml Runtime problem

    I am working on a java 1.3 and JAXP1.1 written code. Now I want to compile and run it using J2SE 1.4. Here are the import statements from the existing code.
    import org.xml.sax.*;
    import org.xml.sax.helpers.DefaultHandler;
    import org.xml.sax.Locator;
    import javax.xml.parsers.SAXParser;
    import javax.xml.parsers.SAXParserFactory;
    import org.xml.sax.Attributes;
    import org.xml.sax.XMLReader;
    import org.xml.sax.InputSource;
    import java.sql.*;
    import java.net.*;
    import java.io.*;
    When I run the existing(using java 1.3 and Jaxp1.1) code I have to include the files crimson.jar and jaxp.jar in the windows 2000 CLASSPATH and works fine.
    But when I compile and run it using J2SE 1.4 which has the built in support for the saxp, I thought that I don't have to specify any CLASSPATH for the new 1.4 so I don't specify any Classpath and it gives me the Microsoft "ClassFactory cannot find the requested class" error which means that even thought the new java 1.4 has the xml classes as libraries yet it still requies some .jar files to be listed in the CLASSPATH.
    If I am right then what path will work(i.e what jar class I need to add to the CLASSPATH).
    Thanks for your help.
    RA.

    Thanks for your reply,
    I think I didn't specify when the error occurs. The ClassFactory related error occurs when I run the program, it compiles without any error.
    From what I understood somewhere in the java 1.4 docs, that the new 1.4 has the xml libraries built in by default so one doesn't need to give the classpaths just like we don't give any CLASSPATH for using swing and many of the other java packages. That is one thing.
    Second thing is that I also tried to use the java_xml_pack-spring02 and java_xml_pack-summer02; but non of them include the crimson.jar and the jaxp.jar files in them which are the 2 .jar files that makes the program run fine when used under the java 1.3 with combination of the jaxp1.1(which was downloaded seperately and then the CLASSPATH for it was set.).
    Can you please help what .jar files do I need to use instead. I tried to use the ones that the new java_xml_pack-spring02 and java_xml_pack-summer02 has for the jaxp in them.
    Thanks again.
    RA

  • Merging multiple libraries

    On my C drive under Music- Itunes, I have multiple Itunes libraries.  There are some duplicates (don't get me started on that !).  There are regular music libraries and xml libraries.  How do I consolidate them all into one, so that when I un-install the update and reinstall 10.7 I can just have one library to transfer over?
    Thanks!

    Yes there are two ways. The first, with the paid version of iPhoto Library Manager, will retain the rolls, albums, keywords, etc. of the library that's being merged into the primary library.
    The other method is described by Brie Fly ,here. What you'll end up with is your second library in your primary library as a single roll. You'll have to then reorganize them into new rolls, albums, etc. But it will not bring in the thumbnail files as regular image files as other methods of importing into a library.

  • Oracle XML / XDK has nightmarishly bad performance

    Just wanted to share the results of some testing I've done recently. Thought you would all enjoy this information.
    [JAVA_HOME is JDK1.4.2_04]
    Oracle XML & XSLT Java library (would not run with -Xmx256m, OutOfMemory)
    [xdk_version_10.1.0.3.0_production which comes with JDev 10.1.2]
    $ time java -cp ".;../java;../../../../jdev/jdev1012_base/lib/xmlparserv2.jar" -Xmx512m TraxExamples wayne2
    real 189m9.400s
    user 0m0.010s
    sys 0m0.020s
    Saxon b8-6 Java library
    $ time java -cp ".;../java;../../saxon8.jar" -Xmx256m TraxExamples wayne2
    real 1m23.479s
    user 0m0.010s
    sys 0m0.010s
    Saxon 6-5-4 Java library
    $ time java -cp ".;../java;../../../saxon6-5-4/saxon.jar" -Xmx256m TraxExamples wayne2
    real 1m24.749s
    user 0m0.010s
    sys 0m0.020s
    Sun JDK 1.4.2_04 built-in XML and XSL libraries
    $ time java -cp ".;../java" -Xmx256m TraxExamples wayne2
    real 4m1.253s
    user 0m0.010s
    sys 0m0.020s
    Literally, the only difference is the XML libraries being used for the transformation. Same exact input xml & xslt files and Java code. And the time difference is 1.5min (Saxon) vs 189min (Oracle). Even the Sun JDK libraries are no slouch vs Oracle XDK at just over 4mins.
    We might be doing something in our XSLT that is particularly "bad" for Oracle, but I'm not sure of specifics, I just know these results show Oracle to be the wrong choice for our specific transformations and messages.
    (The test file is about 20mb XML and the XSLT is quite simple.)
    I'll try this experiment again when 10.1.3 is final and see if things are improved. For now, I'd advise anyone considering XDK to also evaluate other XSL engines!!

    Sure, here's the code, just modified TraxExamples.java from the Saxonb8-6 release (samples/java/TraxExamples.java) by swapping in my own XML and XSL files instead of the ones that are included with Saxon8.
    * Show the simplest possible transformation from File
    * to a File.
    public static void exampleSimple2(String sourceID, String xslID)
    throws TransformerException, TransformerConfigurationException {
    TransformerFactory tfactory = TransformerFactory.newInstance();
    Transformer transformer =
    tfactory.newTransformer(new StreamSource(xslID));
    System.out.println("TransformerFactory is: " + tfactory.getClass().getName());
    System.out.println("Transformer is: " + transformer.getClass().getName());
    transformer.transform(new StreamSource(sourceID),
    new StreamResult(new File("exampleSimple2.out")));
    I simply added my own call to this method using my own file strings and named it "wayne2" so I could call it directly.
    Then as you can see above, I simply changed the JAR files in my classpath before executing the tests. Otherwise, everything in the various tests is identical.
    I can probably post the XSLT and a sample XML file if there's enough interest. I don't see a simple way to attach a file to a message in this forum...

  • Merging multiple libraries on 3 external drives

    This is STILL driving me mad!
    I have 2 1TB drives and 1 500GB drive (all external) that have iTunes (.itl) and (xml) libraries on them. I also have a folder on another external drive I'd like to use too.
    I've tried various fixes to merge these into one library that when I open iTunes, all files are in that library instead of doing what I do now which is to "choose library" when holding down option key and opening iTunes.
    I thought I had it figured out the other night after I exported playlists and then imported them back into iTunes but, instead, it was copying files from one hard drive to another and I had to stop it because the drive was filling up. I'm still amazed that iTunes can't offer a simple "import playlist" feature that does so without copying the files.
    Bottom line? Is there a simple way to have ONE library from all my external drives? So that when I open iTunes I see all my files from all my hard drives right there in front of me? I've read countless posts about this and find that some answers do SOME of what I want but invariably, files get copied and I have to stop the whole thing.
    I would SO appreciate a simple, step by step, walk-me-through-it-like-I'm-an-8-year-old tutorial on this.
    I'm ready to just buy a 4TB drive and do the whole tedious copying of every file I have onto it and then importing them into iTunes. I know this would literally take days to do I am dreading the whole ordeal. I have to believe that somewhere, someone has had the very same issue and found a solution to it.
    Appreciate any and all help on this. Thank you.

    1) I believe I currently only have one library- is this the folder under Pictures called "iPhoto Library"? Is there anywhere I can check which library/ies are being displayed by iPhoto?
    No - if you are using iPhoto Library Manager the current library name is displayed - without it the only way is to right click (control click) on a photo and use the show file option to see the path or to launch iPhoto while depressing the option (alt) key and using teh select library option to choose a library
    2) Can I create new libraries, in order to split my sole existing library into smaller libraries, so that I can thereby shift some of my photos off onto the EHD? if so, how? Is there a limit to how many libraries can I have?
    There is no limit
    2) If the answer to 2) is no, is there any other way I can I move some of the photos onto the EHD?
    You can move the eitire library there or using iPhoto library manager any portions of it
    3) If I can and do split the library as per 2) can I then display images from more than one library simultaneously in iPhoto, or do I have to toggle between the separate libraries in some way?
    You can only view one library at a time - toggling is either launching with the option key or using IPLM
    4) If I can split the library and as per 2) and 3) above, can I store some of the libraries on my Powerbook hard drive and others separately on the EHD and still access both/all of them simultaneously in iPhoto?
    See previous answer - no simultaneous access
    5) Would there be any problems to 4) above if I access the EHD over a cable network rather than a direct connection?
    a direct ocnnection is best - wired ethernet is second and wireless is not advised
    As a further complication once I have created space on my hard disk I will be upgrading to iLife '08 and therefore a newer version of iPhoto, will this cause any complications with the above?
    Yes - each seperate library will have to be upgraded and they must all be the same version
    LN

Maybe you are looking for

  • Report to check new materials assigned to a particular plant

    Hi, Can you please help me with this issue. I want to know about any report or transaction which can give me the list of the materials which are assigned to a particular plant for a given period of time. i.e. I like to know whenever any new material

  • Issue in Update routine due to Data Package

    We have this peculiar situation. The scenario is .. We have to load data from ODS1 to ODS2. The data package size is 9980 while transferring data from ODS1 to ODS2. In the update rule we have some calculations and we rank the records based on these c

  • Links between Photoshop/Illustrator/InDesign CS2 files

    I create files in Photoshop CS2 and place them in InDesign CS2 files. Is there a way in Bridge (or elsewhere) to see which InDesign files a specific Photoshop file is linked to? Your help is appreciated. MJ

  • A low-level exception occured in: Importer RED (Importer)

    Help please!!! I am working on a Film project and I can no longer see my RED footage. The software updated to 6.0.5 and all of a sudden all my RED files say MEDIA PENDING. Then in the bottom right hand corner there is a red dot with a white X on it.

  • Running the program in background

    Hi Friends, Can you tell me how to enable a program to run in background, please. Thanks for the help. venu