Re: [xml] Possible issue with libxml2 and SVG 1.1 spec

On Thu, May 10, 2007 at 06:35:25PM -0700, Kevin Grover wrote:
When I try to validate an SVG 1.1 document, I get a warning about one of the
spec files from the SVG1.1 spec.

I'm not sure if this is an issue with libxml2 or the spec, but I get no
errors if I run the same files through batik (1.6) with the validate option

C:\Downloads>xmllint --version
xmllint: using libxml version 20627CVS2877
  compiled with: Threads Tree Output Push Reader Patterns Writer SAXv1 FTP
DTDValid HTML Legacy C14N Catalog XPath XPointer XInclude Iconv Unicode
Automata Expr Schemas Schematron Modules Debug Zlib

C:\Downloads>xmllint --noout --valid polygon1.svg validity warning :
Attribute space of element style: already defined
   type %ContentType.datatype; #REQUIRED

  it's a warning. It is legal to redefine an attribute in a DTD, but libxml2
will warn against this because it's in general not a good idea. just ignore
the warning.


Red Hat Virtualization group
Daniel Veillard      | virtualization library
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]