XML Parser for PLSQL and BIG5/UTF-8

I'm trying store data in traditional chinese submitted by IE5 (through oXMLHttpRequest.send() and javascript), I tried both 'encoding="BIG5"' and 'encoding="UTF-8"'.
It seems that the parser ignore all characters that are not ascii regardless of their encoding.
Any thoughts will be much appreciated
procedure UpdateXMLProc(xmlSrc varchar2)
is
p xmlparser.parser;
doc xmldom.DOMDocument;
nlist xmldom.DOMNodeList;
list_len pls_integer;
node1 xmldom.DOMNode;
node2 xmldom.DOMNode;
node3 xmldom.DOMNode;
begin
p := xmlparser.newParser;
xmlparser.parseBuffer(p, xmlSrc);
doc := xmlparser.getDocument(p);
nlist := xmldom.getElementsByTagName(doc, 'ROW');
list_len := xmldom.getLength(nlist);
-- loop through elements
for j in 0..list_len-1 loop
node1 := xmldom.item(nlist, j);
-- get primary key values
node2 := xmldom.getFirstChild(node1);
loop
-- get the text node and if not null get value
node3 := xmldom.getFirstChild(node2);
if not xmldom.isNull(node3) then
-- THIS OUTPUT MAY ALTER CHARACTER IF IT'S NOT ASCII
htp.p(xmldom.getNodeValue(node3));
end if;
-- get next field
node2 := xmldom.getNextSibling(node2);
exit when (xmldom.isNull(node2));
end loop;
end loop;
-- THIS OUTPUT WILL BE IN THE SAME ENCODING AS THE ORIGINAL
htp.p(xmlSrc);
end;
null

I just ran the initjvm.sql,initdbj.sql and
initsqlj.sql.
Still getting the error.
Please help!!!!
Thanks
Jay
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Jay ([email protected]):
I have Oracle8i Release 8.1.5.0.0 - ProductionWith the Java option
PL/SQL Release 8.1.5.0.0 - Production version
runnig in sun sparc server.
While I am loading Oracle XML Parser for PLSQL(using plxmlparser_V1_0_1.tar.gz) have a problem. When I try to load the xmlparser.jar class and I get the
following messages:
initialization complete
Error while accessing MD5 table
ORA-00942: table or view does not exist
loading : org/w3c/dom/DOMImplementation
Error while loading org/w3c/dom/DOMImplementation
ORA-04068: existing state of packages has been discarded
ORA-04063: package body "TEST.LOADLOBS" has errors
ORA-06508: PL/SQL: could not find program unit being called
ORA-06512: at line 1
creating : org/w3c/dom/DOMImplementation
Error while creating class org/w3c/dom/DOMImplementation
ORA-00406: COMPATIBLE parameter needs to be 8.1.0.0.0 or greater
Error while accessing MD5 table
ORA-00942: table or view does not exist
loading : org/w3c/dom/html/HTMLDivElement
Error while loading org/w3c/dom/html/HTMLDivElement
ORA-04068: existing state of packages has been discarded
ORA-04063: package body "TEST.LOADLOBS" has errors
ORA-06508: PL/SQL: could not find program unit being called
and so on.
Could anyone please tell me if I need to do any pre-installation steps.
Thanks
Jay<HR></BLOCKQUOTE>
null

