[XML-SIG] Problem parsing the xhtml dtd

Martin v. Loewis martin@loewis.home.cs.tu-berlin.de
Sat, 7 Oct 2000 00:53:17 +0200


> Is this a bug in xmlproc or in the W3C DTD ?

XML 1.0 says

# A special attribute named xml:space may be attached to an element to
# signal an intention that in that element, white space should be
# preserved by applications. In valid documents, this attribute, like
# any other, must be declared if it is used. When declared, it must be
# given as an enumerated type whose only possible values are "default"
# and "preserve".

As a non-native speaker of English, that sentence sounds ambiguous to
me: Does it mean that xml:space must have no more, no less than
"default" and "preserve" as possible values, or does it mean it may
have less than these values?

Regards,
Martin