Re: [xml] Namespace problem after upgrade to libxml2-2.4.26

On Mon, Oct 21, 2002 at 04:20:07PM +0000, Ivens Porto wrote:

After upgrading from libxml2 2.4.23 to 2.4.26 I started to get warnings
when trying to validate a document that was validated with 2.4.23.

When validating I'm getting the following message:


totalaccess-conf.xml:5: validity error: No declaration for attribute
xmlns of element TotalAccessConf
<TotalAccessConf xmlns="";>


<TotalAccessConf> is the XML document root element. This error did not
happen with version 2.4.23.

Anyone knows what can be causing this?

  The fact that your DTD is missing the aforementionned declaration
and libxml2 forgot that check in previous versions. Fix your DTD :-)


Daniel Veillard      | Red Hat Network
veillard redhat com  | libxml GNOME XML XSLT toolkit | Rpmfind RPM search engine

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