Lists Home |
Date Index |
- From: email@example.com (Andrew Greene)
- To: firstname.lastname@example.org
- Date: Mon, 18 Aug 1997 09:48:45 -0400
Please forgive what I hope will turn out to be a foolish question, but
upon rereading the XML spec, I was left unclear on the question of
whether marked sections could be used in the document instance for
anything except CDATA.
That is, in full SGML, you can say:
<!DOCTYPE example [
<!Element example - - ANY>
This is a <![include[marked]]> section.
and when you run it through nsgmls, you get:
-This is a marked section.
But the XML spec implies that conditional inclusion of marked sections
is only approved for the DTD, and not for the document instance itself;
and that the only legal use of marked sections in the document instance
is for CDATA. It is also implied that parameter entities are also only
valid within the DTD itself.
So, which is it? I'll admit that I'll be disappointed if conditional
marked sections are restricted to the DTD.
xml-dev: A list for W3C XML Developers
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To unsubscribe, send to email@example.com the following message;
List coordinator, Henry Rzepa (firstname.lastname@example.org)