[xml] Re: [libxml] xmllint misses namespace bug?



[ Cc'ing the mailing list, I don't see why this wasn't sent there ! ]

On Thu, Jul 03, 2003 at 09:57:46PM +0200, Tobias Reif wrote:
   xmlns:="http://www.w3.org/2000/svg";

Note the colon after "xmlns" in line 6.

Xerces:

Error at file C:\tmp\colon_attr_name.txt.743259, line 6, char 10
   Message: Attribute 'xmlns:' is not declared for element 'svg'

latest Window version
libxml2-2.5.7.win32\util\xmllint

xmllint --noout --valid --catalogs colon_attr_name.txt

=> no error raised

  Your document is a correct XML-1.0 document. The parser will not
raise a well formed error. It probably should raise a validity error
and that may be a bug but it depends on the DOCTYPE since it's unlikely
taht an "xmlns:" attribute was defined in the SVG DTD. Please check this
first and log the bug in bugzilla

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]