- From: Paul Kiel <paul@xmlhelpline.com>
- Date: Thu, 19 Jul 2007 09:50:53 -0400
- To: "'Rania Stathopoulou'" <iostath@ekt.gr>, <xmlschema-dev@w3.org>
- Message-ID: <F59A286C5EE24790BCAEC848286F0D20@xmlguy>
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@xmlhelpline.com 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@w3.org [mailto:xmlschema-dev-request@w3.org] On Behalf Of Rania Stathopoulou Sent: Monday, July 16, 2007 8:44 AM To: xmlschema-dev@w3.org 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
Received on Thursday, 19 July 2007 13:51:08 UTC