reassign 288149 libxml2-utils subscribe 288149 thanks Vincent Lefevre, le Wed 23 Sep 2009 01:07:58 +0200, a écrit : > On 2009-09-22 23:00:39 +0200, Samuel Thibault wrote: > > Mmm, I'm not sure I'm able to understand what this means (I'm not that > > into XML/DTDs). Does it mean you agree that this isn't a trang bug > > actually, and possibly rather a bug in xmllint (in which case it should > > be reassigned)? > > Yes, I think it's a bug in xmllint for the following reason.
Ok, reassigning. xml2 maintainers: the summary below seems to be complete but you may want to read the start of the bug report for the actual testcase at stake. > The question is whether an attribute given in the DTD with a default > value (but not in the start tag of an element) is regarded as present > or not for RELAX NG validation. According to the RELAX NG spec, the > data model is based on the infoset obtained when all declaractions of > the DTD are processed. According to the infoset spec[*], attributes > that have a default value are part of the infoset. The information > concerning a default value is provided by the [specified] property: > > [specified] A flag indicating whether this attribute was actually > specified in the start-tag of its element, or was defaulted from > the DTD. > > Let's get back to RELAX NG. Its spec doesn't say anything concerning > this [specified] property. This means that the origine of an attribute > (start tag or default value in DTD) is ignored, i.e. an attribute > specified in a start tag and an attribute with default value in the > DTD are regarded as equivalent for RELAX NG. > > [*] http://www.w3.org/TR/xml-infoset/ Samuel -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org