ietf-mxcomp
[Top] [All Lists]

RE: Comments on draft-ietf-marid-core-01 xml use

2004-06-04 12:05:14

2.  [Doug]  The document should be standalone (in the sense of <?xml
standalone="yes"?>).

I'm not sure how the standalone declaration interacts with XML
schemas.
I'll find out.  (It pre-dates the whole schema effort by a few
years,
and specifies that all of the XML DTD info is present in the
document.
Given that none of the MARID docs can have DTDs, this is vacuously
true.

Extensible Markup Language (XML) 1.0 (Third Edition)
W3C Recommendation 04 February 2004
http://www.w3.org/TR/2004/REC-xml-20040204/#NT-XMLDecl
http://www.w3.org/TR/2004/REC-xml-20040204/#sec-rmd
2.9 Standalone Document Declaration
...
"Markup declarations can affect the content of the document, as passed
from an XML processor to an application; examples are attribute
defaults
and entity declarations. The standalone document declaration, which
MAY
appear as a component of the XML declaration, signals whether or not
there are such declarations which appear external to the document
entity
or in parameter entities."
...
"Any XML document for which standalone="no" holds can be converted
algorithmically to a standalone document, which may be desirable for
some network delivery applications."

It would seem standalone was conceived to handle this situation.

Yes and no. 

The language you refer to refers to DTDs; it is entirely mute with
respect to schemas. 

That is, a literal reading says that standalone and schemas have
absolutely zero interaction.

        Bob