|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: PCDATA
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@f... | 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@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! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart








