XML parser for commercial application.

J2ME doesn't have a built in XML parser, which is actually pretty surprising. I know several J2ME compatible parsers exist like kXML and Xparse, but they are both licensed under the GNU Public License. In using these, doesn't that mean the entire project has to be "open source" to honor the license? This doesn't seem to be a good idea for a commercial product, so can anyone recommend any other way to parse XML?
Thanks

How can we parse a XML file without giving the tagname(Element name for checking)?........

Similar Messages

  • Custom xml parser for EAR

    I am trying to specify a custom XML parser for my application to use as the default BEA one does not work with Apache Axis.
    I added the following to my weblogic-application.xml file:
    <xml>
    <parser-factory>
    <saxparser-factory>org.apache.xerces.jaxp.SAXParserFactoryImpl</saxparser-factory>
    <document-builder-factory>org.apache.xerces.jaxp.DocumentBuilderFactoryImpl</document-builder-factory>
    <transformer-factory>org.apache.xalan.processor.TransformerFactoryImpl</transformer-factory>
    </parser-factory>
    </xml>
    I also updated the Manifest file for my EAR to include the following:
    Class-Path: APP-INF/lib/xercesImpl.jar;APP-INF/lib/xml-apis.jar
    This is not working. Any ideas?
    Here is the docs i am following: http://edocs.beasys.com/wls/docs81/xml/xml_appscop.html#1075700

    Augie (guest) wrote:
    : XML Team --
    : I am a true beginner on XML, besides the basics, I am having
    : problem understanding how to use the parser. We have a
    project
    : that requires us to form XML docs using PL/SQL (print
    statements)
    : and send them via FTP to our clients. Our clients will then
    : parse the XML code that we put together and input the data
    into
    : their database. We are using XML as an EDI form.
    : I downloaded the parser, and tested, but cannot understand how
    to
    : actually do a parse on a .xml file. Something ran and
    returned,
    : but I cannot get a head/tail out of them.
    : My question is:
    : 1. How do I parse .xml files?
    I am not sure what parser or interface you are trying to use.
    Our command line ones will print the output of the parse to the
    screen. Our class files allow you to construct an in-memory DOM
    Tree representation that can be programaticly accessed. Review
    our samples to see how to do it.
    : 2. After parsing, is there a flatfile with all the data? where
    is
    : the parsed results?
    Not unless you use our print methods or pipe our commandline
    versions to the screen.
    : 3. Our client has Oracle 8.0.5, can the XML: Parser for C work
    : independently? How do you get parsed data into the database?
    All of our XML Parsers for C, C++, and Java can work
    independenmt of the database. However, only the Java version is
    currently configured to work with the XML SQL Utility (also
    available here) to get parsed data in and out of the database.
    Download it and take a look.
    Oracle XML Team
    http://technet.oracle.com
    Oracle Technology Network
    null

  • Upgrading Oracle XML Parser for Java v9.0.4 with Oracle Applications 11i

    Guys, I applied ATG.PF.H.RUP4. In postinstall steps it is mentioned,Upgrading Oracle XML Parser for Java v9.0.4 with Oracle Applications 11i(doc-271148.1)
    which says after applying patch 4038964 do the following--
    AUTOCONFIG ENABLED APPLICATIONS ENVIRONMENT
    If the Oracle E-Business Suite configuration files are maintained using the AutoConfig infrastructure, proceed with the following:
    1. Run the AutoConfig utility.
    2. Go to [JAVA_TOP].
    3. Run the unzip -l appsborg2.zip | grep 9.0.4 command. If there is a file named as .xdkjava_version_9.0.4.0.0_production, which indicates that XML Parser for Java v9.0.4 is installed correctly as part of appsborg2.zip. Otherwise, run ADAdmin to regenerate the appsborg2.zip file.
    4. Restart the application tier server processes such that the new version of Oracle XML Parser for Java will take effect.
    but actually the patch is already applied- 4038964. How do i verify if i need to do these steps or not.
    The xmlparserv2-904.zip file is already there in wrapper.classpath. of jserv.properties, forms.properties. So i think i dont need to do these steps.

    unzip -l appsborg2.zip | grep 9.0.4
    0 04-18-03 20:10 .xdkjava_version_9.0.4.0.0_production
    do i still need to do that step?No, you do not have to since "XML Parser for Java v9.0.4" is already installed as part of appsborg2.zip

  • 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 Parser for C++ v2 on HP-UX 11.00

    Hi,
    We are using XML parser for C++ v2(2.0.1) on HP-UX 11.00.Oracle version is 8.0.5. Our application is dumping core .analyzing the core gives pointers to Oracle function calls. We found that some datatypes in parser's oratypes.h (e.g ub4,sb4)were not in consistence with datatypes in native Oracle's oratypes.h.how to solve this problem? is there any linkage or Includepath order recommended to solve this? let me know if u know any solution/workaround
    thanx in advance
    vijayanand
    null

    We're working on getting this fixed. Thanks for reporting it.

  • Loading XML parser for PL/SQL

    I am working my way thru 'Building Oracle XML Applications' by Steve Muench.
    I am getting a problem when I try to install the XML parser for PL/SQL
    The following errors occur when I try to do
    loadjava -v -r -u xmlbook/xmlbook xmlparserv2.jar
    initialization complete
    loading : oracle/xml/parser/v2/XMLByteReader
    creating : oracle/xml/parser/v2/XMLByteReader
    Error while creating class oracle/xml/parser/v2/XMLByteReader
    ORA-29545: badly formed class: User has attempted to load a class (oracle.xml.parser.v2.XMLByteReader) into a restricted package. Permission can be granted using dbms_java.grant_permission(<user>, LoadClassInPackage...
    loading : oracle/xml/parser/v2/PrintDriver
    creating : oracle/xml/parser/v2/PrintDriver
    Error while creating class oracle/xml/parser/v2/PrintDriver
    ORA-29545: badly formed class: User has attempted to load a class (oracle.xml.parser.v2.PrintDriver) into a restricted package. Permission can be granted using dbms_java.grant_permission(<user>, LoadClassInPackage...
    resolving: oracle/xml/parser/v2/PrintDriver
    Error while resolving class oracle/xml/parser/v2/PrintDriver
    ORA-04043: object /a065289c_PrintDriver does not exist
    resolving: org/w3c/dom/html/HTMLAnchorElement
    Error while resolving class org/w3c/dom/html/HTMLAnchorElement
    ORA-04043: object /564607d_HTMLAnchorElement does not exist
    About 20 classes get loaded correctly. All the rest get ORA-29545 or ORA-04043 errors.
    I expect the ORA-04043 errors are a result of the earlier errors.
    The documentation seems to indicate that there is no need to do
    dbms_java.grant_permission to load into your own schema.
    I have NT4 (sp6)
    Oracle 8.1.7
    xmlparserv2.jar dated 24/8/2001 17:01 size 1,177,259
    xmlparserv2_2027.jar gives the same errors.
    Any help would be appreciated.
    null

    Was it definitely xmlparsev2.jar that you had to load?
    I recently started going through some of these examples as well and found that the standard xml parser was there but that I needed to load the xml parser for PL/SQL. I did this using loadjava from a subdirectory within the xdk directory and everything worked fine.

  • XML Parser for PL/SQL and related issues

    I need to have further information about some of the following
    issues and XML features and make a determination useful for
    evaluation and recommendation:
    ISSUES
    1) Is there a maximum size for an XML document to provide data
    for PL/SQL(or SQL) across tables, provided that no CLOB are used?
    2) How about from Oracle to an XML document ?
    3) Is there a ratio between XML document size and main memory and
    SGA size. What are Oracle's recommendations /
    4) Can the Oracle Application Server run on a DHCP NT server when
    using XML parsing ? Is it NT Service Pack 3 and 4 compatible ?
    5) How parsers can interact with one another or related tools ?
    For example, how the XML parser for c/c++ could be useful when
    using Pro*C/C++ (programmer 2000) or OCI interfaces ? In other
    words, what is the business logic in using these tools ?
    null

    Anthony D. Noriega (guest) wrote:
    : I need to have further information about some of the following
    : issues and XML features and make a determination useful for
    : evaluation and recommendation:
    : ISSUES
    : 1) Is there a maximum size for an XML document to provide data
    : for PL/SQL(or SQL) across tables, provided that no CLOB are
    used?
    The limit should be what can be inserted into an object view.
    : 2) How about from Oracle to an XML document ?
    The limit should be what can be retrieved from an object view.
    : 3) Is there a ratio between XML document size and main memory
    :and SGA size. What are Oracle's recommendations /
    Not directly due to the relationship between XML metadata and
    data not being constrained.
    : 4) Can the Oracle Application Server run on a DHCP NT server
    : when using XML parsing ?
    If it can run a JavaVM with the correct permissions there are no
    other special requirements.
    :Is it NT Service Pack 3 and 4 compatible ?
    No special requirements here.
    : 5) How parsers can interact with one another or related tools ?
    : For example, how the XML parser for c/c++ could be useful when
    : using Pro*C/C++ (programmer 2000) or OCI interfaces ? In
    other
    : words, what is the business logic in using these tools ?
    Not really sure of your question. The XML components are useful
    in any application where I am processing documents or data with
    an XML structure. The choice to use XML can be based on quite a
    range of requirements due to its declarative syntax and open
    standards. If you give me a specific application, I can perhaps
    be more helpful.
    Oracle XML Team
    http://technet.oracle.com
    Oracle Technology Network
    null

  • Oracle XML Parser for Java

    Does the latest release of the Oracle XML Parser for Java support JDK 1.2.2?
    I have an application which makes use of the XML Parser which runs fine with JDK 1.1.7.
    But the application crashes with the use of JDK 1.2.2 .
    Any insight into this is appreciated.
    null

    The Oracle XSQL Servlet makes extensive use of the Oracle XML Parser for Java V2 as well as its XSLT Engine and runs without issue under 1.1.8 and 1.2.2.

  • Testing XML Parser for C (v1.0.1 & v2)

    Hi,
    I had tested the Oracle XML Parser for C (v1.0.1.0.0) and found out that it was bundled with the 8i database. Is this a requirement of the parser?
    Now I want to test version 2 of the same parser. Can you tell me the main differences between the two versions? Also we are using Oracle 8.1.5i at our site, can we run the v2 parser with 8.1.5i?
    My last question is when will the commercial product (both v1.0.1 and v2) be available?
    Thanks,
    Francis

    Hi,
    Are you sure I can use the downloaded XML Parser for C v2 on Oracle 7.3 and Oracle 8? Because in the lib directory there are the following libraries:
    libcore8.a, libnls8.a, libxml8.a, libxmlc8.a
    I think they are for Oracle 8i instead. I tried to compiled the Oracle XML Parser for C v1.0.0.0.1 before on Oracle 7.3 and it failed because of libraries problem. How can I get the libraries required for Oracle 7.3 and Oracle 8? Please verify.
    Many thanks!
    Francis

  • XML parser for Java setup

    I download the XML Parser for Java 3.2.1 Release from the IBM site and I have JDK1.3 installed on my Windows 2000 PC. I've placed the files "xerces.jar" and "xalan.jar" in the location specified by the extensions mechanism (i.e "C:\JDK1.3\jre\lib\ext\").
    I downloaded an example where java uses XML but I get an error because it fails to import the following class:
    import com.ibm.xml.parser.Parser;
    Also in another application the same thing happens with this class:
    import com.ibm.xml.parser.TXDocument;
    If I remove the xerces and xalan JAR files from the directory mentioned above I get move errors so I presume I have the files in the right location. Do I need to place any other files in that DIR other than the xerces and xalan JAR files?
    Any help greatly appreciated!

    Not sure if you solved your problem.
    I think Xerces was handed over to the Apache organisation by IBM and the package names were then changed so that com.ibm would have become org.apache or whatever. At a guess nobody got round to changing the examples.

  • XML Parser for Java version 2.0.2.9

    I can no longer find the XML parser for Java (version 2.0.2.9) for Sun Solaris and Oracle version 8.1.7.3. This would be the file xmlparserv2.jar for parser version 2.0.2.9
    This file support the latest Oracle Applications work flow version and so is necessary but does not seem to be available. All notes on Metalink point to Techweb.
    Thanks for your help. -Erik Stromholt

    This is covered by patch for bug 2199206. Thanks

  • XML PARSER for JAVA V9.0.4 version check

    Hi,
    One of post patch activity for RUP7 in 11i(11.5.10.2) is UPGRADE ORACLE XML Parser for java V9.0.4 version (required). When I checked few things it's confirm that I'm already in java V9.0.4 version?
    Is there any script/doc where I can look and check "XML PARSER for JAVA V9.0.4 version in Oracle E-business Suite 11.5.10.2?
    thanks

    Hi,
    Please see these docs.
    Upgrading Oracle XML Parser v9.0.4 with Oracle Applications 11i [ID 271148.1]
    How To Setup Oracle XML parser with PL/SQL with Oracle Applications 11i [ID 160474.1]
    Oracle XML Gateway Troubleshooting Guide [ID 167474.1]
    XML Gateway Setup Testing and Diagnostics [ID 337428.1]
    Thanks,
    Hussein

  • JAXP support in XML Parser for Java

    Was curious if there were any plans to support JAXP in the XML Parser for Java. Sun's licensing terms was a serious issue of contention when Apache was trying to implement the spec and finally got an exemption from Sun to some of the terms.

    The value of JAXP is that it allows one to
    freely switch parsers without changing any code. I have an application that uses the JAXP interfaces to create my DOM parser. I am using the Xerces-J parser now. I wanted to try Oracle's parser to see how it compares. To my great surprise, I found the Oracle DOM parser doesn't support JAXP. Because of this I have to CHANGE my code to user the Oracle DOM parser. Thus defeating the purpose of coding my app to the JAXP interface.
    I have to add that I am surprised to see that a developer of Oracle's XML parser has to even ask what the value of JAXP is. I would think that being a parser developer, you would know and understand the value of JAXP.
    I would like to know why Oracle has chosen not to support JAXP? Or have you just not even thought about whether or not you should support it.
    Thanks,
    Keith Jensen
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Steven Muench ([email protected]):
    What is the perceived value in implementing the JAXP standard? We already implement SAX, have plans for SAX2, and are working with other XSLT vendors on the TRAX api for XSLT processors.
    If there is strong customer demand, we'll clearly consider it, but at the moment that has not been the case.<HR></BLOCKQUOTE>
    null

  • XDK10g supports XML parsing for PL/SQL?

    Hi,
    I have a couple of questions here:
    1) Does XDK10g support XML parsing for PL/SQL? (More specifically, I need to use xmlDom and xmlParser)
    2) Does Oracle 10g come installed with XDK 10g? If not, does it even need to install XDK 10g to use xmlDom and xmlParser?
    Thank you all and have a nice day.
    Kelvin
    Edited by: user9518458 on Oct 30, 2008 1:31 AM

    Well, if you are talking 10.2, then
    "The (Java-based) Oracle XDK PL/SQL packages XMLDOM, XMLPARSER, and XSL_PROCESSOR have been deprecated in favor of the (C-based) Oracle XML DB packages DBMS_XMLDOM, DBMS_XMLPARSER, and DBMX_XSLPROCESSOR. Synonyms have been provided to smooth the migration of legacy applications" (http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14259/whatsnew.htm#CHDCAICE)
    Whether that is a default install option or one that requires selecting I can't say, but it is available without needing to additionally use the XDK. So odds are you can do whatever you need in PL/SQL using those DBMS_ packages (or XMLTYPE based variables if the need arises).

  • Oracle 8i XML Parser for PL/SQL

    Hi,
    Using "Building Oracle XML Applications" by O'reilly, I am
    trying to get XML working on an Oracle 8i database. I have done the following steps:
    1) verify oracle.xml.parser.v2.DOMParser class is running;
    select substr(dbms_java.longname(object_name),1,30) as class, status
    from all_objects
    where object_type = 'JAVA CLASS'
    and object_name = dbms_java.shortname('oracle/xml/parser/v2/DOMParser');
    CLASS STATUS
    oracle/xml/parser/v2/DOMParser VALID
    OK
    2) Check for Oracle XML Parser for PL/SQL is installed:
    DESCRIBE xmlparser
    ERROR:
    ORA-04043: object xmlparser does not exist
    So apparently i need to download the Oracle XML Parser for PL/SQL.
    I cannot locate this download on the oracle site for version 8i (8.1.7.4 specifically).
    Any helpers out there?

    You can use the latest version.

