Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


RE: dc and dcterms in the same schema

From: "Paul Kiel" <paul@-----------.--->
To: "'Rania Stathopoulou'" <iostath@---.-->, <xmlschema-dev@--.--->
Date: 7/19/2007 5:51:00 AM
Rania,

 

The UPA message means the content model is ambiguous, meaning for a given
instance the parser may not be able to tell how to match a node with a
specific declaration to validate it.  This can occur with the use of xsd:any
or with repeated includes of the same element or with "unbounded"
occurrences.  Would need to see your schema to find the problem.

 

Regarding the includes, you could create a local copy of the included
schemas and remove the unwanted elements from it.  As long as they are not
required, an instance of the edited version should validate against the
unedited one.  Then include your local edited copy.  (And BTW - shouldn't
you use imports rather than includes since you want to use your own
namespace instead of DC's?)

 

Paul Kiel

 

 

=====================================================

W. Paul Kiel

xmlHelpline.com Consulting

paul@x...

work: 919-846-0224

cell: 919-449-8801

website: http://www.xmlhelpline.com

Your helpline for Xml, Xslt, and data integration solutions.

=====================================================

 

 

 

  _____  

From: xmlschema-dev-request@w... [mailto:xmlschema-dev-request@w...] On
Behalf Of Rania Stathopoulou
Sent: Monday, July 16, 2007 8:44 AM
To: xmlschema-dev@w...
Subject: dc and dcterms in the same schema

 

Hello! 

I am a bit new at this. I'm trying to construct a schema that would include
some elements of the simple dc and some elements of the dcterms, meaning
that it won't accept all the others. I have managed to do this, but when a
include some elements of the dcterms e.g. I have dc:title and
dcterms:alternative, it tells me that I violate the Unique Particle
Atribution rule. Is there any way to bypass this? And is this thinking
(including only some elements of the dc and dcterms) correct? Any help would
be deeply appreciated... 

Thank you in advance!

 Rania



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