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

RE: Re WF, V, and MSXML

  • From: "James Clark" <jjc@j...>
  • To: <xml-dev@i...>
  • Date: Fri, 13 Jun 1997 19:44:06 +0700

msxml not parse
>The reason MSXML doesn't implement RMD yet is because there are
>problems with the RMD=IGNORE concept since ignoring the DTD can result
>in different data being given to the application - which generally is a
>bad thing. The spec says it is an error to specify RMD=IGNORE if the
>DTD contains any declarations of:
>1) attributes with default values, if elements to which
>these attributes apply appear in the document instance without
>specifying values for these attributes, or

>The problem is that if the parser ignores the DTD, how can it
>detect #1 above ?

Obviously it can't.  If a parser wants to fully validate an XML document it
has to read the entire DTD.  One of the things it must validate, if the
document has RMD=IGNORE, is that the DTD could be ignored without changing
the data the application received.  A parser that is not validating, on the
other hand, can choose to take advantage of the RMD decl and not parse the
DTD.  Provided that the document has been validated, the non-validating
parser will be guaranteed to get the same results as the validating parser.

James


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!

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.