Re: RELAXED CHEKING feature [Re: conformance testing....]

Elliotte Rusty Harold <[email protected]> Sat, 21 Feb 2004 08:40:06 -0500
Newsgroups gmane.text.xml.xmlpull.devel
Message-ID <p06010200bc5d0fb5968e@[192.168.254.4]>
At 1:57 AM -0500 2/21/04, Aleksander Slominski wrote:

>"Even when this feature is enabled parser MUST accepts all valid XML
>(the only exception is in case when PROCESS DOCDECL is disabled as in
>this case DOCDECL is not parsed). This feature is intended to indicate
>that the parser will make less effort to detect invalid XML documents.
>This is good to produce small footprint XML parsers for J2ME such as kXML2".
>
>i was also thinking that to indicate intent of this feature (all _valid_
>XML accepted but invalid may not be detected) we should change name to
>"relaxed-checking"?

It's necessary to distinguish between validity and well-formedness. I 
think in this case the parser makes *no* effort to detect invalid 
documents. It may perhaps make some effort to detect malformed 
documents. Please do not use the word "valid" as a catch-all for 
"correct". In the context of XML, the word valid has a very specific 
technical meaning.
-- 

   Elliotte Rusty Harold
   [email protected]
   Effective XML (Addison-Wesley, 2003)
   http://www.cafeconleche.org/books/effectivexml
   http://www.amazon.com/exec/obidos/ISBN%3D0321150406/ref%3Dnosim/cafeaulaitA


 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
     http://groups.yahoo.com/group/xmlpull-dev/

<*> To unsubscribe from this group, send an email to:
     [email protected]

<*> Your use of Yahoo! Groups is subject to:
     http://docs.yahoo.com/info/terms/