|XSDWildcard distingishing between an actual xs:any and an implied any [message #597399]
||Thu, 29 December 2005 04:15
| Francis Upton IV
Registered: July 2009
Location: Oakland, CA
The XSDWildcard seems to be emitted in the case where an element has no |
type information; and it is also emitted in response to an actual xs:any
element appearing in the schema.
In both cases, the XSDWildcard appears the same (surprisingly it refers
to a DOM element from Xerces of xs:any).
I'm doing an implementation where I create a tree of elements, and I
need to distinguish these two cases. In the case of an explicit xs:any
element appearing in a schema, I need to take a different action from
the case where an element is simply untyped.
Right now, I determine the difference by seeing if the parent of the
enclosing particle is an XSDModelGroup which has more than one child.
In this case, I assume I'm working with an explicit xs:any.
Does this seem right? Is there a better way to go?
Powered by FUDForum
. Page generated in 0.02735 seconds