Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » Imported schema(Does it work?)
Imported schema [message #698808] Wed, 20 July 2011 05:01 Go to next message
MarcoGT  is currently offline MarcoGT
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 06:52]

Report message to a moderator

Re: Imported schema [message #698943 is a reply to message #698808] Wed, 20 July 2011 10:22 Go to previous messageGo to next message
Ed Merks is currently offline Ed Merks
Messages: 25942
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?
Re: Imported schema [message #698955 is a reply to message #698943] Wed, 20 July 2011 10:43 Go to previous messageGo to next message
MarcoGT  is currently offline MarcoGT
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 10:44]

Report message to a moderator

Re: Imported schema [message #698995 is a reply to message #698955] Wed, 20 July 2011 11:02 Go to previous message
Ed Merks is currently offline Ed Merks
Messages: 25942
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?
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: Tue Jul 29 19:03:11 EDT 2014

Powered by FUDForum. Page generated in 0.04347 seconds