Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


RE: X3D schema validation problem

From: "Xan Gregg" <Xan.Gregg@---.--->
To: "Jeff Sonstein" <jeffs@-------.--.--->, <Helka.Folch@-----.-->
Date: 7/1/2004 11:43:00 AM
FWIW, there has been some discussion of these problems on the W3D =
forums:

http://www.web3d.org/message_boards/viewtopic.php?t=6&sid=c36967dc198=
4ad43f8c40e4e11a885b7

But I don't see a way for non-members to contribute to that dicussion.

xan 

-----Original Message-----
From: xmlschema-dev-request@w... [mailto:xmlschema-dev-request@w...] =
On Behalf Of Jeff Sonstein
Sent: Thursday, July 01, 2004 3:24 PM
To: Helka.Folch@l...
Cc: xmlschema-dev@w...
Subject: Re: X3D schema validation problem

Helka Folch <hfolch@f...> wrote ..

> I'm having problems validating X3D scenes with respect to the X3D =
schema
> (http://www.web3d.org/x3d/specifications/schema.html)

this points to: 

  http://www.web3d.org/specifications/x3d-3.0.xsd

for the actual XML Schema

I just ran it through oXygen again
[which uses the apache parser/validator "under the hood"]
and I still get more than 40 errors
[some looking just like the errors pointed out by a number of us
 several times over the past long while]

the Schema seems to still be an "afterthought"
[the last modification date on it seems to be DEC of 2003]

error messages follow below

jeffs

-----  snip  -----
E cos-ct-extends.1.4.3.2.2.1.b: The content type of a derived type and =
that of its base must both be mixed or both be element-only. Type =
'X3DInfoNode' is mixed, but its base type is not.		null=09

E cos-applicable-facets: Facet 'maxInclusive' is not allowed by type =
null.	x3d-3.0.xsd	http://www.web3d.org/specifications/x3d-3.0.xsd	=
1402:39

E cos-applicable-facets: Facet 'maxInclusive' is not allowed by type =
null.	x3d-3.0.xsd	http://www.web3d.org/specifications/x3d-3.0.xsd	=
1411:39

E derivation-ok-restriction.5.4.1.2: Error for type 'X3DScriptNode'.  =
The content type of this type is mixed, but the content type of the =
base, 'X3DChildNode', is not.	x3d-3.0.xsd	=
http://www.web3d.org/specifications/x3d-3.0.xsd	1565:19

E cos-applicable-facets: Facet 'maxInclusive' is not allowed by type =
null.	x3d-3.0.xsd	http://www.web3d.org/specifications/x3d-3.0.xsd	=
4204:40

E cos-applicable-facets: Facet 'maxInclusive' is not allowed by type =
null.	x3d-3.0.xsd	http://www.web3d.org/specifications/x3d-3.0.xsd	=
4214:40

E cos-applicable-facets: Facet 'maxInclusive' is not allowed by type =
null.	x3d-3.0.xsd	http://www.web3d.org/specifications/x3d-3.0.xsd	=
4223:40

E cos-applicable-facets: Facet 'minInclusive' is not allowed by type =
null.	x3d-3.0.xsd	http://www.web3d.org/specifications/x3d-3.0.xsd	=
4468:40

E cos-applicable-facets: Facet 'maxInclusive' is not allowed by type =
null.	x3d-3.0.xsd	http://www.web3d.org/specifications/x3d-3.0.xsd	=
4673:40

E cos-applicable-facets: Facet 'minInclusive' is not allowed by type =
null.	x3d-3.0.xsd	http://www.web3d.org/specifications/x3d-3.0.xsd	=
4684:40

E cos-ct-extends.1.4.3.2.2.1.a: The content type of a derived type and =
that of its base must both be mixed or both be element-only. Type =
'#AnonType_GeoMetadata' is element only, but its base type is not.	=
x3d-3.0.xsd	http://www.web3d.org/specifications/x3d-3.0.xsd	5562:20

E cos-nonambig: "":MetadataDouble and "":MetadataDouble (or elements =
from their substitution group) violate "Unique Particle Attribution". =
During validation against this schema, ambiguity would be created for =
those two particles.	x3d-3.0.xsd	=
http://www.web3d.org/specifications/x3d-3.0.xsd	6093:34

E cos-element-consistent: Error for type '#AnonType_HAnimSite'. Multiple =
elements with name 'HAnimDisplacer', with different types, appear in the =
model group.	x3d-3.0.xsd	http://www.web3d.org/specifications/x3d-3.0.xsd	=
5977:34

E cos-nonambig: "":MetadataDouble and "":MetadataDouble (or elements =
from their substitution group) violate "Unique Particle Attribution". =
During validation against this schema, ambiguity would be created for =
those two particles.	x3d-3.0.xsd	=
http://www.web3d.org/specifications/x3d-3.0.xsd	5977:34

E cos-nonambig: "":MetadataDouble and "":MetadataDouble (or elements =
from their substitution group) violate "Unique Particle Attribution". =
During validation against this schema, ambiguity would be created for =
those two particles.	x3d-3.0.xsd	=
http://www.web3d.org/specifications/x3d-3.0.xsd	5961:34

E cos-nonambig: "":MetadataDouble and "":MetadataDouble (or elements =
from their substitution group) violate "Unique Particle Attribution". =
During validation against this schema, ambiguity would be created for =
those two particles.	x3d-3.0.xsd	=
http://www.web3d.org/specifications/x3d-3.0.xsd	5937:34

E cos-nonambig: "":MetadataDouble and "":MetadataDouble (or elements =
from their substitution group) violate "Unique Particle Attribution". =
During validation against this schema, ambiguity would be created for =
those two particles.	x3d-3.0.xsd	=
http://www.web3d.org/specifications/x3d-3.0.xsd	5896:34

E cos-element-consistent: Error for type '#AnonType_GeoLOD'. Multiple =
elements with name 'GeoOrigin', with different types, appear in the =
model group.	x3d-3.0.xsd	http://www.web3d.org/specifications/x3d-3.0.xsd	=
5536:34

E cos-nonambig: "":MetadataDouble and "":MetadataDouble (or elements =
from their substitution group) violate "Unique Particle Attribution". =
During validation against this schema, ambiguity would be created for =
those two particles.	x3d-3.0.xsd	=
http://www.web3d.org/specifications/x3d-3.0.xsd	5536:34

E cos-element-consistent: Error for type '#AnonType_GeoLocation'. =
Multiple elements with name 'GeoOrigin', with different types, appear in =
the model group.	x3d-3.0.xsd	=
http://www.web3d.org/specifications/x3d-3.0.xsd	5519:34

E cos-nonambig: "":MetadataDouble and "":MetadataDouble (or elements =
from their substitution group) violate "Unique Particle Attribution". =
During validation against this schema, ambiguity would be created for =
those two particles.	x3d-3.0.xsd	=
http://www.web3d.org/specifications/x3d-3.0.xsd	5519:34

E cos-nonambig: "":MetadataDouble and "":MetadataDouble (or elements =
from their substitution group) violate "Unique Particle Attribution". =
During validation against this schema, ambiguity would be created for =
those two particles.	x3d-3.0.xsd	=
http://www.web3d.org/specifications/x3d-3.0.xsd	5408:34

E cos-nonambig: "":MetadataDouble and "":MetadataDouble (or elements =
from their substitution group) violate "Unique Particle Attribution". =
During validation against this schema, ambiguity would be created for =
those two particles.	x3d-3.0.xsd	=
http://www.web3d.org/specifications/x3d-3.0.xsd	5371:34

E cos-nonambig: "":MetadataDouble and "":MetadataDouble (or elements =
from their substitution group) violate "Unique Particle Attribution". =
During validation against this schema, ambiguity would be created for =
those two particles.	x3d-3.0.xsd	=
http://www.web3d.org/specifications/x3d-3.0.xsd	5334:34

E cos-nonambig: "":MetadataDouble and "":MetadataDouble (or elements =
from their substitution group) violate "Unique Particle Attribution". =
During validation against this schema, ambiguity would be created for =
those two particles.	x3d-3.0.xsd	=
http://www.web3d.org/specifications/x3d-3.0.xsd	5248:34

E cos-nonambig: "":ExternProtoDeclare and "":ExternProtoDeclare (or =
elements from their substitution group) violate "Unique Particle =
Attribution". During validation against this schema, ambiguity would be =
created for those two particles.	x3d-3.0.xsd	=
http://www.web3d.org/specifications/x3d-3.0.xsd	5211:34

E cos-nonambig: "":FillProperties and "":FillProperties (or elements =
from their substitution group) violate "Unique Particle Attribution". =
During validation against this schema, ambiguity would be created for =
those two particles.	x3d-3.0.xsd	=
http://www.web3d.org/specifications/x3d-3.0.xsd	5157:34

E cos-nonambig: "":FillProperties and "":FillProperties (or elements =
from their substitution group) violate "Unique Particle Attribution". =
During validation against this schema, ambiguity would be created for =
those two particles.	x3d-3.0.xsd	=
http://www.web3d.org/specifications/x3d-3.0.xsd	5078:34

E cos-nonambig: "":FillProperties and "":FillProperties (or elements =
from their substitution group) violate "Unique Particle Attribution". =
During validation against this schema, ambiguity would be created for =
those two particles.	x3d-3.0.xsd	=
http://www.web3d.org/specifications/x3d-3.0.xsd	5057:34

E cos-nonambig: "":MetadataDouble and "":MetadataDouble (or elements =
from their substitution group) violate "Unique Particle Attribution". =
During validation against this schema, ambiguity would be created for =
those two particles.	x3d-3.0.xsd	=
http://www.web3d.org/specifications/x3d-3.0.xsd	4854:34

E cos-nonambig: "":MetadataDouble and "":MetadataDouble (or elements =
from their substitution group) violate "Unique Particle Attribution". =
During validation against this schema, ambiguity would be created for =
those two particles.	x3d-3.0.xsd	=
http://www.web3d.org/specifications/x3d-3.0.xsd	4724:34

E cos-nonambig: "":MetadataDouble and "":MetadataDouble (or elements =
from their substitution group) violate "Unique Particle Attribution". =
During validation against this schema, ambiguity would be created for =
those two particles.	x3d-3.0.xsd	=
http://www.web3d.org/specifications/x3d-3.0.xsd	4698:34

E cos-nonambig: "":MetadataDouble and "":MetadataDouble (or elements =
from their substitution group) violate "Unique Particle Attribution". =
During validation against this schema, ambiguity would be created for =
those two particles.	x3d-3.0.xsd	=
http://www.web3d.org/specifications/x3d-3.0.xsd	4277:34

E cos-nonambig: "":MetadataDouble and "":MetadataDouble (or elements =
from their substitution group) violate "Unique Particle Attribution". =
During validation against this schema, ambiguity would be created for =
those two particles.	x3d-3.0.xsd	=
http://www.web3d.org/specifications/x3d-3.0.xsd	4185:34

E cos-nonambig: "":Color and "":Color (or elements from their =
substitution group) violate "Unique Particle Attribution". During =
validation against this schema, ambiguity would be created for those two =
particles.	x3d-3.0.xsd	http://www.web3d.org/specifications/x3d-3.0.xsd	=
4000:34

E cos-nonambig: "":MetadataDouble and "":MetadataDouble (or elements =
from their substitution group) violate "Unique Particle Attribution". =
During validation against this schema, ambiguity would be created for =
those two particles.	x3d-3.0.xsd	=
http://www.web3d.org/specifications/x3d-3.0.xsd	3975:34

E cos-nonambig: "":MetadataDouble and "":MetadataDouble (or elements =
from their substitution group) violate "Unique Particle Attribution". =
During validation against this schema, ambiguity would be created for =
those two particles.	x3d-3.0.xsd	=
http://www.web3d.org/specifications/x3d-3.0.xsd	3690:34

E cos-nonambig: "":MetadataDouble and "":MetadataDouble (or elements =
from their substitution group) violate "Unique Particle Attribution". =
During validation against this schema, ambiguity would be created for =
those two particles.	x3d-3.0.xsd	=
http://www.web3d.org/specifications/x3d-3.0.xsd	3593:34

E cos-nonambig: "":ProtoInstance and "":ProtoInstance (or elements from =
their substitution group) violate "Unique Particle Attribution". During =
validation against this schema, ambiguity would be created for those two =
particles.	x3d-3.0.xsd	http://www.web3d.org/specifications/x3d-3.0.xsd	=
3519:34

E cos-nonambig: "":MetadataDouble and "":MetadataDouble (or elements =
from their substitution group) violate "Unique Particle Attribution". =
During validation against this schema, ambiguity would be created for =
those two particles.	x3d-3.0.xsd	=
http://www.web3d.org/specifications/x3d-3.0.xsd	3504:34

E cos-nonambig: "":MetadataDouble and "":MetadataDouble (or elements =
from their substitution group) violate "Unique Particle Attribution". =
During validation against this schema, ambiguity would be created for =
those two particles.	x3d-3.0.xsd	=
http://www.web3d.org/specifications/x3d-3.0.xsd	1339:72

E cos-nonambig: "":ProtoInstance and "":ProtoInstance (or elements from =
their substitution group) violate "Unique Particle Attribution". During =
validation against this schema, ambiguity would be created for those two =
particles.	x3d-3.0.xsd	http://www.web3d.org/specifications/x3d-3.0.xsd	=
1160:75

From David.Hirtle@n...  Wed Jul  7 11:10:34 2004
Return-Path: <David.Hirtle@n...>
X-Orig


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent