[
Lists Home |
Date Index |
Thread Index
]
- From: Geir Ove Gronmo <geirog@falch.no>
- To: xml-dev@ic.ac.uk
- Date: Wed, 7 May 1997 09:14:33 +0100
At 02:13 07.05.97 +0100, Tim Bray wrote:
>At 01:21 AM 5/7/97 GMT, Peter Murray-Rust wrote:
>>How many PCDATA elements would be expected in the file?
><?XML VERSION="1.0"?>
><!DOCTYPE CML>
><CML>
><XVAR>
>This is a variable
></XVAR>
></CML>
>
>Let's flatten that. Clearly there can't be any PCDATA before <CML>, so:
>
><CML>\n<XVAR>\nThis is a variable\n</XVAR>\n</CML>
> 11 2222222222222222222222 33
>
>Three pieces of PCDATA.
Should this also be true if the XML-SPACE attribute is set to DEFAULT for
the CML element?
What would be the result of the following cases? Should there also be three
pieces of PCDATA, since PCDATA can be an empty string? ([16] PCData::= [^<&]*)
<CML><XVAR>\nThis is a variable\n</XVAR></CML>
And what about this one:
<CML><XVAR></XVAR></CML>
This is probably some pretty stupid questions, but ... :')
</Gr0ve>
------------------ Geir Ove Grřnmo ------------------
Falch Infotek as, Stanseveien 21, 0902 Oslo, Norway
Phone: +47 22 90 27 36 Fax: +47 22 90 25 99
[grove@falch.no | http://www.falch.no/people/geirog]
-------------------------------------------------------
xml-dev: A list for W3C XML Developers
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To unsubscribe, send to majordomo@ic.ac.uk the following message;
unsubscribe xml-dev
List coordinator, Henry Rzepa (rzepa@ic.ac.uk)
|