- From: Mark Feblowitz <mfeblowitz@frictionless.com>
- Date: Fri, 16 Nov 2001 17:50:23 -0500
- To: "'ht@cogsci.ed.ac.uk'" <ht@cogsci.ed.ac.uk>
- Cc: "Xmlschema-Dev (E-mail)" <xmlschema-dev@w3.org>
In using today's build of XSV 1.4, I got the following message: file:/OAGIS/BODs/ProcessPurchaseOrder.xsd:19:3: Invalid: Content model of None not actually a restriction of base type BusinessObjectDocument: a {http://www.openapplications.org/OAGIS}:DataArea element at node 1 of this model can't be matched by any edge leaving node 1 of the base Base model: This model: I guessed (correctly) that the base type BusinessObjectDocument had a content model requiring an ApplicationArea element (minOccurs="1") but that the element ProcessPurchaseOrder (incorrectly reported as "None" in the error message), incorrectly changed the minOccurs to "0". In spite of the somewhat confusing error report, XSV now looks to catch an improper restriction in cardinality. Mark ---------------------------------------------------------------------------- ---- Mark Feblowitz [t] 617.715.7231 Frictionless Commerce Incorporated [f] 617.495.0188 XML Architect [e] mfeblowitz@frictionless.com 400 Technology Square, 9th Floor Cambridge, MA 02139 www.frictionless.com
Received on Friday, 16 November 2001 17:50:56 UTC