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



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

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="http://ose.com.br/totalaccess";>

----------------------------------------------------------------

<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

-- 
Daniel Veillard      | Red Hat Network https://rhn.redhat.com/
veillard redhat com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/



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