Re: [xml] Validating and XIncludes

On Monday 13 December 2004 13:15, Gary Pennington wrote:

Hello Gary,

I don't know if this is a bug in libxml2 or not, it could be just that
I'm trying to do something that isn't possible with XIncludes and DTD
based validation...

Try using the --postvalid flag plus --xinclude, it ensures the XInclusions are 
resolved before doing the DTD validation, AFAIK. If that still doesn't work, 
it could be that the DTD isn't namespace aware and you have trouble with the 
xmlns attribute in the document element(but it doesn't look so in your 
output), which for example the Docbook DTDs are.



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