crash... bug in XSV attributeGroups code?

I'm not sure there really is an automated mail message
to the maintainers, so... I'll send this here...

I'm trying to validate a mathml-in-xhtml document:

http://www.w3.org/XML/2000/04schema-hacking/xhtml-mathml-ex.html

the schemas each check OK:

	http://www.w3.org/XML/2000/04schema-hacking/html-renamed
	http://www.w3.org/XML/2000/04schema-hacking/mathml-renamed

but when I try to check the example document using
	http://www.w3.org/2000/06/webdata/xsv
I get:

========
Schema validator crashed:
------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/local/Jigsaw/Jigsaw/WWW/cgi-bin/xmlschema-check", line 201,
in serveRequest
    applyschema.runitAndShow(target,schemas,keep=='on',ss)
  File "applyschema.py", line 436, in runitAndShow
    (res,encoding)=runit(en,rns,k)
  File "applyschema.py", line 587, in runit
    validate(e, t, s, ed)
  File "applyschema.py", line 49, in validate
    validateElement(element, typedef, schema, eltDecl)
  File "applyschema.py", line 109, in validateElement
    ad=type.attributeDeclarations
  File "XMLSchema.py", line 581, in __getattr__
   
self.attributeDeclarations=self.mergeAttrs(self.basetype,self.derivationMethod)
  File "XMLSchema.py", line 671, in mergeAttrs
    mine=self.expandAttrGroups()
  File "XMLSchema.py", line 698, in expandAttrGroups
    ad.component.expand(tab)
  File "XMLSchema.py", line 1657, in expand
    for d in self.attributeDeclarations:
TypeError: loop over non-sequence
------------------------------------------------------------
The maintainers of XSV will be notified, you don't need to
send mail about this unless you have extra information to provide.
If there are Schema errors reported before the crash, try correcting
them and re-running the validation.

========

-- 
Dan Connolly, W3C http://www.w3.org/People/Connolly/

Received on Tuesday, 13 June 2000 18:15:12 UTC