[xml/sgml-pkgs] Bug#596013: Bug#596013: Bug#596013: Bug#596013: libxml2: claims to be out of memory when validating SVG with XSD

brian m. carlson sandals at crustytoothpaste.net
Thu Sep 9 22:21:27 UTC 2010


On Thu, Sep 09, 2010 at 12:21:42PM +0200, Mike Hommey wrote:
> On Wed, Sep 08, 2010 at 06:48:18PM +0200, Mike Hommey wrote:
> > I could reproduce with xmllint SVG.xsd. It turns out it doesn't like the
> >     xmlns:xml CDATA #FIXED "http://www.w3.org/XML/1998/namespace"
> > 
> > declaration, and the error message is actually wrong.
> 
> Can you try the attached patch, from upstream?

Yes, that fixes the problem.  I do run into another parsing error with
that schema, but I suppose that's another bug (unless you think it's
related):

  lakeview ok % xmllint --schema http://www.w3.org/TR/2002/WD-SVG11-20020108/SVG.xsd ~/image/logo/logo.svg
  http://www.w3.org/TR/2002/WD-SVG11-20020108/xlink.xsd:20: element attribute: Schemas parser error : Element '{http://www.w3.org/2001/XMLSchema}attribute': The attribute 'use' is not allowed.
  http://www.w3.org/TR/2002/WD-SVG11-20020108/xlink.xsd:21: element attribute: Schemas parser error : Element '{http://www.w3.org/2001/XMLSchema}attribute': The attribute 'use' is not allowed.
  http://www.w3.org/TR/2002/WD-SVG11-20020108/xlink.xsd:22: element attribute: Schemas parser error : Element '{http://www.w3.org/2001/XMLSchema}attribute': The attribute 'use' is not allowed.
  http://www.w3.org/TR/2002/WD-SVG11-20020108/xlink.xsd:23: element attribute: Schemas parser error : Element '{http://www.w3.org/2001/XMLSchema}attribute': The attribute 'use' is not allowed.
  http://www.w3.org/TR/2002/WD-SVG11-20020108/xlink.xsd:45: element attribute: Schemas parser error : Element '{http://www.w3.org/2001/XMLSchema}attribute': The attribute 'use' is not allowed.
  http://www.w3.org/TR/2002/WD-SVG11-20020108/xlink.xsd:46: element attribute: Schemas parser error : Element '{http://www.w3.org/2001/XMLSchema}attribute': The attribute 'use' is not allowed.
  WXS schema http://www.w3.org/TR/2002/WD-SVG11-20020108/SVG.xsd failed to compile


-- 
brian m. carlson / brian with sandals: Houston, Texas, US
+1 832 623 2791 | http://www.crustytoothpaste.net/~bmc | My opinion only
OpenPGP: RSA v4 4096b: 88AC E9B2 9196 305B A994 7552 F1BA 225C 0223 B187
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/debian-xml-sgml-pkgs/attachments/20100909/96f7fe1c/attachment.pgp>


More information about the debian-xml-sgml-pkgs mailing list