Re: [xml] Possible issue with libxml2 and SVG 1.1 spec
- From: Daniel Veillard <veillard redhat com>
- To: Kevin Grover <kevin kevingrover net>
- Cc: xml gnome org
- Subject: Re: [xml] Possible issue with libxml2 and SVG 1.1 spec
- Date: Mon, 28 May 2007 09:50:06 -0400
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
HTTP
DTDValid HTML Legacy C14N Catalog XPath XPointer XInclude Iconv Unicode
Regexps
Automata Expr Schemas Schematron Modules Debug Zlib
C:\Downloads>xmllint --noout --valid polygon1.svg
http://www.w3.org/Graphics/SVG/1.1/DTD/svg-style.mod:75: 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.
Daniel
--
Red Hat Virtualization group http://redhat.com/virtualization/
Daniel Veillard | virtualization library http://libvirt.org/
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]