Re: Conformance in XML processors
Eve Maler wrote: >I'm struck by the persistence of the usage of "well-formed processor" in >this forum. (I realize David is merely quoting the familiar form for those >who think of it this way...) Obviously, it's not very comfortable to name >something (a "non-validating XML processor") by the *absence* of a behavior. > >Would it make sense to work the terminology as follows, for clarity's sake? > >o XML processor (or XML parser): A software component that parses and >checks for well-formedness. The minimum of what a "non-validating XML >processor" is supposed to do today. > >o XML validator: A software component that checks only for validity, using >input from an XML processor. What a "validating XML processor" is supposed >to do today. > Given that there are three kinds of document: - incorrect (E) - well-formed but invalid (W) - well-formed and valid (V) I can identify at least the following kinds of program: - accepts all W and V, rejects all E ("XML syntax parser") - accepts all V, rejects all E and W ("XML validating parser") - accepts all W and V, rejects some E ("liberal XML syntax parser") - accepts all V, rejects some E and W ("liberal XML validating parser") - accepts some W and V but rejects others ("subset XML parser") A useful subcategory of "subset XML parser" is one that accepts all W and/or V documents that use a particular DTD (and has undefined behaviour on those that do not). We could call this an "XML application". Mike Kay xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i... Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ To (un)subscribe, mailto:majordomo@i... the following message; (un)subscribe xml-dev To subscribe to the digests, mailto:majordomo@i... the following message; subscribe xml-dev-digest List coordinator, Henry Rzepa (mailto: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