Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » xs:IDREFS to ???
xs:IDREFS to ??? [message #426727] Mon, 19 January 2009 16:30 Go to next message
drew frantz is currently offline drew frantzFriend
Messages: 340
Registered: July 2009
Senior Member
We are moving away from xs:IDREF to xs:anyURI. What is the equivalent
mapping of xs:IDREF's if we need a collection of xsanyURI? The schema
mapping document is not very clear in this area.

I essentially want an unbounded collection just like before when I used
xs:IDREFS
Re: xs:IDREFS to ??? [message #426756 is a reply to message #426727] Tue, 20 January 2009 04:20 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33140
Registered: July 2009
Senior Member
Drew,

Comments below.

drew wrote:
> We are moving away from xs:IDREF to xs:anyURI. What is the equivalent
> mapping of xs:IDREF's if we need a collection of xsanyURI?
You'll need to define a list type based on anyURI exactly like
xsd:IDREFS is based on xsd:IDREF or have an element with maxOccurs > 1.
> The schema
> mapping document is not very clear in this area.
>
> I essentially want an unbounded collection just like before when I used
> xs:IDREFS
>
Look closely at how IDREFS is defined in the schema for schemas and do
the same thing but with anyURI...
>
>
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:Resource$IOWrappedException on saving item in EMF editor
Next Topic:Is there an example/whitepaper of custom proxy resolution.
Goto Forum:
  


Current Time: Thu Apr 25 10:58:15 GMT 2024

Powered by FUDForum. Page generated in 0.02644 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top