Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: [ANN] XSDBench XML Schema Benchmark 1.0.0 released

From: Boris Kolpackov <boris@-------------.--->
To: noah_mendelsohn@--.---.---
Date: 10/19/2006 11:10:00 PM
Hi Noah,

noah_mendelsohn@u... <noah_mendelsohn@u...> writes:

> This seems to me a slightly odd way of splitting things.

In the implementation of the parser that I used as an example (Xerces-C++),
XML parsing and validation against the schema are handled in separate
places so in effect every 'data' character that is part of a value that
needs validation is traversed twice: first by the XML parser code then by
the validation code. The whole point of this mental exercise was to show
that content validation must be a lot cheaper than structure validation.


> Indeed, the whole
> point of our earlier-referenced XML Screamer work was to make sure you can
> come as close as possible to touching each such character no more than
> once.

That must have been some pretty tight integration of XML parsing and
schema-based validation. For example when you validate, say a float,
as an element value then you have to look for both legal float characters
as well as '<'. If this float is a value of an attribute then you must
watch for '"' instead of '<'. Or maybe there is a better way (I haven't
gone through all the material you sent in your other email). Also I tend
to believe that most existing parsers don't have this architecture.


-boris


-- 
Boris Kolpackov
Code Synthesis Tools CC
http://www.codesynthesis.com
Open-Source, Cross-Platform C++ XML Data Binding


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent