W3C home > Mailing lists > Public > www-dom@w3.org > April to June 2000

Attr: Tokenized attribute values.

From: Blaine Brodie <bbrodie@savagesoftware.com>
Date: Fri, 28 Apr 2000 13:55:14 -0700
Message-id: <fc.0085846d00004cdb0085846d00004cdb.4cdc@savagesoftware.com>
To: www-dom@w3.org
Some clarification please.   In the DOM2 spec of December 10, 1999,
section 1.2 describing the Attr interface [p.57] contains the following

"In XML, where the value of an attribute can contain entity references,
the child nodes of the Attr node provide a representation in which entity
references are not expanded.  These child nodes may be either Text [p.66]
or EntityReference [p.71] nodes.  Because the attribute type may be
unknown, there are no tokenized attribute values."

I don't understand the meaning of the last sentence.  Does it mean that
attribute values MUST be atomic?  Can anyone provide a clearer explanation
and possibly illustrate the meaning with an example?

Thanks in advance.

Received on Friday, 28 April 2000 16:55:18 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:07 UTC