Oracle XML Parser for JAVA 9.0.1.2.0 Production

December 1 2001

This is second the patch release of XML Parser for Java 9.0.1

Bug Fixes:

  • Bug #1971090: XSL-1045: EXTENSION FUNCTION ERROR: CLASS NOT FOUND
  • Bug #1885222: DECIMAL-FORMAT DIGIT AND PATTERN-SEPARATOR NOT IMPLEMENTED IN ORACLE XSL
  • Bug #1748966: ' SHOULD NOT BE EMITTED IN HTML OUTPUT METHOD, NOT A RECOGNIZED HTML ENTITY
  • Bug #1736840: XML DOCUMENTS ARE CORRUPTED AFTER PARSING THEM TWICE
  • Bug #1731454: SPORADIC "NAMESPACE PREFIX USED BUT NOT DECLARED" ERROR
    Oracle XML Parser for JAVA 9.0.1.1.0A Production

    August 1 2001

    This is the patch release of XML Parser for Java 9.0.1

    Bug Fixes:

  • Bug #1794964: STYLESHEET WITH MORE THAN ONE KEY PRODUCES WRONG RESULTS
    Oracle XML Parser 9.0.1.0.0 Production

    Apr 16, 2001

    This is the production release of 9.0.1.

    Bug Fixes:

  • Bug #1737097: NEED A WAY TO SET DTD ONLY FOR PARSING
  • Bug #1735890: "NODE DOESN'T BELONG TO THE CURRENT DOCUMENT" PARSING 2ND DOC W/ CACHED DTD
  • Bug #1732224: ERROR IN SERIALIZATION/COMPRESSION OF BIG XML DOCUMENTS
  • Bug #1715046: SELECTNODES() METHOD INCLUDING "CONTAINS" DOES NOT WORK CORRECTLY.
  • Bug #1678024: SETDOCTYPE ON XMLDOCUMENT DOES NOT PARSE THE DTD
  • Bug #1646494: XML PARSER FOR JAVA CAN NOT PARSE XML FILES IF THEY CONTAIN A BOM
  • Bug #1636384: NULLPOINTEREXCEPTION PASSING NULL DOCTYPE TO CREATEDOCUMENT()
  • Bug #1488563: XSL-1023 USING READER CLASS IN COMBINATION WITH A XSL FILE OF MORE THAN 300K
  • Bug #1481513: STYLESHEET WITH KEYS THAT WORKS FAILS ON ORAXSL
  • Bug #1344345: XSL:STRIP-SPACE SKIPS BUT DOES NOT STRIP WHITESPACE NODES
  • Bug #1285505: DISABLE-OUTPUT-ESCAPING IS LOST WHEN COPYING A TEXT NODE
  • Bug #1284788: XML DECL OUTPUT EVEN WHEN AS FIRST INSTRUCTION
  • Bug #1188645: BASE URI FOR DOCUMENT HANDLED INCORRECTLY AS PER THE SPEC
  • Bug #1169684: XSLT: INCLUDED STYLESHEETS OUTPUT UNNEEDED NAMESPACE DECLARATIONS
  • Bug #1144692: HTML OUTPUT W/ INDENT="YES" NOT SUPPOSED TO HAVE VISIBLE DIFF FROM INDENT="N"
  • Bug #1056165: DESERIALIZING DOM TREE CAUSES TAG NAMES NOT TO BE INTERNED
  • Bug #1717844: NUMBER OVERFLOW ERRORS IN ORACLE XSLT PROCESSOR
  • Bug #1707925: CONFORMANCE: MATCH PATTERNS MAY NOT CONTAIN VARIABLES REFERENCES
  • Bug #1680019: CONFORMANCE: ORAXSL TREATS POSITION() IN WITH-PARAM INCORRECTLY
  • Bug #1679724: ORAXSL ALLOWS ILLEGAL USE OF CONCAT("FOO") FUNCTION
  • Bug #1665183: XSLT REPLACES SPACES WITH +-SIGNS IN ATTRIBUTE VALUES
  • Bug #1644022: .//ANCESTOR SHOULD NOT RETURN LEAF NODES
  • Bug #1635590: XSL PROCESSOR DOES NOT TERMINATE PROCESSING INSTRUCTIONS PROPERLY
  • Bug #1615915: INCORRECT SCIENTIFIC NOTATION OUTPUT DOING NUMBER CONVERSION
  • Bug #1675337: XMLPARSERV2 CAUSING MULTIPLE FLUSHES. Oracle XML Parser 9.0.0.0.0A Beta

    Mar 31, 2001

    This is the second beta release of 9.0.0.0.0.

    Bug Fixes:

  • Bug #1646697 XMLREADER.JAVA MODIFIED TO USE FILE.ENCODING SYSTEM PARAMETER
  • Bug #1643620 AUTOVALIDATION MODE NEEDED FOR SETVALIDATIONMODE()
  • Bug #1623216 EXTERNAL PARAMETERIZED ENTITIES NOT HANDLED ACCORDING TO XML 1.0 SPEC
  • Bug #1581770 XMLDOCUMENT.PRINT(OUTPUTSTREAM) GENERATES EXTRA NEWLINES IN OUTPUT ON NT
  • Bug #1480409 THE CLASS GENERATOR TRANSLATES '(#PCDATA)' INTO '(#PCDATA)*'.
  • Bug #1219882 JAVA XSL:NUMBER PROBLEMS
  • Oracle XML Parser 9.0.0.0.0 Beta

    Jan 25, 2001

    This is the first beta release of 9.0.0.0.0.

    Bug Fixes

  • Bug #1619691: SAXPARSER NOT RECOGNIZING AN END ELEMENT TAG
  • Bug #1568976: XSL:TEXT ALLOWS ELEMENT NODES AS CHILDREN
  • Bug #1559613: NULLPOINTEREXCEPTION THROWN BY XSL PROCESSOR
  • Bug #1555844: CANNOT PARSE ELEMENTS OF THE FORM <METHOD-PARAMS />
  • Bug #1550157: XDKJAVA: XMLPARSER CORRUPTS DATA IN LARGE XML DOCUMENTS
  • Bug #1538072: ARRAYINDEXOUTOFBOUNDSEXCEPTION AFTER TOO MANY WARNINGS
  • Bug #1537128: INCONSISTENT AND INCORRECT QUOTING OF SINGLE QUOTE IN HREF'S IN HTML OUTPUT
  • Bug #1527362: XMLNODE.GETCHILDREN() METHOD NO LONGER AVAILABLE IN 2.1.0 BETA
  • Bug #1527025: SERIALIZE AMPERSAND AS &AMP; INSTEAD OF &#38;
  • Bug #1524524: ORG.XML.SAX.ATTRIBUTES SHOULD RETURN NULL FOR MISSING ATTRIBUTE
  • Bug #1517153: XSLT 2.1.0 BREAKS <A HREF="#FOO"> LINKS WITH #QUALIFIER
  • Bug #1498548: THE XSLPROCESSOR IS GENERATING WRONG <BR> TAG WHEN THE OUTPUT IS HTML
  • Bug #1497045: EXTRA <ROOT> ELEMENT SURROUNDS <XSL:COPY-OF SELECT="DOCUMENT('XXX')">
  • Bug #1484776: IAS: NULLPOINTEREXCEPTION WHEN DELETING AN ATTRIBUTE
  • Bug #1481089: SUPPORT FOR DOM LEVEL 2 RANGE & EVENTS
  • Bug #1478703: XSQL SERVLET BROKEN AFTER MOVE TO DOM2; PLEASE IMPLEMENT ADOPTNODE()
  • Bug #1478699: TOP-LEVEL XSL:VARIABLE CONTAINING XSL:VALUE-OF CONCATENATES VALUES INCORRECTLY
  • Bug #1403099: PROVIDE COMMAND-LINE TOOL TO SCHEMA-VALIDATE AN XML FILE
  • Bug #1396231: ORAXML.BAT AND ORAXSL.BAT DON'T WORK ON WIN98
  • Bug #1376300: CORE DUMPS WHEN PARSING XML USING SAX WITH VALIDATION OFF AND DTD OF FINITE SIZE
  • Bug #1354891: JAVA.LANG.ARRAYINDEXOUTOFBOUNDS EXCEPTION WHEN NUMBER OF XML TAGS EXCEED 100.
  • Bug #1285762: SUPPORT SAX2 INTERFACES
  • Bug #1268775: PARSER SHOULD OUTPUT NAMED ENTITIES RATHER THAN DECIMAL REPRESENTATION
  • Bug #1224738: ISSUES WITH XSL*.JAVA CODE
  • Bug #1044950: XSLPROCESSOR SHOULD BE ABLE TO PROCESS ELEMENTS

    Oracle XML Parser 2.1 Beta
    --------------------------

    October 20, 2000

    Changes:

  • Implements SAX Level 2.0
  • Implements DOM Level 2.0 Core Namespace
  • Implements DOM Level 2.0 Traversal
  • Provides new APIs to get XSL Transformation as SAX Output

    Bug Fixes:

  • Bug #1422083 Performance of valueof and selectnodes are linear w/ number of nodes in document
  • Bug #1418547 Cannot reuse dtd object if input contains Bug #1416019 XMLParser throws security exception when run as applet
  • Bug #1412088 Conformance: html output method not quoting non-ascii in uri's
  • Bug #1407845 getData() method returns null for xmltext
  • Bug #1407841 getNextSibling() & getPreviousSibling() method of XMLAttr doesnt return null
  • Bug #1407825 getElementByTagname includes the element in which it is called to the list
  • Bug #1407821 Remove attribute erroneous in presence of default value for the attribute
  • Bug #1407812 getAttributes() method should return null for XMLDocument & XMLDocumentFragment
  • Bug #1407804 Constructor of cdata section sets the node name value to a wrong value
  • Bug #1403674 XSL-1036 error using function in use expression
  • Bug #1402823 Internal subset dtd serialized incorrectly if doc not parsed in validation mode
  • Bug #1400219 xsl:value-of incorrectly copies text from comments in text nodes
  • Bug #1399421 NullPointerException if match attribute contains qnames
  • Bug #1398070 oracle soap requires dom2 support
  • Bug #1396231 oraxml.bat and oraxsl.bat don't work on win98
  • Bug #1380006 cannot create elements with a specific namespace
  • Bug #1376863 NullPointerException invoking qname template when prefix undefined
  • Bug #1375092 StringIndexOutOfBoundException doing substring('x','infinity')
  • Bug #1369631 Expose transform output as sax events
  • Bug #1367824 Undefined variable error when param refers to preceding variable
  • Bug #1365872 Output name cannot be derived in a template
  • Bug #1365841 NullPointerException if href="xx" not specified on
  • Bug #1365834 href attribute ignores attribute value templates
  • Bug #1365827 Readme.html doc incorrect for and ora:node-set
  • Bug #1364804 Consistent, garbarge output during transformation
  • Bug #1362117 Failed to get the value of xml attribute with name = "name" and value = "name"
  • Bug #1338487 XML Parser code needs to change to bufferedreader from inputstream
  • Bug #1333187 Conformance: no error raised if variable shadowed/reassigned
  • Bug #1325676 Expression error using foo:bar() nodeset ext func in location step

    This is the first Beta release of V2.1

    Oracle XML Parser 2.0.2.9.0
    ---------------------------

    July 11, 2000

    Changes:

    New API in DOMParser class:

  • reset() : Reset the internal DOM data structures.

    New API in XMLDocument class:

  • print(PrintDriver): Customization of the print functionality

    New Interface

  • PrintDriver : Interface for customizing print
  • XMLPrintDriver class : Default implementation of PrintDriver.

    Bug Fixes:

  • Bug #1327645 NullPointerException using current()
  • Bug #1322251 value of xsl top-level param changed as side-effect of if-test
  • Bug #1317768 java.lang.ClassCastException from xml/xsl parser
  • Bug #1314594 two keys in same stylesheet dont work, one key ok
  • Bug #1313397 duplicate attribute defintions in dtd attlist not tolerated.
  • Bug #1312894 exception on attr with two or more avt's and value longer than expression
  • Bug #1311563 XML parser needs to provide api to clean up internal datastructures
  • Bug #1293126 ENH REQ: Provide formatting options for print() method on XMLNode
  • Bug #1292910 XMLNode.print() incorrectly escape characters in CDATA section
  • Bug #1189707 XSLT: potential performance improvements
  • Bug #1056165 Deserializing dom tree causes tag names not to be interned


    Oracle XML Parser 2.0.2.8.0
    ---------------------------

    May 18, 2000

    Changes:
    New builtin extension element-

  • ora:output - where xmlns:ora="http://www.oracle.com/XSL/Transform/java".
    This element can be used a top-level element similar to xsl:output (can have all attribute allowed in xsl:output, and has similar functionality). It has an additional attribute 'name' used an an identifier. When ora:output is used in a template, it can have only two attribute 'use' and 'href'. 'use' attribute specifies the top-level ora:output to be used, and 'href' gives the output URL.
    New builtin extension function-
  • ora:node-set - where xmlns:ora="http://www.oracle.com/XSL/Transform/java".
    ora:node-set function converts a result tree fragment into a node-set.

    Bug fixes:

  • Bug# 1295864: Namespace qualified name not allowed in dtd parameter entity
  • Bug# 1278648: Nullpointerexception if missing name attribute
  • Bug# 1277644: Numberformatexception using selectnodes with sum()
  • Bug# 1272137: Nist java dom conformance test: nullpointerexception calling substringdata()
  • Bug# 1272120: Selectnodes on a document fragment result of a transformation does not work
  • Bug# 1271143: Nullpointerexception for missing variable after warning.
  • Bug# 1265045: Don't merge multiple xsl:output
  • Bug# 1264391: XMLDOMException doing xmlnode.valueof(".") on an attribute node
  • Bug# 1263988: XSL-1046 doing xsl:apply-imports from a named template
  • Bug# 1255863: Document('') gives stringindexoutofbounds exception
  • Bug# 1250927: XML parser fails to identify ebcdic input file.
  • Bug# 1250366: Need support for cp1047 encoding in xmlreader.java
  • Bug# 1250337: Xml parser tests fail with utf8 exceptions
  • Bug# 1248540: Parser fails to parse dtds containing ( #pcdata )
  • Bug# 1242099: Relative url handled incorrectly when parsing an inputstream (w/baseurl set)
  • Bug# 1241009: System-property('xsl:version') is supposed to be number, not string
  • Bug# 1223503: Non-breaking space displays as a-with-carat in html; encoding mismatches
  • Bug# 1223486: XML decl output for method="html" done using oraxsl
  • Bug# 1189597: xmlnode.selectnodes isn't threadsafe
  • Bug# 1188882: not implemented as per xslt spec
  • Bug# 1186370: XSLT: import precedence rules are incorrect
  • Bug# 1186358: XSLT: error when using xsl:message inside xsl:attribute
  • Bug# 1186317: XSLT: xsl:imports that aren't first children should cause error
  • Bug# 1140801: Can't match comments before doc element or at end of file
  • Bug# 1065368: ((XMLNODE)doc).selectnodes("/") returns a nodelist with an element named "ROOT"


    Oracle XML Parser 2.0.2.7.0
    ---------------------------

    March 1, 2000

    Changes:

  • New command line interface to parse XML documents has been added to bin directory. (See bin/readme.html for details)
  • Debugging support has been added to XSLT processing. The errors/warnings include the system identifier, line number, and column number in debug mode. You can either use DOMParser.setDebugMode(boolean) or use Java system property 'oracle.xml.parser.debugmode' to set the debug mode.

    New API in DOMParser class:

  • setDebugMode(boolean flag)

    New API in XMLDocument class:

  • setDoctype(String rootname, String sysid, String pubid) - Adds DOCTYPE declaration to the XML Dcoument.

    Bug fixes:

  • Bug #1212480: XSL Errors reported as MissingResourceException with certain Java VMs
  • Bug #1156743: Infinite loop parsing document with 'enews.dtd' dtd
  • Bug #1154528: Improved error messages
  • Bug #1146274: Text comes out before XML decl in output
  • Bug #1143969: XSL-1029: Cannot transform child '#comment' in xsl:call-template
  • Bug #1143567: No line numbers in error messages
  • Bug #1138336: Unexplainable new line in transformed output
  • Bug #1138014: QNames fail in test expressions
  • Bug #1137444: xsl:decimal-format not recognized
  • Bug #1136224: Null Pointer Exception if xsl:comment has element children
  • Bug #1133322: ArrayOutOfBounds exception if quote missing from xmldecl version attribute
  • Bug #1130324: xsl:html output method shouldn't set default encoding if node specified
  • Bug #1115222: Getting Java exception when xsl substring function is used
  • Bug #1115079: HTML empty elements can't use empty xml syntax
  • Bug #1087409: Need a simple way to set DOCTYPE uri on an XMLDocument
  • Bug #1086661: xsl:version attribute now required on literal result element
  • Bug #1053836: File names and line #s of error would ease debugging

    This is the seventh production patch release for v2.


    Oracle XML Parser 2.0.2.6.0
    ---------------------------

    December 07, 1999

    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 #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 Parser 2.0.2.5.0
    ---------------------------

    November 16, 1999

    Changes:

  • Conformance to the XSLT/XPATH October PR.
  • Support for internationalized error messages has been added. The locale can be set using setLocale(java.util.Locale) function in XSLProcessor, SAXParser, and DOMParser. The following locales are supported:

    CountryLanguageCountry CodeLanguage Code
    ARGENTINASPANISHARes
    BRAZILBRAZILIAN PORTUGUESEBRpt
    CHINACHINESECNzh
    CZECH REPUBLICCZECHCZcs
    DENMARKDANISHDKda
    FINLANDFINNISHFIfi
    FRANCEFRENCHFRfr
    GERMANYGERMANDEde
    GREECEGREEKGRel
    HUNGARYHUNGARIANHUhu
    ISRAELHEBREWILiw
    ITALYITALIANITit
    JAPANJAPANESEJPja
    KOREAKOREANKRko
    NORWAYNORWEGIANNOno
    POLANDPOLISHPLpl
    PORTUGALPORTUGUESEPTpt
    ROMANIAROMANIANROro
    RUSSIARUSSIANRUru
    SLOVAKIASLOVAKSKsk
    SPAINCATALANESca
    SPAINSPANISHESes
    SWEDENSWEDISHSEsv
    TAIWANCHINESETWzh
    THE NETHERLANDSDUTCHNLnl
    TURKEYTURKISHTRtr
    UNITED ARAB EMIRATESARABICAEar
    UNITED STATESENGLISHUSen

    New APIs in XMLNode class:

  • value-of(String pattern)
  • selectNodes(String pattern)
  • selectSingleNode(String pattern)
  • selectSingleNode(String pattern, NSResolver ns)

    New API in XSLStylesheet class

  • setParam(String param, String value)

    Bug fixes:

  • Bug #957465: Missing a way to set stylesheet-level param-variables
  • Bug #962290: selectNodes() improvements
  • Bug #1033472: Html output prints empty elements for non-empty elements
  • Bug #1040717: Character entity for greater that in html output style
  • Bug #1046003: Bug is parsing text nodes larger than 16K
  • Bug #1051671: 'xsl:namespace-alias' not supported
  • Bug #1052387: Disable-output-escaping doesn't flush while printing
  • Bug #1053273: 'xsl:message' terminate attribute not supported
  • Bug #1058004: No access to media-type and encoding on xsl:output
  • Bug #1058008: xsl:version attribute not copied to result
  • Bug #1061159: Exclude-result-prefixes not supported
  • Bug #1067965: Bug in Non-validating parser while reading QNames in DTD

    This is the fifth production patch release for v2.

    Oracle XML Parser 2.0.2.4.0
    ---------------------------

    October 11, 1999

    Changes:

    XSL URI constant is now: http://www.w3.org/1999/XSL/Transform

    Extension functions namespace has changed from http://www.oracle.com/oracle.xml.parser/xsl/java/classname to http://www.oracle.com/XSL/Transform/java/classname.

    Bug fixes:

  • Bug #998696: xsl:apply-imports is now recognized
  • Bug #1026072: Fixed a bug in function-available

    This is the fourth production patch release for v2.

    Oracle XML Parser 2.0.2.3.0
    ---------------------------

    October 7, 1999

    Changes:

    Extension functions support was added, that allows users of the XSL processor to call any Java method from XSL expressions. Please refer to extfunc.html for more details on Extension functions.

  • Bug fixes: Minor bug fixes in print methods.

    This is the third production patch release for v2.

    Oracle XML Parser 2.0.2.2.0
    ---------------------------

    September 29, 1999

    Changes:

    New API in XSLProcessor class to support xsl:output element :

  • processXSL(XSLStylesheet xsl, XMLDocument xml, OutputStream out)
  • processXSL(XSLStylesheet xsl, XMLDocument xml, PrintWriter pw)
  • processXSL(XSLStylesheet xsl, XMLDocumentFragment xml, OutputStream out)
  • processXSL(XSLStylesheet xsl, XMLDocumentFragment xml, PrintWriter pw)

    Bug fixes:

  • Bug #1006749: ArrayIndexOutOfBoundsException at XMLBytereader.getColumnNumber.
  • Bug #1005654: DTD comments end up in parsed document that refers to DTD?
  • Bug #1002535: Superfluous element produces with on root merging xml documents using the xslt.
  • Bug #1001054: document() function not working as expected.
  • Bug #998885: xsl:output method = "html" not supported
  • Bug #992102: ArrayOutOfBoundException oracle.xml.parser.v2.XMLReader.skipWhiteSpace

    This is the second production patch release for v2.

    Oracle XML Parser 2.0.2.1.0
    ---------------------------

    September 20, 1999

    Changes:

  • Bug#992758: Fix in invalid character detection.
  • Bug#995394: Fix in forward referencing of IDs.
  • Bug fix in XPath Boolean and Number expression parsing.
  • Bug fix in XSL:Number with empty count attribute.

    This is the first production patch release for v2.

    Oracle XML Parser 2.0.2.0.0
    ---------------------------

    September 9, 1999

    Changes:

    Conformance to the XSLT/XPATH August WD.

    Note that there are several changes between April99 XSLT draft and the August99 XSLT/Xpath draft and these changes have been implemented in the XSL Processor. The XSL Processor has been modified to accept XPath syntax for expressions and patterns. Stylesheets might have to be modified to be conformant to the August XSLT/XPath draft before they can be used with this release.

    Some of the changes between April draft and the August draft are:

  • Expressions in the stylesheet must match the XPath production Expr.
  • Some of the attribute names and element names in XSL namespace have changed.
  • Some new functions have been added to XPath CORE function library.

    Please refer to the August XSLT/XPath draft for more details.

    This is the first production release for v2.

    Oracle XML Parser 2.0.1.0.0
    ---------------------------

    August 27, 1999

    Changes:

    Note the command line version of 'oraxsl' which can be used in scripts and can specify multiple # of threads has been added to the bin directory.

    Note that the 'xmlparser.jar' file name has been changed to 'xmlparserv2.jar' to allow co-existence with v1 Java XML parser.

    Bug fixes for #972862, i.e., DOM exception when the DTD is cached rather than loaded everytime for multiple files; #968640, i.e., support for character set encoding names that are non-IANA; #929682, i.e., a command-line version of XSLT is now bundled (see the bin directory); #978320, i.e., error adding nodes to a cloned document using CloneNode() method; for problems with attribute validation/setDTD/parseDTD.

    Improved Lexer. With JDK 1.6, the parser seems to have better performance overall because of changes in the lexical analyzer.

    New Interface: XMLToken. Applications can register an interface handle and the interface callback method 'token()' receives XML tokens registered and found by the parser. XML tokens are defined as interface constants. They are:
      STagName,
      EmptyElemTag,
      STag,
      ETag,
      ETagName,
      Attribute,
      AttName,
      AttValue,
      Reference,
      Comment,
      CharData,
      CDSect,
      PI,
      PITarge,
      XMLDecl,
      TextDecl,
      DTDName,
      AttListDecl,
      elementdecl,
      ElemDeclName,
      EntityDecl,
      EntityDeclName,
      EntityValue,
      NotationDecl,
      ExternalID.

    The tokens above correspond to the syntax variables from W3C XML specifications.

    New API in the following Classes:
    1. oracle.xml.parser.
            -setTokenHandler (XMLToken handler). Sets XMLtoken interface handler.
            -setToken (int token, boolean val). Registers on/off XML token.

    Oracle XML Parser 2.0.0.2.0
    ---------------------------

    August 18, 1999

    Changes:

    Bug fixes for #929678, i.e., problem with pattern matching on xmlns and xml namespaces; #929318, i.e., problem using xsl:import and xsl:include; #920770, i.e., validation of unparsed entities and entity attributes; and miscellaneous bugs fixes to handle encodings.

    This is the second beta patch release for v2.

    Oracle XML Parser 2.0.0.1.0
    ---------------------------

    July 2, 1999

    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.

    API 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 Parser 2.0.0.0.0
    ---------------------------

    The Oracle XML v2 parser is 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. 

    NOTE: Several of the package names and error messages are different than in the v1 of the parser.  See below and v2changes.txt and the .diff difference files in the sample directory.

    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. The following is a summary of the changes developers will have to take into account when converting their code from v1 to v2.

    NOTE: This summary is based upon XML Parser versions v1.0.1.4 as v1 and v2.0.0.0 as v2.

    NEW CLASS STRUCTURE

    The oracle.xml.parser package has been renamed to oracle.xml.parser.v2. The following are the new interfaces:

    NSName
    XMLDocumentHandler

    The following interfaces have been removed:

    NSAttr
    NSAttributeList
    NSDocumentHandler
    NSElement

    The following are the new classes in v2:

    DOMParser
    DefaultXMLDocumentHandler
    SAXAttrList
    SAXParser
    XSLProcessor
    XSLStylesheet
    XSLException


    Within this package the classes have been reorganized as follows:

    v1

    v2

    NOTES

    XMLParser XMLParser
    DOMParser
    SAXParser
    includes methods applicable to DOM and SAX access,
    includes methods specific to DOM access,
    includes methods specific to SAX access)
    NSDocumentHandler XMLDocumentHandler  
    NSAttr, XMLAttr XMLAttr supports Namespace, NSAttr interface has been removed
    NSAttributeList SAXAttrList includes methods in NSAttributeList and org.xml.sax.AttributeList
    NSElement, XMLElement XMLElement supports Namespace, NSElelement interface removed

    ADDITIONAL PUBLIC CLASS/VARIABLE/CONSTRUCTOR/METHOD CHANGES

    AttrDecl

    v1

    v2

    NOTES

    getName() eliminated Use XMLNode.getNodeName
    getPresence() getAttrPresence()  
    getType() getAttrType()  
    getValues() getEnumerationValues()  

    ElementDecl

    v1

    v2

    NOTES

    ASTERISK na Implemented in v2.0.1 for tokenizer feature
    COMMA na Implemented in v2.0.1 for tokenizer feature
    ELEMENT na Implemented in v2.0.1 for tokenizer feature
    OR na Implemented in v2.0.1 for tokenizer feature
    PLUS na Implemented in v2.0.1 for tokenizer feature
    QMARK na Implemented in v2.0.1 for tokenizer feature
    getParseTree() na Implemented in v2.0.1 for tokenizer feature

    XMLAttr

    v1 v2

    NOTES

    na XMLAttr(String, String, String, String) new constructor
    na cloneNode() new method
    na getPrefix() new method

    XMLElement

    v1 v2

    NOTES

    na XMLElement(String, String, String) new constructor
    na checkNamespace(String, String) new method
    na getElementsByTagName(String, String) new method
    na resolveNamespacePrefix(String) new method

    XMLNode

    v1 v2

    NOTES

    na transformNode() new method

    XMLText

    v1 v2

    NOTES

    na getNodeValue() new method

    The licensing agreement is found in LICENSE.  The parser is currently available only for testing purposes.  We expect to make the parser available for commercial use in the future. 

    Please post any questions, comments, or bug reports to the XML Forum on the Oracle Technology Network at http://technet.oracle.com.  At this time OTN is your only support resource.

    The parser conforms to the following standards:

    * The W3C recommendation for Extensible Markup Language (XML) 1.0 at
       http://www.w3.org/TR/1998/REC-xml-19980210.

    * The W3C recommendation for Document Object Model Level 1 1.0 at
       http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001.

    * The W3C recommendation for Extensible Stylesheet Language Transformations (XSLT) Version 1.0 at
       http://www.w3.org/TR/WD-xslt.

    * The W3C proposed recommendation for Namespaces in XML at
       http://www.w3.org/TR/1998/PR-xml-names-19981117.

    * The Simple API for XML (SAX) 1.0 at http://www.megginson.com/SAX/index.html.

    The parser currently supports the following encodings:  UTF-8, UTF-16, ISO-10646-UCS-2, ISO-10646-UCS-4, US-ASCII, EBCDIC-CP-US, ISO-8859-1, and Shift_SJIS.   UTF-8 is the default encoding if none is specified.  Any other ASCII or EBCDIC based encodings that are supported by the JDK may be used.  However, they must be specified in the format required by the JDK instead of as official character set names defined by IANA.  Additional encodings will be added to the list of supported encodings in future releases.

    The parser also provides error recovery.  It will recover from most errors and continue processing until a fatal error is encountered.

    The following directories and files are found in the release:

       license.html - licensing agreement
       readme.html - this file
       doc/ - API documentation
       lib/ - contains the XML parser and XSL processor archive
       sample/ - contains examples of how to use the XML parser and XSL processor