Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » XML Schema Definition (XSD) » Resolving a basetype reference in a different schema.
Resolving a basetype reference in a different schema. [message #56195] Mon, 13 December 2004 18:24 Go to next message
Dennis Fuglsang is currently offline Dennis FuglsangFriend
Messages: 77
Registered: July 2009
Member
Ed,

I have two XSD resources in my resouce set container, call them schemaA and
schemaB. If I set the basetype of a global simpletype in schemaA to
reference a simpletype in schemaB, when I save the resource for schemaA the
basetype reference is treated as an unresolved type definition. Do I need
to detect this situation and explicitly add an import or include declaration
to schemaA? Thanks in advance.

Dennis Fuglsang
Re: Resolving a basetype reference in a different schema. [message #56214 is a reply to message #56195] Mon, 13 December 2004 19:50 Go to previous message
Eclipse UserFriend
Originally posted by: merks.ca.ibm.com

Dennis,

Yes, you need to add imports/includes as appropriate to make the names
you want to reference visible.


Dennis Fuglsang wrote:

>Ed,
>
>I have two XSD resources in my resouce set container, call them schemaA and
>schemaB. If I set the basetype of a global simpletype in schemaA to
>reference a simpletype in schemaB, when I save the resource for schemaA the
>basetype reference is treated as an unresolved type definition. Do I need
>to detect this situation and explicitly add an import or include declaration
>to schemaA? Thanks in advance.
>
>Dennis Fuglsang
>
>
>
>
Re: Resolving a basetype reference in a different schema. [message #593193 is a reply to message #56195] Mon, 13 December 2004 19:50 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33136
Registered: July 2009
Senior Member
Dennis,

Yes, you need to add imports/includes as appropriate to make the names
you want to reference visible.


Dennis Fuglsang wrote:

>Ed,
>
>I have two XSD resources in my resouce set container, call them schemaA and
>schemaB. If I set the basetype of a global simpletype in schemaA to
>reference a simpletype in schemaB, when I save the resource for schemaA the
>basetype reference is treated as an unresolved type definition. Do I need
>to detect this situation and explicitly add an import or include declaration
>to schemaA? Thanks in advance.
>
>Dennis Fuglsang
>
>
>
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:Resolving a basetype reference in a different schema.
Next Topic:XSDConstrainingFacet.isConstraintSatisfied
Goto Forum:
  


Current Time: Thu Apr 18 23:38:54 GMT 2024

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

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

Back to the top