XML C++ parser

I do a getNotations() on a DocumentType.
It doesn't return NULL, but when I do a getLength() on the resulting NamedNodeMap it returns 2^32 or -1 if signed (result should be of size_t which is unsigned).
The item(0) message crashes.
Can someone tell me if this is a known problem or how to fix it?

Please send the XML file for use to test. Basically, you have to defind endDocument callback function.

Similar Messages

  • XML SAX parser that support  LexicalHandler

    Hello,
    I'm looking for an XML SAX parser that support a LexicalHandler.
    I have xml files that are not well formed, ie: (&, <, >, etc...) characters within tags and I need to ignore them.
    Anyone have a link to some opensource library ??
    Thanks,
    Samir

    Don't waste your time. Using a LexicalHandler isn't going to help with parsing malformed XML. You should get the person who produced those files to replace them with correct XML.
    PC&#178;

  • Using XDKs XML Schema Parser

    I want to parse an XML schema(XSD file) and extract the types from it, ComplexType etc. Does anyone know to even begin this. Ive managed to parse and any XML file sucessfully returning all element types,names and values using the DOM parser but cant seem to find suitable methods in the oracle.xml.parser.schema library. I have started along these lines
    XSDBuilder bob =new XSDBuilder();
    XMLSchema sch = (XMLSchema)bob.build(url);
    where URL is string referencing the xsd file. But after that all I can get is the targetnamespace using
    String display = sch.getSchemaTargetNS();
    Any help greatly appreciated.

    Srinivas,
    Thanks for the reply. But that is not my requirement.Suppose I have a schema representing the following xml
    <Student>
    <Name>ABC</Name>
    <Class>XYZ</Class>
    <Course>PQR</Course>
    </Student>
    When I parse the XML Schema representing the above XML, it should give me a Java object that represents this XML structure. (Similar to Document object that is obtained when we an XML is parsed)
    Hope this is more clear.

  • XML C++ Parser in Solaris 2.6 could not parse with encoding UTF-16

    I tried to use UTF-16 encoding in the XML C++ Parser in Solaris 2.6.
    xmlinit() fails and returns error 201 - i.e.Unknown encoding. Though the ORACLE documentation has many encodings including UTF-16. Quite a few of these encodings are not working.
    Can any one help about UTF-16.
    Thanks
    Vijay Kumar

    Do you have Oracle's NLS data files?

  • XML C++ Parser in Solaris 2.6 could not parse with base64

    I am using XML C++ Parser (version 2.0.4) in Solaris 2.6
    I am using the following definition in dtd file to process binary data.
    <!ELEMENT Agent (base64)>
    I have two problem from xmlparse() function.
    1. This declaration always produces a warning:
    LPX-00103: warning: document structure does not match DTD.
    2. This causes the parser to fail completely if the corresponding data is empty. This field needs to be optional.
    Any ideas how to handle this situation.
    Thanks in advance
    Vijay Kumar

    You can either turn off validation or read section 3.2 of http://www.w3.org/TR/1998/REC-xml-19980210 on how to write a proper DTD.
    null

  • NullPointerException in XML Schema Parser

    I have run the XML Schema parser across the sample xml files without problems, but when
    I try to run it against my own xml/xsd combo
    I get a null pointer exception. :-(
    Unfortunately the xml file and schema are
    not something that I can share openly.
    I can use gdb to get a traceback, but without the source I cannot get much more info:
    % jdb
    Initializing jdb...
    run XSDSetSchema SASOMI.xsd GetAllTables.xmlrun XSDSetSchema SASOMI.xsd GetAllTables.xml
    >
    VM Started:
    Exception occurred: java.lang.NullPointerException (uncaught) thread="main", oracle.xml.parser.schema.XSDBuilder.parseComplexTypeContent(), line=1074, bci=383
    main[1] where
    [1] oracle.xml.parser.schema.XSDBuilder.parseComplexTypeContent (XSDBuilder.java:1074)
    [2] oracle.xml.parser.schema.XSDBuilder.parseComplexType (XSDBuilder.java:905)
    [3] oracle.xml.parser.schema.XSDBuilder.parseTopLevelElem (XSDBuilder.java:466)
    [4] oracle.xml.parser.schema.XSDBuilder.buildSchema (XSDBuilder.java:367)
    [5] oracle.xml.parser.schema.XSDBuilder.build (XSDBuilder.java:223)
    [6] oracle.xml.parser.schema.XSDBuilder.build (XSDBuilder.java:206)
    [7] XSDSetSchema.main (XSDSetSchema.java:24)
    main[1] ?
    Any ideas as to how to proceed?

    A quick update on this.
    In case anybody is inclined to look into
    this problem, I have a testcase you can
    try:
    http://www.realtime.net/~mburns/xml/critters/Hawk1.xml
    and corresponding schema: http://www.realtime.net/~mburns/xml/critters/Critters.xsd
    null

  • XML C++ Parser on Tru64 UNIX

    Are there any plans to provide a version of the XML C++ Parser on Compaq Tru64 UNIX?
    Thanks and regards
    ...colin

    We do not currently support Compaq Tru64 UNIX. We have not yet made any announcement regarding this platform.
    Oracle XML Team

  • Is There An XML Schema Parser From Oracle ?

    Is XML parser available from oracle different from Xml Schema parser ? Is schema parser available at all ? Where can I download it ? I tried a brief search and could not find ?
    Help appreciated.
    Thanx
    Soorya

    Thank you. I got it. I am trying to validate against an existing schema. But it always enters the "XMLParseException" handler.
    Could you direct me to the documents which gives some examples ? or a 3 lines to validate would be helpful.
    Thanx again.
    Soorya
    null

  • How to retain prolog in output xml after parse the input xml

    Hi,
    I am using com.bea.xml.XmlObject.Factory.parse(String) method to parse a xml.
    Input XML is having prolog defore the root node.But after parse the xml using the above method, the prolog is not there in the Output XML.
    can any one help me to retain the prolog in Output XML as it is in Input XML......
    Thanks in advance..
    Regards,
    Deba

    Hi,
    The Input XML is like
    <?xml version="1.0" encoding="UTF-8"?>
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
         <SOAP-ENV:Body>
         </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    But after parse the Output XML become
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
         <SOAP-ENV:Body>
         </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    But due to project requirement i want to keep the prolog(<?xml version="1.0" encoding="UTF-8"?>) as it is with Output XML after parse the xml.
    can i use any XMLOption while calling parse() method...Or any one have any otherway to retain prolog after parse ?
    please help me to get it .
    Thanks in advance.
    Regards,
    Deba

  • XML Custom Parser

    I am tryint to write a custom XML parser but I am having trouble accessing the Value fields. I need to use one of the Value Fields to determine which parser I need to use for my custom Class Objects. Below is my sample code and a sample XML Document that I am trying to Parse. I hope that it will reformat. If not then I am sorry for the format.
    public LibraryObject parse(InputStream p_file, ParserCallback p_callBack, Hashtable p_opts)
    throws oracle.ifs.common.IfsException
    XMLDocument xmlDoc = new XMLDocument();
    IfsXmlParser parser = new IfsXmlParser(m_Session);
    xmlDoc = parser.createDOM(p_file, false);
    NodeList list = xmlDoc.getElementsByTagName("Value");
    for (int i=0; i < list.getLength(); i++) {
    printNodeInfo(list.item(i));
    // This gives me a Type Casting error!
    // Here is the problem
    CharacterData temp = (CharacterData)list.item(i);
    <?xml version='1.0'?>
    <Records>
    <Record>
    <Field id='Remote_User' type='string' length='30'></Field>
    <Field id='Time_Stamp' type='string' length='30'><Value>02/01/01 02:03:13 PM</Value></Field>
    <Field id='Suspense_File' type='string' length='30'><Value>T:\teleform\bat\00000053\7H6CUO0000.tct</Value></Field>
    <Field id='Remote_Uid' type='number' length='10'><Value>-1</Value></Field>
    <Field id='Remote_Fax' type='string' length='30'><Value>Y087EY0000.TIF</Value></Field>
    <Field id='Form_Id' type='number' length='10'><Value>18567</Value></Field>
    <Field id='OrigPgSeq' type='string' length='128'><Value>0</Value></Field>
    <Field id='Orig_File' type='string' length='128'><Value>T:\teleform\bat\00000053\HDKHBA0000.tct</Value></Field>
    <Field id='SKFI_Zone_1' type='string' length='30'></Field>
    <Field id='First_Name' type='string' length='15'><Value>Jason</Value></Field>
    <Field id='Middle_Name' type='string' length='15'><Value>Paul</Value></Field>
    <Field id='Last_Name' type='string' length='30'><Value>Adkison</Value></Field>
    <Field id='Suffix' type='string' length='10'><Value>Mr</Value></Field>
    <Field id='Address_1' type='string' length='50'><Value>5532 Overlook NE</Value></Field>
    <Field id='Address_2' type='string' length='50'><Value>Albuquerque</Value></Field>
    <Field id='Zip_Code' type='string' length='15'><Value>87111</Value></Field>
    <Field id='Home_Phone' type='string' length='15'><Value>505-555-5555</Value></Field>
    <Field id='Work_Phone' type='string' length='15'><Value>505-555-5555</Value></Field>
    <Field id='E_Mail' type='string' length='20'><Value>[email protected]</Value></Field>
    </Record>
    </Records>

    Jason
    You are making incorrect assumptions regarding what is contained in the NodeList.
    The folllowing should explain
    public void doSomething(LibrarySession ifs)
    throws IfsException
    try {
    InputStream is = new FileInputStream("c:\\temp\\testfile.xml");
    IfsXmlParser parser = new IfsXmlParser(ifs);
    XMLDocument xmlDoc = parser.createDOM(is,false);
    xmlDoc.print(System.out);
    NodeList nodes = xmlDoc.getElementsByTagName("Value");
    for (int i=0;i<nodes.getLength();i++) {
    Node node = nodes.item(i);
    System.out.println("Node " + i + " is an instance of " + node.getClass());
    System.out.println("The value of the Text for the Node is " + node.getFirstChild().getNodeValue());
    } catch (java.io.IOException x) {
    throw new IfsException(9999,x);
    generates
    Transaction Started.
    <?xml version = '1.0'?>
    <Records>
    <Record>
    <Field id="Remote_User"
    type="string" length="30"/>
    <Field id="Time_Stamp" type="string" length="30">
    <Value>02/01/01 02:03:13 PM</Value>
    </Field>
    <Field id="Suspense_File" type="string" length="30">
    <Value>T:\teleform\bat\00000053\7H6CUO0000.tct</Value>
    </Field>
    <Field id="Remote_Uid" type="number" length="10">
    <Value>-1</Value>
    </Field>
    <Field id="Remote_Fax" type="string" length="30">
    <Value>Y087EY0000.TIF</Value>
    </Field>
    <Field id="Form_Id" type="number" length="10">
    <Value>18567</Value>
    </Field>
    <Field id="OrigPgSeq" type="string" length="128">
    <Value>0</Value>
    </Field>
    <Field id="Orig_File" type="string" length="128">
    <Value>T:\teleform\bat\00000053\HDKHBA0000.tct</Value>
    </Field>
    <Field id="SKFI_Zone_1" type="string" length="30"/>
    <Field id="First_Name" type="string" length="15">
    <Value>Jason</Value>
    </Field>
    <Field id="Middle_Name" type="string" length="15">
    <Value>Paul</Value>
    </Field>
    <Field id="Last_Name" type="string" length="30">
    <Value>Adkison</Value>
    </Field>
    <Field id="Suffix" type="string" length="10">
    <Value>Mr</Value>
    </Field>
    <Field id="Address_1" type="string" length="50">
    <Value>5532 Overlook NE</Value>
    </Field>
    <Field id="Address_2" type="string" length="50">
    <Value>Albuquerque</Value>
    </Field>
    <Field id="Zip_Code" type="string" length="15">
    <Value>87111</Value>
    </Field>
    <Field id="Home_Phone" type="string" length="15">
    <Value>505-555-5555</Value>
    </Field>
    <Field id="Work_Phone"
    type="string" length="15">
    <Value>505-555-5555</Value>
    </Field>
    <Field id="E_Mail" type="string" length="20">
    <Value>[email protected]
    </Value>
    </Field>
    </Record>
    </Records>
    Node 0 is an instance of class oracle.xml.parser.v2.XMLElement
    The value of the Text for the Node is 02/01/01 02:03:13 PM
    Node 1 is an instance of class oracle.xml.parser.v2.XMLElement
    The value of the Text for the Node is T:\teleform\bat\00000053\7H6CUO0000.tct
    Node 2 is an instance of class oracle.xml.parser.v2.XMLElement
    The value of the Text for the Node is -1
    Node 3 is an instance of class oracle.xml.parser.v2.XMLElement
    The value of the Text for the Node is Y087EY0000.TIF
    Node 4 is an instance of class oracle.xml.parser.v2.XMLElement
    The value of the Text for the Node is 18567
    Node 5 is an instance of class oracle.xml.parser.v2.XMLElement
    The value of the Text for the Node is 0
    Node 6 is an instance of class oracle.xml.parser.v2.XMLElement
    The value of the Text for the Node is T:\teleform\bat\00000053\HDKHBA0000.tct
    Node 7 is an instance of class oracle.xml.parser.v2.XMLElement
    The value of the Text for the Node is Jason
    Node 8 is an instance of class oracle.xml.parser.v2.XMLElement
    The value of the Text for the Node is Paul
    Nod e 9 is an instance of class oracle.xml.parser.v2.XMLElement
    The value of the Text for the Node is Adkison
    Node 10 is an instance of class oracle.xml.parser.v2.XMLElement
    The value of the Text for the Node is Mr
    Node 11 is an instance of class oracle.xml.parser.v2.XMLElement
    The value of the Text for the Node is 5532 Overlook NE
    Node 12 is an instance of class oracle.xml.parser.v2.XMLElement
    The value of the Text for the Node is Albuquerque
    Node 13 is an instance of class oracle.xml.parser.v2.XMLElement
    The value of the Text for the Node is 87111
    Node 14 is an instance of class oracle.xml.parser.v2.XMLElement
    The value of the Text for the Node is 505-555-5555
    Node 15 is an instance of class oracle.xml.parser.v2.XMLElement
    The value of the Text for the Node is 505-555-5555
    Node 16 is an instance of class oracle.xml.parser.v2.XMLElement
    The value of the Text for the Node is [email protected]
    Transaction Completed.
    Successful End of Program.
    null

  • Variable xml and parser

    I have a String containing xml code and i want to parse ths string
    but method parse don't accept string so it returns "no protocol : String ".
    Could you helpe please, it's very important.
    my code (simplified):
    String entete_xml="<?xml version=\"1.0\" encoding=\"UTF-8\"?>";
    String xml=entete_xml+"<aaa><bbb>aaaa</bbb><essai>reussi</essai></aaa>";
    DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
    DocumentBuilder builder = factory.newDocumentBuilder();
    doc = builder.parse(xml);

    builder.parse(new InputSource(new StringReader(xml)));

  • Trying to use XML SAX parser with JDK2 ...

    Hi,
    I'm pretty new to Java.
    I'm trying to write and use java sample using XML SAX parser. I try with XP and XML4J.
    Each time I compile it give me a error message like
    "SAX01.java:23: unreported exception java.lang.Exception; must be caught or declared to be
    thrown
    (new SAX01()).countBooks();
    ^
    Note: SAX01.java uses or overrides a deprecated API.
    Note: Recompile with -deprecation for details.
    1 error"
    For what I found, it seems that "deprecated" mean usage of old classes or methods. What should I do ?
    Wait for the XML parser to be rewrite ? ....
    Thank's
    Constant

    "SAX01.java:23: unreported exception
    java.lang.Exception; must be caught or declared to be
    thrown
    (new SAX01()).countBooks();
    ^Do this
    public static void main(String[] args) throws Exception {
    or do this
         try
                       first part of expression?(new SAX0()).countBooks();
         catch(Exception ex)     
              System.out.println("problem "+ ex);
    Note: SAX01.java uses or overrides a deprecated API.
    Note: Recompile with -deprecation for details.
    1 error"deprecation is just a warning if there are no errors elsewhere in your program it should compile fine, but if you want to find out how to change it do this:
    javac YourClassName.java -deprecation
    then look in the docs for an alternative.

  • Oracle XML DOM parser - attribute values are not printing on the screen ??

    Hi Everyone,
    I am just trying to use oracle DOM parser to paerse one of my xml file, java file can be compiled and run agianst a xml file, But I cannot see any attribute values printing on the screen..
    Appreciate if anyone can help, where I have gone wrong please?
    Below is the java file:
    // menna puthe DOMSample eka - duwanawa 19/12/2005
    import java.io.*;
    import java.net.*;
    import org.w3c.dom.*;
    import org.w3c.dom.Node;
    import oracle.xml.parser.v2.*;
    public class DOMSample {  //public class eka ***
    static public void main(String[] argv){  // main method eka ###
    try {
    if (argv.length != 1){
    // Must pass in the name of the XML file...
    System.err.println("Usage: java DOMSample filename");
    System.exit(1);
    // Get an instance of the parser
    DOMParser parser = new DOMParser();
    // Generate a URL from the filename.
    URL url = createURL(argv[0]);
    // Set various parser options: validation on,
    // warnings shown, error stream set to stderr.
    parser.setErrorStream(System.err);
    parser.showWarnings(true);
    // Parse the document.
    parser.parse(url);
    // Obtain the document.
    Document doc = parser.getDocument();
    // Print document elements
    System.out.print("The elements are: ");
    printElements(doc);
    // Print document element attributes
    System.out.println("The attributes of each element are: ");
    printElementAttributes(doc);
    catch (Exception e){
    System.out.println(e.toString());
    } // main method eka ###
    static void printElements(Document doc) {
    NodeList nl = doc.getElementsByTagName("*");
    Node n;
    for (int i=0; i<nl.getLength(); i++){
    n = nl.item(i);
    System.out.print(n.getNodeName() + " ");
    System.out.println();
    static void printElementAttributes(Document doc){
    NodeList nl = doc.getElementsByTagName("*");
    Element e;
    Node n;
    NamedNodeMap nnm;
    String attrname;
    String attrval;
    int i, len;
    len = nl.getLength();
    for (int j=0; j < len; j++){
    e = (Element)nl.item(j);
    System.out.println(e.getTagName() + ":");
    nnm = e.getAttributes();
    if (nnm != null){
    for (i=0; i<nnm.getLength(); i++){
    n = nnm.item(i);
    attrname = n.getNodeName();
    attrval = n.getNodeValue();
    System.out.print(" " + attrname + " = " + attrval);
    System.out.println();
    static URL createURL(String filename) {  // podi 3 Start
    URL url = null;
    try {
    url = new URL(filename);
    } catch (MalformedURLException ex) { /// BBBBBB
    try {
    File f = new File(filename);
    url = f.toURL();
    } catch (MalformedURLException e) {
    System.out.println("Cannot create URL for: " + filename);
    System.exit(0);
    } // BBBBBB
    return url;
    } // podi 3 End
    } //public class eka ***
    // End of program
    output comes as below:
    Isbn:
    Title:
    Price:
    Author:
    Message was edited by:
    chandanal

    Hi Chandanal,
    I edited your code slightly and I was able to get the correct output.
    I changed the following line:
    for (int j=0; j >< len; j++)to:
    for (int j=0; j < len; j++)I have included the complete source below:
    // menna puthe DOMSample eka - duwanawa 19/12/2005
    import java.io.*;
    import java.net.*;
    import org.w3c.dom.*;
    import org.w3c.dom.Node;
    import oracle.xml.parser.v2.*;
    public class DOMSample {
        //public class eka ***
        public static void main(String[] argv) {
            // main method eka ###
            try {
                if (argv.length != 1) {
                    // Must pass in the name of the XML file...
                    System.err.println("Usage: java DOMSample filename");
                    System.exit(1);
                // Get an instance of the parser
                DOMParser parser = new DOMParser();
                // Generate a URL from the filename.
                URL url = createURL(argv[0]);
                // Set various parser options: validation on,
                // warnings shown, error stream set to stderr.
                parser.setErrorStream(System.err);
                parser.showWarnings(true);
                // Parse the document.
                parser.parse(url);
                // Obtain the document.
                Document doc = parser.getDocument();
                // Print document elements
                System.out.print("The elements are: ");
                printElements(doc);
                // Print document element attributes
                System.out.println("The attributes of each element are: ");
                printElementAttributes(doc);
            } catch (Exception e) {
                System.out.println(e.toString());
        // main method eka ###
        static void printElements(Document doc) {
            NodeList nl = doc.getElementsByTagName("*");
            Node n;
            for (int i = 0; i < nl.getLength(); i++) {
                n = nl.item(i);
                System.out.print(n.getNodeName() + " ");
            System.out.println();
        static void printElementAttributes(Document doc) {
            NodeList nl = doc.getElementsByTagName("*");
            Element e;
            Node n;
            NamedNodeMap nnm;
            String attrname;
            String attrval;
            int i, len;
            len = nl.getLength();
            for (int j = 0; j < len; j++) {
                e = (Element)nl.item(j);
                System.out.println(e.getTagName() + ":");
                nnm = e.getAttributes();
                if (nnm != null) {
                    for (i = 0; i < nnm.getLength(); i++) {
                        n = nnm.item(i);
                        attrname = n.getNodeName();
                        attrval = n.getNodeValue();
                        System.out.print(" " + attrname + " = " + attrval);
                System.out.println();
        static URL createURL(String filename) {
            // podi 3 Start
            URL url = null;
            try {
                url = new URL(filename);
            } catch (MalformedURLException ex) {
                /// BBBBBB
                try {
                    File f = new File(filename);
                    url = f.toURL();
                } catch (MalformedURLException e) {
                    System.out.println("Cannot create URL for: " + filename);
                    System.exit(0);
            // BBBBBB
            return url;
        // podi 3 End
    } //public class eka ***-Blaise

  • XML - SAX Parsing Question

    Hi,
    I am parsing XML using SAX parser and fill the values into the HashTable ( like Key value pair ).. so i can get the vaues for a particular key using hash get function.
    For the following XML. There are 2 "subscriberNumber" attribute, one is under "sn:Subscriber" and the another is under "sn:SubscriberChange".
    I can able to put this values in hash table and when i print the Hash table it is printing as sn:subscriberNumber=[1234567890, 1234567890] .. But how will i know which one is from "sn:Subscriber" and which is from "sn:SubscriberChange"
    This is the XML :
    <sn:SubscriberNotification>
    <sn:notificationSubType>1120</sn:notificationSubType>
    <sn:Subscriber>
         <cng:PaymentType>PostPaid</cng:PaymentType>
         <sn:subscriberNumber>1234567890</sn:subscriberNumber>
    </sn:Subscriber>
    <sn:SubscriberChange>
         <sn:subscriberNumber>1234567890</sn:subscriberNumber>
    </sn:SubscriberChange>
    </sn:SubscriberNotification>
    Any suggestion and pointers are really helpful
    Thanks,
    -Raj..

    Try something like this:
    import java.util.Stack;
    import org.xml.sax.Attributes;
    import org.xml.sax.SAXException;
    import org.xml.sax.helpers.DefaultHandler;
    class MyHandler extends DefaultHandler {
        Stack openTags = new Stack();
        public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException {
            if (qName.equals("sn:subscriberNumber")) {
                String parentTag = (String)openTags.peek();
                System.out.println("Parent tag of this <sn:subscriberNumber> is : <" + parentTag + ">");
            openTags.push(qName);
        public void endElement(String uri, String localName, String qName) throws SAXException {
            openTags.pop();
    }Regards

  • Xml sax parser

    Hi all,
    I am newbie to xml. I am using SAX parser for parsing xml documents. I have to write a code which parses all types of xsd files(including which can contain inline , referenced or both). Can anyone help / guide me how to code a generic xsd parser??
    Thanks in advance,

    An XSD file is an XML file, so you can parse it using sax.
    See :
    http://java.sun.com/webservices/jaxp/dist/1.1/docs/tutorial/sax/2a_echo.html
    http://java.sun.com/webservices/jaxp/dist/1.1/docs/tutorial/sax/work/Echo02.java
    See also:
    http://www.oracle.com/technology/tech/xml/xdk/doc/production/java/doc/java/javadoc/oracle/xml/parser/schema/XMLSchema.html#getXMLSchemaNodeTable

  • Java +XML (SAX) Parser for Oracle 8.1.5 EE

    Hi there :)
    I am looking java classes for SAX to parse XML. I cannot find a valid parser, cause after downloaded from Oracle XDK for java, when i try to load this calasses i get a messages that i alot of classes connot be resolved.
    If somebody have valid classes on Ora 8.1.5 please send me mail.
    Adam

    Have i possibilities to using some javatypes in oracle java stored procedure if this class is not loaded into db?
    Cause i would like to create a java stored procedure to parse and insert some data from xml. I was thinking to pass xml file name as a parameter to my java procedure.
    I must use Oracle 8.1.5 with jdk 1.1.7, and the best parser for me is SAX.
    Please help.
    Have i possobilities to use class inside oracle, which are placed outside oracle?
    Something like classpath, where can i modify value (but classpath inside oracle)?

Maybe you are looking for