Re: [xml] Potential wrong usage of xmlIsID() in tree.c



Daniel Veillard wrote:
On Fri, Feb 24, 2006 at 06:33:54AM -0500, Rob Richards wrote:
Based on a DTD or the xml:id spec, an attribute must have an element to be considered an ID.

  True for DTD as far as I know, but I don't see where you get this
from the xml:id spec, both the processing section and the section
about application interface drop any requirement at the containing
element level:
   http://www.w3.org/TR/xml-id/#inform
Doesn't http://www.w3.org/TR/xml-id/#infoset mean that the element must be present?

The following information items must be present in the input infosets to enable correct processing:

  *   Element Information Items with attributes property.

Rob



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]