Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Imported schema(Does it work?)
Imported schema [message #698808] Wed, 20 July 2011 09:01 Go to next message
MarcoGT  is currently offline MarcoGT Friend
Messages: 77
Registered: May 2011
Member
Hi all,

in my XML file I am using a schema called schema2.xsd.
This schema (schema2.xsd) imports a schema called schema1.xsd but when I request proposal for attribute name not all values are listed inside the box, why?

[Updated on: Wed, 20 July 2011 10:52]

Report message to a moderator

Re: Imported schema [message #698943 is a reply to message #698808] Wed, 20 July 2011 14:22 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33140
Registered: July 2009
Senior Member
Is the imported schema being found? Can you provide a bit more detail
about what attributes are missing. Maybe the context doesn't allow them...


On 20/07/2011 2:01 AM, MarcoGT wrote:
> Hi all,
>
> in my XML file I am using a schema called schema2.xsd.
> This schema imports a schema called schema1.xsd but when I request
> proposal for attribute name not all values are listed inside the box,
> why?


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Imported schema [message #698955 is a reply to message #698943] Wed, 20 July 2011 14:43 Go to previous messageGo to next message
MarcoGT  is currently offline MarcoGT Friend
Messages: 77
Registered: May 2011
Member
Both schemas are in the same folder.

No, the context allows the "missing attribute", I am sure of that.

Which other information do you need?

The structure is:

XML file file requires schema2.xsd
schema2.xsd has got an "import" definition with schema1.xsd

[Updated on: Wed, 20 July 2011 14:44]

Report message to a moderator

Re: Imported schema [message #698995 is a reply to message #698955] Wed, 20 July 2011 15:02 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33140
Registered: July 2009
Senior Member
Marco

Comments below.

On 20/07/2011 7:43 AM, MarcoGT wrote:
> Both schemas are in the same folder.
And it's using relative imports?
>
> No, the context allows the "missing attribute", I am sure of that.
You're sure the main schema is being located and used?
>
> Which other information do you need?
Are the attributes defined in the first schema being suggested?


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:web fragments and META-INF/resources
Next Topic:"You may have mapped two namespaces with elements of the same name to the same package name&quo
Goto Forum:
  


Current Time: Wed Apr 24 21:55:59 GMT 2024

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

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

Back to the top