Maybe you are looking for

  • Display data in a block

    Hi, I need to display data from different queries on the same block. I have a cursor whose data is displayed in rows from 1 to 7 (for e.g.) in the same block. I will include a different cursor in the same block whose data is to be displayed starting

  • Feature request: Switching Safari windows as in a "stack"

    BEFORE you answer, please know that I DID know that Apple believes the document switching IS like a stack of papers, but it's not. To make it work for the most common usage (two documents) it was "thgought" as a stack, but changed (at last time?) to

  • How to go to EndPoint

    Hi All, Please let me know how to go to display end point in XI from SAP Logon. I have to change old URL with new URL. Not sure for change URLs at EndPoint. Is it correct way or not. Please correct me if am wrong. Thanks, Subbu.

  • Rac node evicted and asm related

    Hi friends I have few doubts in rac environment 1.In 2 node rac while adding datafile to tablespace if you forget to metion '+'then what will happen whether it is going to be create or it throws an error if it creates where exactly located and other

  • Photoshop CS5 - colour settings in Print menu not working after update Mac OSX maverick

    After upgrading to Maverick OSX on the iMac printing from CS5 via Epson R3880 is not working correctly. In Print Settings menu the drop downs for Colour and Colour Settings are greyed out. I already re-installed PS and installed the new drivers from