Re: [xml] Last xinclude vs. DTD problem

Date view Thread view Subject view Author view

From: Daniel Veillard (Daniel.Veillard@w3.org)
Date: Thu Jan 04 2001 - 07:10:23 EST


On Tue, Nov 28, 2000 at 11:41:36PM -0500, Paul D. Smith wrote:
>
> OK, after the last three patches I have only one problem left with my
> DTD validation using xinclude.
>
> My stuff all validates correctly, but I get one last error:
>
> No declaration for attribute href on element include
> Document test.xml does not validate against test.dtd
>
> I'm assuming (I haven't delved deeply into this) that this is failing to
> validate the XML_XINCLUDE_START node or something (--debug doesn't
> generate much info for this node type...)

  Okay I finally incorporated your patches, I fixed the last problem
by skipping XINCLUDE elements and their subtree in xmlValidateElement().
I reran the tests with the example you provided and it's now clean.

  this will be in the next release,

   thanks again for the patches,

Daniel

-- 
Daniel Veillard      | Red Hat Network http://redhat.com/products/network/
daniel@veillard.com  | libxml Gnome XML toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
----
Message from the list xml@rpmfind.net
Archived at : http://xmlsoft.org/messages/
to unsubscribe: echo "unsubscribe xml" | mail  majordomo@rpmfind.net


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Thu Jan 04 2001 - 09:43:33 EST