- From: Henri Sivonen <hsivonen@iki.fi>
- Date: Mon, 6 Nov 2006 16:54:09 +0200
On Nov 6, 2006, at 15:57, Elliotte Harold wrote: > Henri Sivonen wrote: >> Considering that xml:id support for Gecko has been blocked >> ( https://bugzilla.mozilla.org/show_bug.cgi?id=275196 ), would it >> be a good idea for a conformance checking service to emit a >> warning if an element in the XHTML namespace has an attribute >> whose attribute type is ID but the attribute does not have the >> local name "id" in no namespace? > > Will the conformance checking service do simple DTD validation? It won't. There's no DTD for XHTML5 and writing one would be a bad idea. Also, the conformance checking service runs the XML parser in the non- validating mode without resolving external entities, because XHTML browsers generally do not perform DTD validation and do not resolve external entities and it would be a bad idea for a conformance checker to examine a document tree that is different from what browsers see. > If so, wouldn't this catch any such issues? It wouldn't. It would be part of the problem! (The document could declare a random attribute to be of type ID in the DTD.) -- Henri Sivonen hsivonen at iki.fi http://hsivonen.iki.fi/
Received on Monday, 6 November 2006 06:54:09 UTC