|
View:
New views
2 Messages
—
Rating Filter:
Alert me
|
|
|
NB XML Validation and Open Content Model
I am trying to run the validate a SPML 2.0 schema using Netbeans. SPML
uses "Open Content Model" (see
http://lists.oasis-open.org/archives/provision-comment/200308/msg00001.html
). When I try to validate, some of the schemas I get an error:
ERROR: cos-nonambig: WC[##other:"urn:oasis:names:tc:SPML:2:0"] and "urn:oasis:names:tc:SPML:2:0:search":query (or elements from their substitution group) violate "Unique Particle Attribution". During validation against this schema, ambiguity would be created for those two particles. on the SPML 1.0 schema I am sure this is due to the fact that many of the ComplexTypes extend from: <complexType name="ExtensibleType"> <!-- <sequence> <any namespace="##other" minOccurs="0" maxOccurs="unbounded" processContents="lax"/> </sequence> <anyAttribute namespace="##other" processContents="lax"/> --> </complexType> and the any and anyAttribute tags are causing the UPA violation. Does Netbeans support Open Content Model? Is there a way to turn off UPA checking? Julie --
|
||
|
|
Re: NB XML Validation and Open Content ModelHi,
I guess that the problem is in *xml* validation. I can recommend filing an issue against xml/validation. Don't forget to attach a project and provide a detailed steps to reproduce. Thanks, Vladimir Julie Knight wrote: > I am trying to run the validate a SPML 2.0 schema using Netbeans. SPML > uses "Open Content Model" (see > http://lists.oasis-open.org/archives/provision-comment/200308/msg00001.html > ). When I try to validate, some of the schemas I get an error: > > ERROR: cos-nonambig: WC[##other:"urn:oasis:names:tc:SPML:2:0"] and > "urn:oasis:names:tc:SPML:2:0:search":query (or elements from their > substitution group) violate "Unique Particle Attribution". During > validation against this schema, ambiguity would be created for those two > particles. > on the SPML 1.0 schema > > I am sure this is due to the fact that many of the ComplexTypes extend from: > <complexType name="ExtensibleType"> > <!-- > <sequence> > <any namespace="##other" minOccurs="0" maxOccurs="unbounded" > processContents="lax"/> > </sequence> > <anyAttribute namespace="##other" processContents="lax"/> > --> > </complexType> > > and the any and anyAttribute tags are causing the UPA violation. > > Does Netbeans support Open Content Model? Is there a way to turn off > UPA checking? > > Julie > > -- > <http://www.sun.com> Julie Knight > Open ESB Community (http://open-esb.org) > > *Sun Microsystems, Inc.* > Phone 626/471-6208 (ext. 61208) / Fax 626/408-7208 > Email Julie.Knight@... > /Realize the brevity of life, so that you may grow in wisdom./ |
| Free Forum Powered by Nabble | Forum Help |