Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » XML Schema Definition (XSD) » help with ref attribute
help with ref attribute [message #577389] Tue, 09 September 2003 16:50
Lance Phillips is currently offline Lance Phillips
Messages: 210
Registered: July 2009
Senior Member
All,
I'm running into a problem when using the ref attribute. When I iterate
of the contents of the xsd model, when I get to the element that it a ref to
another, the ref does not resolve correctly. When I do an
elementRef.getResolvedElementDeclaration it does not == the referenced
element. Furthermore, the returned element has no content. I've attached a
simple schema that reproduces my problem.

We are using ver 1.1.0 of the xsd plugin.

Steps to reproduce...
1) Load the attached xsd into an XsdResource
2) Iterate to the element that is a ref.
3) Get the resolvedElementDeclaration from the elementRef and compare it to
the referenced element (that is visible by inspecting the XsdResource).

What am I missing!!!

thanks,

lp


Previous Topic:Treatment of annotation documentation in ecore builder
Next Topic:Ecore mapping of simple types
Goto Forum:
  


Current Time: Wed Aug 20 10:55:11 EDT 2014

Powered by FUDForum. Page generated in 0.02024 seconds