[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Lark
Tim, and xml-dev'ers I am using the Jan 3 version of Lark. Is there a later version? If so, the rest of this posting may be ignored at present. [If the errors are due to my incompetence, please be gentle :-)] I have some problems at the start of the document: If I include the magic incantation: <?XML VERSION="1.0"?> then doDoctype(Entity e, String rootID, String externalSubsetID) sets rootId to VERSION="1.0". If I comment out the <?XML ...?> statement, then it performs as I would expect. If I run Lark on a file with no SYSTEM or PUBLIC in the DOCTYPE it throws an error. ---------------------------------------------------------------- Please don't anything here as a criticism of Lark... (or NXP, or any other pasrser that might appear shortly). I think it's very important that by WWW6 NXP and Lark are able to read a wide range of examples without errors. The primary task is that we make sure that we all agree on how to read well-formed files. If someone writes a DTDless 'XML' file and brings it to WWW6 then either: - it should parse without errors on all parsers - all parsers should inform of at least one error (I assume that parser developers are *allowed* to stop at the first error, however incovenient this mighty be.) Ideally we should be able to read torture files uniformly, though I suspect that certain bizarre constructs can still be created which throw most parsers. P. -- Peter Murray-Rust, domestic net connection Virtual School of Molecular Sciences http://www.vsms.nottingham.ac.uk/ xml-dev: A list for W3C XML Developers Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ To unsubscribe, send to majordomo@i... the following message; unsubscribe xml-dev List coordinator, Henry Rzepa (rzepa@i...)
|
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
|