- From: Joseph Reagle <reagle@w3.org>
- Date: Mon, 23 Jun 2003 12:14:10 -0400
- To: Richard Tobin <R.Tobin@ed.ac.uk>, Henry Thompson <ht@w3.org>
- Cc: xmlschema-dev@w3.org, Masayasu Ishikawa <mimasa@w3.org>
I've created an experimental on-line validator using [1]. Unfortunately I can't use XSV because it crashes when validating instances against it. I haven't seen any recent reports on this issue in xmlschema-dev archives, so is this issue already known, very difficult, or is a fix under way? [1] http://www.w3.org/People/mimasa/test/schemas/SCHEMA/xhtml1-loose.xsd Below is my invocation of XSV (e.g., 'sch' with the order of the operands reversed to match how every other schema validator expects them): policy:/home/reagle> sch xhtml1-loose.xsd 06.html Traceback (most recent call last): File "/usr/lib/python2.2/site-packages/XSV/commandLine.py", line 95, in ? parseAndRun(sys.argv[1:]) File "/usr/lib/python2.2/site-packages/XSV/commandLine.py", line 92, in parseAndRun raise SchemaValidationError,res XSV.driver.SchemaValidationError: Traceback (most recent call last): File "/usr/lib/python2.2/site-packages/XSV/driver.py", line 302, in runit validate(e, s, ttdef) File "/usr/lib/python2.2/site-packages/XSV/validate/validateElement.py", line 32, in validate validateElement(element, type, schema) File "/usr/lib/python2.2/site-packages/XSV/validate/validateElement.py", line 146, in validateElement idTable=validateChildTypes(element, schema, lax, idTable) File "/usr/lib/python2.2/site-packages/XSV/validate/validateElement.py", line 389, in validateChildTypes validateElement(child,child.type,schema,child.eltDecl) File "/usr/lib/python2.2/site-packages/XSV/validate/validateElement.py", line 146, in validateElement idTable=validateChildTypes(element, schema, lax, idTable) File "/usr/lib/python2.2/site-packages/XSV/validate/validateElement.py", line 389, in validateChildTypes validateElement(child,child.type,schema,child.eltDecl) File "/usr/lib/python2.2/site-packages/XSV/validate/validateElement.py", line 133, in validateElement ad=type.attributeDeclarations File "/usr/lib/python2.2/site-packages/XSV/compile/ComplexType.py", line 143, in __getattr__ self.attributeDeclarations=self.mergeAttrs(self.basetype,self.derivationMethod) File "/usr/lib/python2.2/site-packages/XSV/compile/ComplexType.py", line 295, in mergeAttrs mine=self.expandAttrGroups() File "/usr/lib/python2.2/site-packages/XSV/compile/ComplexType.py", line 340, in expandAttrGroups ad.component.expand(tab) File "/usr/lib/python2.2/site-packages/XSV/compile/AttributeUse.py", line 87, in expand self.attributeDeclaration.expand(table,self) File "/usr/lib/python2.2/site-packages/XSV/compile/Wildcard.py", line 38, in expand mine=self.intersect(tab["#any"]) File "/usr/lib/python2.2/site-packages/XSV/compile/Wildcard.py", line 45, in intersect if self.negated==other.negated: File "/usr/lib/python2.2/site-packages/XSV/compile/AttributeUse.py", line 70, in __getattr__ raise AttributeError,name AttributeError: negated
Received on Monday, 23 June 2003 12:14:17 UTC