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 
  

Re: 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
Vladimir Yaroslavskiy
Posted via mailing list.





PostPosted: Thu Sep 04, 2008 8:33 am    Post subject: Re: NB XML Validation and Open Content Model Reply with quote

Hi,

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:
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

--
<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 address-removed
/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