T
tah
Hey,
Can someone please clarify, confirm, or set me straight on my
understanding of a standalone="yes" attribute in the xml version
element?
I assume it means that the xml document containing it is
standalone, and does not refer to any external document to define
types. In other words, it doesn't use an external dtd to validate any
types - everything used would be defined within the doc itself. In
other words, you would never see an xml document with standalone="yes"
defined if it had a corresponding and separate dtd file that defined
elements, attributes, etc. Is this correct? If so, then this should
probably almost never be used, since you don't usually define all types
in every doc.
Also, in one particular instance, I'm seeing this error from a
parser validation:
"White space must not occur between elements declared in an
external parsed entity with element content in a standalone document"
I really don't know what this means, or why it has anything to do
with 'standalone', yes or no.
Am I just misunderstanding the whole meaning?
Thanks!!
--Ty
Can someone please clarify, confirm, or set me straight on my
understanding of a standalone="yes" attribute in the xml version
element?
I assume it means that the xml document containing it is
standalone, and does not refer to any external document to define
types. In other words, it doesn't use an external dtd to validate any
types - everything used would be defined within the doc itself. In
other words, you would never see an xml document with standalone="yes"
defined if it had a corresponding and separate dtd file that defined
elements, attributes, etc. Is this correct? If so, then this should
probably almost never be used, since you don't usually define all types
in every doc.
Also, in one particular instance, I'm seeing this error from a
parser validation:
"White space must not occur between elements declared in an
external parsed entity with element content in a standalone document"
I really don't know what this means, or why it has anything to do
with 'standalone', yes or no.
Am I just misunderstanding the whole meaning?
Thanks!!
--Ty