Oracle XML Parser 2.0.2.9.0
---------------------------
July 11, 2000
Changes:
New API in DOMParser class:
New API in XMLDocument class:
New Interface
Bug Fixes:
Oracle XML Parser 2.0.2.8.0
---------------------------
May 18, 2000
Changes:
New builtin extension element-
Bug fixes:
Oracle XML Parser 2.0.2.7.0
---------------------------
March 1, 2000
Changes:
New API in DOMParser class:
New API in XMLDocument class:
Bug fixes:
This is the seventh production patch release for v2.
Oracle XML Parser 2.0.2.6.0
---------------------------
December 07, 1999
Changes:
New API in XSLStylesheet class:
Bug fixes:
This is the sixth production patch release for v2.
Oracle XML Parser 2.0.2.5.0
---------------------------
November 16, 1999
Changes:
Country | Language | Country Code | Language Code |
---|---|---|---|
ARGENTINA | SPANISH | AR | es |
BRAZIL | BRAZILIAN PORTUGUESE | BR | pt |
CHINA | CHINESE | CN | zh |
CZECH REPUBLIC | CZECH | CZ | cs |
DENMARK | DANISH | DK | da |
FINLAND | FINNISH | FI | fi |
FRANCE | FRENCH | FR | fr |
GERMANY | GERMAN | DE | de |
GREECE | GREEK | GR | el |
HUNGARY | HUNGARIAN | HU | hu |
ISRAEL | HEBREW | IL | iw |
ITALY | ITALIAN | IT | it |
JAPAN | JAPANESE | JP | ja |
KOREA | KOREAN | KR | ko |
NORWAY | NORWEGIAN | NO | no |
POLAND | POLISH | PL | pl |
PORTUGAL | PORTUGUESE | PT | pt |
ROMANIA | ROMANIAN | RO | ro |
RUSSIA | RUSSIAN | RU | ru |
SLOVAKIA | SLOVAK | SK | sk |
SPAIN | CATALAN | ES | ca |
SPAIN | SPANISH | ES | es |
SWEDEN | SWEDISH | SE | sv |
TAIWAN | CHINESE | TW | zh |
THE NETHERLANDS | DUTCH | NL | nl |
TURKEY | TURKISH | TR | tr |
UNITED ARAB EMIRATES | ARABIC | AE | ar |
UNITED STATES | ENGLISH | US | en |
New APIs in XMLNode class:
New API in XSLStylesheet class
Bug fixes:
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:
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 :
Bug fixes:
This is the second production patch release for v2.
Oracle XML Parser 2.0.2.1.0
---------------------------
September 20, 1999
Changes:
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:
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:
New APIs in the following classes:
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