[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Conformance in XML processors

  • From: "Michael Kay" <M.H.Kay@e...>
  • To: <xml-dev@i...>
  • Date: Tue, 20 Jan 1998 11:14:58 -0000

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!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

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 click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.