Hi,

On 2009-09-21 19:58:17 +0200, Samuel Thibault wrote:
> See the upstream answer:
> http://code.google.com/p/jing-trang/issues/detail?id=87
> 
> “This is a bug in xmllint.
> 
> I guess --relaxng tells xmllint not to do any DTD processing, which is
> not correct: it should at least do the minimum amount of processing
> required by the XML Recommendation, which includes defaulting attributes
> specified in the internal subset.”
> 
> Do you agree?

Yes, perhaps (that would be like --valid).

Note: this also fails with xmllint --valid --relaxng, while --valid
requires the DTD to be processed. Strange. Perhaps libxml doesn't
use the results from DTD processing for RNG validation, or assume
that a default attribute value is different from the presence of
an attribute for RELAX NG.

-- 
Vincent Lefèvre <[email protected]> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / Arénaire project (LIP, ENS-Lyon)



--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to