Re: xml parser xpp
Aleksander Slominski <[email protected]> Wed, 09 Nov 2005 11:31:16 -0500
| Newsgroups | gmane.text.xml.xmlpull.devel |
|---|---|
| Message-ID | <[email protected]> |
--------------080402090705070800070304 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Fangxia Li wrote: > hi,Aleksander, hi Scott, > > I am not sure if your parser support dtd validation try XNI2XmlPull (http://sourceforge.net/projects/xni2xmlpull/ - you will need to compile it from cvs) that implements XmlPull API and is working on top of Xerces 2 native interface or use StAX API enabled free woodstox parser (http://woodstox.codehaus.org/) xni2xmlpull is under Apache/BSD-style license and woodstox is duo-license under LGPL and Apache-license 2 (http://woodstox.codehaus.org/Download) - make sure you understand implications of licensing and choose license that works for you. there is also SUN parser SJSXP (or something like that) that is based on Xerces though I would check exactly what is the license for it ... https://sjsxp.dev.java.net/ - SUN can outdo itself with its licensing approaches (many!) such as Binary Code License Agreement <https://sjsxp.dev.java.net/BinaryCodeLicense> - make sure to read it and understand it ... > or xml schema validation. parsers based on Xerces (such as xni2xmlpull) supports xml schema validation (possibly sjsxp but i am not sure how much modifications they did - you will need to check documentation or ask on their mailing list) > which parser is best to do this type of work. of source, speed is also > a big concern here. the best way to know this is to simulate typical workload (and make it as realistic to your needs as possible) and run tests with those parsers and then observe performance, memory footprint etc. - do not put too much trust into benchmarks (they are not good predicators ...) best, alek -- The best way to predict the future is to invent it - Alan Kay --------------080402090705070800070304 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> <title></title> </head> <body bgcolor="#ffffff" text="#000000"> Fangxia Li wrote: <blockquote cite="[email protected]" type="cite"> <div> <div>hi,Aleksander,</div> </div> </blockquote> hi Scott, <blockquote cite="[email protected]" type="cite"> <div> <div> </div> <div>I am not sure if your parser support dtd validation</div> </div> </blockquote> try XNI2XmlPull (<a class="moz-txt-link-freetext" href="http://sourceforge.net/projects/xni2xmlpull/">http://sourceforge.net/projects/xni2xmlpull/</a> - you will need to compile it from cvs) that implements XmlPull API and is working on top of Xerces 2 native interface or use StAX API enabled free woodstox parser (<a class="moz-txt-link-freetext" href="http://woodstox.codehaus.org/">http://woodstox.codehaus.org/</a>) <br> <br> xni2xmlpull is under Apache/BSD-style license and woodstox is duo-license under LGPL and Apache-license 2 (<a class="moz-txt-link-freetext" href="http://woodstox.codehaus.org/Download">http://woodstox.codehaus.org/Download</a>) - make sure you understand implications of licensing and choose license that works for you.<br> <br> there is also SUN parser SJSXP (or something like that) that is based on Xerces though I would check exactly what is the license for it ... <a class="moz-txt-link-freetext" href="https://sjsxp.dev.java.net/">https://sjsxp.dev.java.net/</a> - SUN can outdo itself with its licensing approaches (many!) such as <a href="https://sjsxp.dev.java.net/BinaryCodeLicense">Binary Code License Agreement</a> - make sure to read it and understand it ... <blockquote cite="[email protected]" type="cite"> <div> <div> or xml schema validation.</div> </div> </blockquote> parsers based on Xerces (such as xni2xmlpull) supports xml schema validation (possibly sjsxp but i am not sure how much modifications they did - you will need to check documentation or ask on their mailing list)<br> <blockquote cite="[email protected]" type="cite"> <div> <div> which parser is best to do this type of work. of source, speed is also a big concern here.</div> </div> </blockquote> the best way to know this is to simulate typical workload (and make it as realistic to your needs as possible) and run tests with those parsers and then observe performance, memory footprint etc. - do not put too much trust into benchmarks (they are not good predicators ...)<br> <br> best,<br> <br> alek<br> <pre class="moz-signature" cols="103">-- The best way to predict the future is to invent it - Alan Kay </pre> <!-- |**|begin egp html banner|**| --> <br> <div style="text-align:center; color:#909090; width:500px;"> <hr style="border-bottom:1px; width:500px; text-align:left;"> <tt>YAHOO! GROUPS LINKS</tt> </div> <br> <ul> <tt><li type=square> Visit your group "<a href="http://groups.yahoo.com/group/xmlpull-dev">xmlpull-dev</a>" on the web.<br> </tt> <tt><li type=square> To unsubscribe from this group, send an email to:<br> <a href="mailto:[email protected]?subject=Unsubscribe">[email protected]</a><br> </tt> <tt><li type=square> Your use of Yahoo! Groups is subject to the <a href="http://docs.yahoo.com/info/terms/">Yahoo! Terms of Service</a>.</tt> </ul> <br> <div style="text-align:center; color:#909090; width:500px;"> <hr style="border-bottom:1px; width:500px; text-align:left;"> </div> </br> <!-- |**|end egp html banner|**| --> </body> </html> --------------080402090705070800070304--