W3C home > Mailing lists > Public > public-xml-core-wg@w3.org > April 2007

No < in Attribute Values

From: Norman Walsh <Norman.Walsh@Sun.COM>
Date: Wed, 11 Apr 2007 07:40:36 -0400
To: public-xml-core-wg@w3.org
Message-ID: <87zm5fnnpn.fsf@nwalsh.com>
In reviewing a test case, I discovered there was some confusion about
this WFC:

  Well-formedness constraint: No < in Attribute Values

  The replacement text of any entity referred to directly or
  indirectly in an attribute value MUST NOT contain a <.

The person who wrote the test case concluded that this WFC made the
following document not well-formed:

<!DOCTYPE foo [
<!ENTITY x "&lt;">
<foo attr="&x;"/>

I wonder if there's somewhere else in the spec that makes this clear,
or if we want to consider an editorial clarification.

                                        Be seeing you,

Norman Walsh
XML Standards Architect
Sun Microsystems, Inc.

Received on Wednesday, 11 April 2007 11:40:45 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:40:33 UTC