- From: Bob Schloss <rschloss@us.ibm.com>
- Date: Mon, 10 Jun 2002 16:33:18 -0400
- To: nathan.crews@autodesk.com
- Cc: cmsmcq@w3.org, xmlschema-dev@w3.org
- Message-ID: <OFE3C518C2.A5949182-ON85256BD4.006F2C8E@us.ibm.com>
Nathan,
I believe that your schema is not valid.
I ran it through the IBM XML Schema Quality Checker
(available at http://www.alphaworks.ibm.com/tech/xmlsqc) and it
pointed out several problems, including 5 cases where you appear
to have an ambiguous content model.
Here is an image of how it looks in my browser
with the SQC output styled by a stylesheet:
And here is the actual output from SQC:
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="file:/C:/sqc/ErrorReport.xsl"?>
<schemaAnalysis
SchemaQualityCheckerVersion="2.0.1"
anyWarningsRequestedToBeSuppressed="false" cost="10"
haltAtFirstError="false"
requireEachDocumentValid="false" schemaLanguageVersion="2001-05-02">
<file fileNameWithoutPath="LandXML-1.0.xsd" filename="LandXML-1.0.xsd">
<startdatetime>2002-06-10T16:06:30</startdatetime>
<error severity="1" type="2">
<source column="26" line="1265"
location="file:C:/sqc/LandXML-1.0.xsd"
locationWithoutPath="LandXML-1.0.xsd"/>
<message>Ambiguous content model : the following particles
overlap : <xs:element block=""
maxOccurs="unbounded" minOccurs="0"
ref="Feature"/> , <xs:any
maxOccurs="1" minOccurs="1"
namespace="##any"/> . </message>
</error>
<error severity="1" type="2">
<source column="26" line="1358"
location="file:C:/sqc/LandXML-1.0.xsd"
locationWithoutPath="LandXML-1.0.xsd"/>
<message>Ambiguous content model : the following particles
overlap : <xs:element block=""
maxOccurs="1" minOccurs="0"
ref="Start"/> , <xs:any
maxOccurs="1" minOccurs="1"
namespace="##any"/> . </message>
</error>
<error severity="1" type="2">
<source column="26" line="2578"
location="file:C:/sqc/LandXML-1.0.xsd"
locationWithoutPath="LandXML-1.0.xsd"/>
<message>Ambiguous content model : the following particles
overlap : <xs:element block=""
maxOccurs="unbounded" minOccurs="0"
ref="PVI"/> , <xs:element
block="" maxOccurs="1"
minOccurs="1" ref="PVI"/> .
</message>
</error>
<error severity="1" type="2">
<source column="26" line="36"
location="file:C:/sqc/LandXML-1.0.xsd"
locationWithoutPath="LandXML-1.0.xsd"/>
<message>Ambiguous content model : the following particles
overlap : <xs:element block=""
maxOccurs="1" minOccurs="1"
ref="Units"/> , <xs:any
maxOccurs="1" minOccurs="1"
namespace="##any"/> . </message>
</error>
<error severity="1" type="2">
<source column="26" line="963"
location="file:C:/sqc/LandXML-1.0.xsd"
locationWithoutPath="LandXML-1.0.xsd"/>
<message>Ambiguous content model : the following particles
overlap : <xs:element maxOccurs="1"
minOccurs="1" name="DocFileRef"
nillable="false">
<xs:complexType>
<xs:attribute name="name"
use="required"/> <xs:attribute
name="location" type="xs:anyURI"
use="required"/> <xs:attribute
name="fileType" type="xs:string"
use="optional"/> <xs:attribute
name="fileFormat" type="xs:string"
use="optional"/>
</xs:complexType> </xs:element> ,
<xs:any maxOccurs="1"
minOccurs="1" namespace="##any"/>
. </message>
</error>
<enddatetime>2002-06-10T16:07:19</enddatetime>
</file>
</schemaAnalysis>
Thanks,
Bob
Extensible Technologies
IBM Watson Research Center
Yorktown Heights, NY
nathan.crews@autodesk.com@w3.org on 06/10/2002 06:45:33 AM
Sent by: xmlschema-dev-request@w3.org
To: xmlschema-dev@w3.org
cc: cmsmcq@w3.org
Subject: XML Schema usage submission
I would like to contribute an XML Schema, LandXML, to the usage section of
the W3 XML Schema page.
The LandXML schema is defined, maintained and hosted by LandXML.org, an
open organization for Land Development/Transportation Industry
organization. LandXML models the civil engineering design data used to
create new residential subdivisions and build new roads.
Schema file name : LandXML-1.0.xsd
Schema namespace: http://www.landxml.org/schema/LandXML-1.0
Schema location : http://www.landxml.org/schema/LandXML-1.0/ LandXML-
1.0.xsd
Schema Description: LandXML is an emerging XML data standard for civil
engineering and survey data used in the Land Development and
Transportation Industries. LandXML facilitates open data exchange between
software applications, provides an electronic format for design data
project submission and provides a format suitable for long term archival.
More Information:
LandXML has a reasonably complex content model has evolved from a simple
XDR schema, (http://www.landxml.org/schema/landxml-0.01/LandXML-0.01.xml
), over the past 3 years to use most of the features available in the
latest XML Schema recommendation. The web site for the schema is http:
//www.landxml.org, where you will find the schema, documentation, sample
files and sample applications. There is also a list of world-wide
participants on the http://www.landxml.org/org.htm page.
LandXML is emerging as the XML standard for the Land Development and
Transportation Industry by US Department of Transportation, AASHTO
(American Association of State Highway Officials) and the Federal Highway
Administration. LandXML is also being used and recognized internationally
by Land Information New Zealand. LandXML also has strong support in the
software vendor community http://www.landxml.org/landxmlapps.htm.
Please let me know if any other information is required.
Nathan Crews
Principal Schema Architect, www.landxml.org
Software Researcher
Civil/Survey Software Development
GIS Solutions Division
Autodesk, Inc.
nathan.crews@autodesk.com
Attachments
- image/gif attachment: C7595839.gif
Received on Monday, 10 June 2002 16:34:58 UTC