Similar Messages

  • Installation of xml parser for PLSQL

    Hi,
    I hv installed oracle 8.1.7 on windows with
    jserver.
    and I did following step to install xml parser for PLSQL.
    1. loadjava -user usernmae/password@connectstr -r -v xmlparserv2.jar
    2. loadjava -user usernmae/password@connectstr -r -v xmlplsql.jar
    loading both jar files gives errors like
    resolving: oracle/xml/parser/plsql/xmlparsercover
    Error while computing shortname of oracle/xml/parser/plsql/xmlparsercover
    ORA-29540 - class oracle/aurora/rdbms/dbmsjava does not exists
    ORA-06512: in admin.dbms_java line o
    ORA-06512: IN LINE 1
    i am getting this error for all class..
    after thjat i run oracle_home/xdk/plsql/parser/bin/load.sql
    and then when i try to run demo example
    ( oracle_home/xdk/plsql/demo/ )
    then its giving following error..
    ORA-29541: class ADMIN.oracle/xml/parser/plsql/XMLParserCover could not be
    resolved
    ORA-06512: at "ADMIN.XMLPARSERCOVER", line 0
    ORA-06512: at "ADMIN.XMLPARSER", line 57
    ORA-06512: at "ADMIN.DOMSAMPLE", line 72
    ORA-06512: at line 1
    Does anyone has idea about these errors..
    need help urgently..
    Thanx
    Mehul

    Geoff Hicks (guest) wrote:
    : Problems being experienced trying to install the XML parser for
    : PL/SQL (zip file plxmlparser_v1_0_0_1_tar.gz).
    : We are on Oracle8i (8.1.5.0.0) (with JServer).
    : On installing the Oracle XML parser for PL/SQL the following
    : errors appear having run the loadjava command line tool for
    : xmlparser.jar:-
    : loading : META-INF/MANIFEST.MF
    : creating : META-INF/MANIFEST.MF
    : Error while creating resource META-INF/MANIFEST.MF
    : ORA-29547: Java system class not available:
    : oracle/aurora/rdbms/Compiler
    : loading : xmlparser_1.0.1.4_production
    : creating : xmlparser_1.0.1.4_production
    : Error while creating resource xmlparser_1.0.1.4_production
    : ORA-29547: Java system class not available:
    : oracle/aurora/rdbms/Compiler
    : Lots of the following resolver errors are returned:-
    : resolver :
    : Error while resolving class org/w3c/dom/html/HTMLDivElement
    : ORA-00904: invalid column name
    It looks like you have not initialized JServer in your 8.1.5
    database. This needs to be done first.
    Oracle XML Team
    http://technet.oracle.com
    Oracle Technology Network
    null

  • Can't use UTF-16 encoding with XML Parser for Java v2.

    This is my XML Document:
    <?xml version="1.0" encoding="UTF-16" ?>
    <Content>
    <Title>Documento de Prueba de gestin de contenidos.</Title>
    <Creator>Roberto P     rez Lita</Creator>
    </Content>
    This is the way in which i parse de document:
    DOMParser parser=new DOMParser();
    parser.setPreserveWhitespace(true);
    parser.setErrorStream(System.err);
    parser.setValidationMode(false);
    parser.showWarnings(true);
    parser.parse(
    new FileInputStream(new File("PruebaA3Ingles.xml")));
    I've got this error:
    XML-0231 : (Error) Encoding 'UTF-16' is not currently supported.
    I am using the XML Parser for Java v2_0_2_5 and I am a little
    confused because the documentation says that the UTF-16 encoding
    is supported in this version of the Parser.
    Does anybody know how can I parse documents containing spanish
    accents?
    Thanks in advance.
    Roberto P     rez.
    null

    Oracle just uploaded a new release of V2 Parser. It should
    support UTF-16.
    Yet, other utilities still have some problems with UTF-16
    encoding. Seems we just
    have to wait this one out.
    BTW, I'm trying to use Japanese. We, also, have some problems
    with JServer.
    Roberto P     rez (guest) wrote:
    : This is my XML Document:
    : <?xml version="1.0" encoding="UTF-16" ?>
    : <Content>
    : <Title>Documento de Prueba de gestin de contenidos.</Title>
    : <Creator>Roberto P     rez Lita</Creator>
    : </Content>
    : This is the way in which i parse de document:
    : DOMParser parser=new DOMParser();
    : parser.setPreserveWhitespace(true);
    : parser.setErrorStream(System.err);
    : parser.setValidationMode(false);
    : parser.showWarnings(true);
    : parser.parse(
    : new FileInputStream(new File("PruebaA3Ingles.xml")));
    : I've got this error:
    : XML-0231 : (Error) Encoding 'UTF-16' is not currently supported.
    : I am using the XML Parser for Java v2_0_2_5 and I am a little
    : confused because the documentation says that the UTF-16
    encoding
    : is supported in this version of the Parser.
    : Does anybody know how can I parse documents containing spanish
    : accents?
    : Thanks in advance.
    : Roberto P     rez.
    null

  • Installation of XML parser for PL/SQL, and XML_SQL

    I have just migrated a 7.3.4.4 database to 8.1.7. Please could you tell me what I need to install (and where I would find the software and installation instructions) so that we can use the XML parser for PL/SQL and also XML_SQL. (NB Do I need to install java - and if so, again where would I find the installation software and instructions). Many Thanks.
    Jenny

    The XML Parser for Java comes preinstalled, as does the XML SQL utility.
    Assuming your 8.1.7 Oracle home is represented by ?, you need to:
    [list=1]
    [*]cd ?/xdk/lib
    [*]loadjava -v -r -u user/password xmlplsql.jar
    [*]cd ?/xdk/plsql/parser/bin
    [*]sqlplus user/password @load
    [list]

  • Oracle8.1.5 and XML parser for PL/SQL

    Hi,
    Does XML parser for PL/SQL work with Oracle 8.1.5? Did any one install the
    same and if so what are steps to follow? I ran initjvm.sql to install
    JServer and then tried to load jar files using loadjava, but it's giving
    error. It's working fine with Oracle8.1.6.
    Any idea?
    Thanks,
    Jayanta
    null

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Jayanta Ghosh ([email protected]):
    Hi,
    Does XML parser for PL/SQL work with Oracle 8.1.5? Did any one install the
    same and if so what are steps to follow? I ran initjvm.sql to install
    JServer and then tried to load jar files using loadjava, but it's giving
    error. It's working fine with Oracle8.1.6.
    Any idea?
    Thanks,
    Jayanta<HR></BLOCKQUOTE>
    Oracle XML Parser has differents distributions for 8.1.5 and 8.1.6 databases, try the correct version, then runs the oraclexmlsqlload.csh from the lib directory of XSU distribution.
    Best regards, Marcelo.
    null

  • 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

  • XDK for PL/SQL and XML Parser for PL/SQL

    Is there a difference between the terms:
    XDK for PL/SQL
    and
    XML Parser for PL/SQL V2
    or are they the same thing...?
    cheers,

    XDK stands for XML Developer's Kit. There are Oracle XDKs for Java, C, C++, and PL/SQL. These development kits contain building blocks for reading, manipulating, transforming, and viewing XML documents.
    XML Parser is one component of XDK. Other components of XDK are
    XSLT Processor, XSU, XSQL Servlet, XML Class Generator, etc.
    For more information on XDK and its components please refer to:
    http://otn.oracle.com/docs/products/oracle9i/doc_library/release2/appdev.920/a96621/adx01bas.htm#1656
    Regards,
    Anupama
    http://otn.oracle.com/sample_code/content.html

  • XML Parsing for one xml tag value we have issues

    Hi All
    We are getting XML file from External System using XML parser to decode and update Oracle Tables.
    It's working ok for all fields for one field it's working i.e we are not getting any Value
    l_n dbms_xmldom.DOMNode;
    v_service_level VARCHAR2(240);
    Begin
    l_clob := p_clob;
    BEGIN
    -- Create a parser.
    l_parser := dbms_xmlparser.newParser;
    -- Parse the document and create a new DOM document.
    dbms_xmlparser.parseClob(l_parser, l_clob);
    l_doc := dbms_xmlparser.getDocument(l_parser);
    -- Free resources associated with the CLOB and Parser now they are needed.
    dbms_xmlparser.freeParser(l_parser);
    -- Get a list of all the nodes in the document
    l_nl := dbms_xslprocessor.selectNodes(dbms_xmldom.makeNode(l_doc), '/response');
    -- Loop through the list and create a new record
    FOR rec IN 0 .. dbms_xmldom.getLength(l_nl) - 1 LOOP
    l_n := dbms_xmldom.item(l_nl, rec);
    -- assign values to the elements of the collection.
    dbms_xslprocessor.valueOf(l_n,'awb/text()', v_awb);
    dbms_xslprocessor.valueOf(l_n,'carrier/text()', v_carrier);
    dbms_xslprocessor.valueOf(l_n,'pieces/text()', v_pieces);
    dbms_xslprocessor.valueOf(l_n,'weight/text()', v_weight);
    dbms_xslprocessor.valueOf(l_n,'weight_uom/text()', v_weight_uom);
    dbms_xslprocessor.valueOf(l_n,'price/text()', v_price);
    dbms_xslprocessor.valueOf(l_n,'code_currency/text()', v_code_currency);
    dbms_xslprocessor.valueOf(l_n,'date_pickup/text()', v_date_pickup);
    dbms_xslprocessor.valueOf(l_n,'account/text()', v_account);
    dbms_xslprocessor.valueOf(l_n,'reference/text()', v_reference);
    dbms_xslprocessor.valueOf(l_n,'instruction/text()', v_instruction);
    dbms_xslprocessor.valueOf(l_n,'delivery_condition/text()', v_freight_terms);
    dbms_xslprocessor.valueOf(l_n,'service_level/text()', v_service_level);
    end;
    for v_service_level we are having issues though external system is sending value but we are not getting any value
    If any fix for this it will be of great help
    Thanks
    Kamalakar.G

    Thanks for the details.
    The following works for me :
    DECLARE
    l_clob clob := '<?xml version="1.0" encoding="UTF-8" ?>
    <response>
    <status>OK</status>
    <code_shipment>9387073</code_shipment>
    <reference>22263480</reference>
    <awb>GE466503605NL</awb>
    <carrier>TNT</carrier>
    <service_level>STANDARD</service_level>
    <pieces>1</pieces>
    <weight>0.32</weight>
    <weight_uom>kg</weight_uom>
    <delivery_condition>CPT</delivery_condition>
    <price>4.92</price>
    <code_currency>EUR</code_currency>
    <date_delivery>17-Feb-2011</date_delivery>
    <time_delivery>13:41</time_delivery>
    <accepted_by>HEEZEN</accepted_by>
    <date_pickup>29-Mar-2011</date_pickup>
    <status_shipment>PLAN</status_shipment>
    <tracking_url>
    <form ACTION="http://www.tnt.com/webtracker/tracking.do?respLang=en&amp;respCountry=US&amp;genericSiteIdent=" target="_new" METHOD="POST">
    <input name="cons" type="hidden" value="GE466503605NL" />
    <INPUT TYPE="hidden" NAME="page" VALUE="0" />
    <INPUT TYPE="hidden" NAME="resplang" VALUE="EN" />
    <INPUT TYPE="hidden" NAME="plazakey" VALUE="" />
    <INPUT TYPE="hidden" NAME="SaformName" VALUE="TRACKER__Finput_html" />
    <INPUT type="submit" name="track" value="Track" />
    </form>
    </tracking_url>
    <date_scan />
    <time_scan />
    <type1 />
    <type2 />
    <scan_location1 />
    <scan_location2 />
    <scan_text />
    <scanned_by />
    <shipment_package>
    <sequence>1</sequence>
    <awb />
    <date_delivery>17-Feb-2011</date_delivery>
    <time_delivery>13:41</time_delivery>
    <accepted_by>HEEZEN</accepted_by>
    <reference />
    </shipment_package>
    </response>';
    l_n dbms_xmldom.DOMNode;
    l_nl dbms_xmldom.DOMNodeList;
    l_parser dbms_xmlparser.Parser;
    l_doc dbms_xmldom.DOMDocument;
    v_awb VARCHAR2(240);
    v_carrier VARCHAR2(240);
    v_pieces VARCHAR2(240);
    v_weight VARCHAR2(240);
    v_weight_uom VARCHAR2(240);
    v_price VARCHAR2(240);
    v_code_currency VARCHAR2(240);
    v_date_pickup VARCHAR2(240);
    v_account VARCHAR2(240);
    v_reference VARCHAR2(240);
    v_instruction VARCHAR2(240);
    v_freight_terms VARCHAR2(240);
    v_service_level VARCHAR2(240);
    BEGIN
    -- Create a parser.
    l_parser := dbms_xmlparser.newParser;
    -- Parse the document and create a new DOM document.
    dbms_xmlparser.parseClob(l_parser, l_clob);
    l_doc := dbms_xmlparser.getDocument(l_parser);
    -- Free resources associated with the CLOB and Parser now they are needed.
    dbms_xmlparser.freeParser(l_parser);
    -- Get a list of all the nodes in the document
    l_nl := dbms_xslprocessor.selectNodes(dbms_xmldom.makeNode(l_doc), '/response');
    -- Loop through the list and create a new record
    FOR rec IN 0 .. dbms_xmldom.getLength(l_nl) - 1 LOOP
      l_n := dbms_xmldom.item(l_nl, rec);
      -- assign values to the elements of the collection.
      dbms_xslprocessor.valueOf(l_n,'awb/text()', v_awb);
      dbms_xslprocessor.valueOf(l_n,'carrier/text()', v_carrier);
      dbms_xslprocessor.valueOf(l_n,'pieces/text()', v_pieces);
      dbms_xslprocessor.valueOf(l_n,'weight/text()', v_weight);
      dbms_xslprocessor.valueOf(l_n,'weight_uom/text()', v_weight_uom);
      dbms_xslprocessor.valueOf(l_n,'price/text()', v_price);
      dbms_xslprocessor.valueOf(l_n,'code_currency/text()', v_code_currency);
      dbms_xslprocessor.valueOf(l_n,'date_pickup/text()', v_date_pickup);
      dbms_xslprocessor.valueOf(l_n,'account/text()', v_account);
      dbms_xslprocessor.valueOf(l_n,'reference/text()', v_reference);
      dbms_xslprocessor.valueOf(l_n,'instruction/text()', v_instruction);
      dbms_xslprocessor.valueOf(l_n,'delivery_condition/text()', v_freight_terms);
      dbms_xslprocessor.valueOf(l_n,'service_level/text()', v_service_level);
      dbms_output.put_line(v_awb);
      dbms_output.put_line(v_carrier);
      dbms_output.put_line(v_pieces );
      dbms_output.put_line(v_weight);
      dbms_output.put_line(v_weight_uom);
      dbms_output.put_line(v_price);
      dbms_output.put_line(v_code_currency);
      dbms_output.put_line(v_date_pickup);
      dbms_output.put_line(v_account);
      dbms_output.put_line(v_reference);
      dbms_output.put_line(v_instruction);
      dbms_output.put_line(v_freight_terms);
      dbms_output.put_line(v_service_level);
    END LOOP;
    END;
    /

  • Installation of XML Parser for PL/SQL

    After following the installation instruction on XML Parser PL/SQL on UNIX, I got the below error message when running the sample:
    SQL> exec domsample('/home/jyuan/oracle/plxml/sample','family.xml','err_dom.txt')
    BEGIN domsample('/home/jyuan/oracle/plxml/sample','family.xml','err_dom.txt'); END;
    ERROR at line 1:
    ORA-20100: Error occurred while parsing: Permission denied
    ORA-06512: at "JYUAN.XMLPARSER", line 22
    ORA-06512: at "JYUAN.XMLPARSER", line 69
    ORA-06512: at "JYUAN.DOMSAMPLE", line 80
    ORA-06512: at line 1
    I also checked the dba_role_privs to see if I have the privilege. The below result shows I am ok.
    SQL> select * from dba_role_privs where grantee='JYUAN';
    GRANTEE GRANTED_ROLE ADM DEF
    JYUAN CONNECT NO YES
    JYUAN ENG_DEVELOPER NO YES
    JYUAN JAVASYSPRIV NO YES
    JYUAN JAVAUSERPRIV NO YES
    I do see package XMLPARSER and procedure DOMSAMPLE in my schema. But, I don't know how to fix the problem. Your help is highly appreciated.
    Thank you.

    The XML Parser for Java comes preinstalled, as does the XML SQL utility.
    Assuming your 8.1.7 Oracle home is represented by ?, you need to:
    [list=1]
    [*]cd ?/xdk/lib
    [*]loadjava -v -r -u user/password xmlplsql.jar
    [*]cd ?/xdk/plsql/parser/bin
    [*]sqlplus user/password @load
    [list]

  • 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.

  • ANN: Oracle XML Parser for Java v2.0.0.1

    A new maintenance release of the Oracle Parser for Java is
    available for download. It has the following fixes and changes:
    Bug fixes for #920536, i.e. Cannot access element attributes via
    XSLT; #898423. i.e. ElementDecl's in DTDs; #774774, i.e. DOM
    extensions using XSL pattern matching; #863890 i.e. SAX
    IOException not thrown.
    New APIs in the following new interface:
    1. oracle.xml.parser.v2.NSResolver
    - resolveNamespacePrefix( find the namespace definition in scope
    for a given namespace prefix )
    New APIs in the following classes:
    1. oracle.xml.parser.v2.XMLNode
    - selectNodes( Selects nodes from the tree which match the given
    pattern; client can provide an NSResolver implementation to
    resolve namespace prefixes in the pattern ).
    2. oracle.xml.parser.v2.ElementDecl
    - getParseTree( Returns the root Node of Content Model parse
    tree, which could then be traversed node by node using
    getFirstChild() and getLastChild(). The Node types are: PLUS,
    COMMA, ASTERISK, ELEMENT, QMARK ).
    This is the first beta patch release for v2.
    Oracle XML Team
    http://technet.oracle.com
    Oracle Technology Network
    null

    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

  • ANN: XML Parser for Java v2.0.2.6

    The v2.0.2.6 of the XML Parser for Java is now available for download. The following features and bug fixes are included:
    Changes:
    Conformance to the XSLT/XPATH October REC.
    New API in XSLStylesheet class:
    removeParam(String param)
    resetParams()
    Bug fixes:
    Bug #1111423: OutOfMemory exception, if multiple calls made to document()
    Bug #1101028: Unexpected character error in DTD parsing document using Docbook DTD
    Bug #1101021: #default not supported in exclude-result-prefixes
    Bug #1099830: Extra characters inserted into output using the XML Parser
    Bug #1099663: HTML output does not allow only doctype-public to be specified
    Bug #1099536: HTML output does not disable escaping for script, style unless lowercase
    Bug #1098738: ArrayOutOfBoundsException xsl:if test="not(@a)'"
    Bug #1095047: XSLProcessor NPE'S on named templates with non-empty namespaces
    Bug #1094971: XSLStylesheet needs methods for removing parameters
    Bug #1092351: Using valueof() shuffles order of elements in my source document
    Bug #1086663: xsl:sort data-type attribute can now be a namespace-prefixed name
    Bug #1086661: xsl:version attribute now required on literal result element
    Bug #1064692: Default xml-serialization should use empty-element syntax
    Bug #1064689: Current() function doesn't work correctly
    This is the sixth production patch release for v2.
    Oracle XML Team http://technet.oracle.com
    Oracle Technology Network
    null

    The link has been fixed. You will go to the v2 download page
    now. Sorry for the inconvience.
    Oracle XML Team
    http://technet.oracle.com
    Oracle Technology Network
    Renilton Oliveira (guest) wrote:
    : I didn't find the file for version 2.0.0.0 as well.
    : Renilton
    : Andrei Filimonov (guest) wrote:
    : : I tried to download XML Parser for Java v2 it seems that
    only
    : v
    : : 1.0.1.4 is available. Could you please give an exact URL for
    : v2
    : : download?
    : : Andrei Filimonov
    : : Oracle XML Team wrote:
    : : : The Oracle XML v2 parser is now available for download
    here
    : as
    : : : an early beta release and is written in Java. It features
    : an
    : : : improved architecture over the Oracle XML v1 parser and
    has
    : : : shown better performance on small to large XML documents.
    : It
    : : : will also be able to format the XML document according to
    a
    : : : stylesheet, having integrated an XSLT processor.
    : : : Version 2 of the XML Parser for Java, besides
    incorporating
    : an
    : : : XSLT processor, has been re-architected from version 1.
    This
    : : has
    : : : resulted in a number of changes to the class names
    : especially
    : : : those that support Namespaces. See v2changes.txt and
    : the .diff
    : : : difference files in the sample directory.
    : : : Oracle XML Team
    : : : http://technet.oracle.com
    : : : Oracle Technology Network
    null

  • ORACLE XML PARSER FOR JAVA FOR AIX

    Hi people!
    I'm looking for the Oracle XML Parser for Java 9.0.2.0.0C, my 9iAS is BI Installation 9.0.2.3, where can I get it? In the Downloads Section there is only the version for 10g, and the existing versions for 9i are not for AIX (my OS is AIX 5.2L).
    Thanks.

    Thanks for your help, I navigate through this link and, even it shows a table where appears the release for AIX (9.2.0.6.0), when I get to http://www.oracle.com/technology/tech/xml/xdk/software/prod/utilsoft_java.htm
    it shows me only downloads for Sun, Linux and HP-UX, but not for AIX.
    Has the version for AIX being deprecated or something like that?

  • XML parsing problems with Oracle XML parser for PL/SQL

    I am using the Oracle XML parser for PL/SQL to transform XML into HTML usign XSL. The parser gives me sporadic errors trying to parse various XML documents. For the same XML source, the XMLPARSER will parse without errors one day and the next day will give me errors such as "invalid char in text", "Expected ';'.", or even Java null pointer exceptions.
    I have verified that the XML sources are well formed, so I am pretty certain that the problems I am having are bugs in the XMLPARSER.
    Is there going to be a XML parser for PL/SQL version 2 that will fix these bugs? If so, when??? If not, is there anything else I could do to fix these problems?
    Thanks!

    You can use the latest version.

  • 2-byte error in XML Parser for PL/SQL

    environment:
    oracle 8.1.5
    XML parser for Java 2.0.2.6.0
    XML parser for PL/SQL 1.0.1.0.0
    we use CLOB as xml data container, but it does not work properly with 2 byte chracter set.
    I tested same situation except using VARCHAR2 instead of CLOB, it works without problem.
    I think there is some bug in method parseClob of oracle.xml.parser.plsql.XMLParserCover about converting CLOB into String.
    I appreciate any help to work around this problem.

    Hi,
    We couldn't reproduce this error with our test case. Can you please post a test case that gives you this problem so we can assist you further?
    Thank you,
    Oracle XML Team

Maybe you are looking for