|help with ref attribute [message #577389]
||Tue, 09 September 2003 16:50
| Lance Phillips
Registered: July 2009
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!!!
Powered by FUDForum
. Page generated in 0.01586 seconds