Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » XML Schema Definition (XSD) » help with ref attribute
help with ref attribute [message #577389] Tue, 09 September 2003 20:50
Lance Phillips is currently offline Lance PhillipsFriend
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: Fri Apr 26 21:17:52 GMT 2024

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

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

Back to the top