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

Attachment: signature.asc
Description: Digital signature

Reply via email to