[Home] [By Thread] [By Date] [Recent Entries]


Nicolas LEHUEN wrote:
> Parsers like Xerces have dramatically grown in size
> and have performance problem due to the fact that validation is built in in
> the parser.
> To me, parsing and validating are two different activities. They may have
> been integrated for performance reasons of the parsing+validation pipeline,
> but I'd still like to have a clean, high performance parsing pipeline in
> which I could plugin any kind of validators (eg. Sun MSV).


The validation is no longer built in in the Xerces 2 parser [1]. The
parser pipeline may consist of any combinations of components. The
components, such as XML Schema Validator, can be removed or added to the
pipeline. Moreover, using XNI [2] users can write new components and add
those to the pipeline (using new parser configurations). 
For more information refer to XNI design [3].

[1] http://xml.apache.org/xerces2-j/index.html
[2] http://xml.apache.org/xerces2-j/xni.html
[3] http://xml.apache.org/xerces2-j/xni-design.html

-- 
Elena Litani / IBM Toronto

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member