[XML-DEV Mailing List Archive Home]
[Reply To This Message]
RE: Fast validating XML parser
- From: Jimi Kolawole <okolawole@s...>
- To: 'Michael Kay' <mike@s...>,"'Llacuna, Phillip V'" <phillip.v.llacuna@l...>,xml-dev@l...
- Date: Mon, 22 Oct 2007 16:07:11 -0500
how do I express the following in xml
typedef unsigned short
m_ToolDisableCommand is a 72 x 4 array of short.
This is what i
currently have but its not validating.
<xs:element ref="xs:unsignedShort" minOccurs="4" maxOccurs="4" />
<xs:element ref="myCMD_t" minOccurs="72"
I suspect that an off-the-shelf parser like Xerces is
quite fast enough if your application invokes it intelligently. You might find
parsers that are 20% faster than that, but I think the order-of-magnitude
improvement will come by changing your application architecture: in
Xerces has a fairly high start-up cost so it's worth
reusing the parser for multiple documents. However, that's more of a factor
when your files are 200 bytes rather than 50K bytes.
We need a very fast validating
XML parser and was wondering if anyone has any suggestions? Our project
involves one main XML file with about 1200 supporting XML files (each about
50KB or less). Our current environment calls on a java script to validate
each file against the DTD, but it is painfully slow to process the complete
project. We suspect that that the overhead in creating the java environment
each time the script is called is slowing down the process. I have searched
(and am still searching) the web for a good alternative. Any
| [Thread Prev]
| [Thread Next]
| [Date Next]
| [Thread Index]
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format
Stylus Studio has published XML-DEV in RSS and ATOM formats,
enabling users to easily subcribe to the list from their preferred news reader application.
Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website.
they were not included by the author in the initial post. To view the content without the Sponsor Links please