FeaturesPluginsDocs & SupportCommunityPartners

NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

NB XML Validation and Open Content Model

 
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Developers
View previous topic :: View next topic  
Author Message
Julie Knight
Posted via mailing list.





PostPosted: Wed Sep 03, 2008 7:34 pm    Post subject: NB XML Validation and Open Content Model Reply with quote

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


--
[/url] Julie Knight
Open ESB Community ([url=http://open-esb.org]http://open-esb.org
)


Sun Microsystems, Inc.
Phone 626/471-6208 (ext. 61208) / Fax 626/408-7208
Email address-removed ([email]address-removed[/email])
Realize the brevity of life, so that you may grow in wisdom.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Developers All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB