[
Lists Home |
Date Index |
Thread Index
]
- From: lee@sq.com
- To: Peter@ursus.demon.co.uk, xml-dev@ic.ac.uk
- Date: Wed, 28 May 97 10:16:48 EDT
Peter Murray-Rust wrote:
> As far as I can see, in
> validated SGML
>
> <!Doctype A [
> <!ELEMENT A - o EMPTY>
> ]>
> <A>
>
> and
>
> <!DOCTYPE A [
> <!element a - - ANY>
> ]>
> <A></A>
>
> both return the same result,
That depends on what you mean by "return". ISO 8879 doesn't say anything
about anyone returning things at all. They are not distinguished in ESIS,
but that's just because ESIS is broken in this regard.
> Can attributes have null values? is
>
> B="" the same as omitting B when #IMPLIED?
No, they are not the same -- an attribute value can be zero characters,
as can an element's content.
Lee
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)
|