[xsd-users] NoEntry exception from FrontendElements::Context

Boris Kolpackov boris at codesynthesis.com
Tue Apr 15 10:04:32 EDT 2014


Hi Ray,

Ray Lischner <rlischner at proteuseng.com> writes:

>     <sequence>
>      <element name="a" type="int"/>
>      <element name="b" type="int"/>
>     </sequence>
>     <sequence>
>       <element name="b" type="int"/>
>     </sequence>

You need to ignore the second 'b' element since it has been "flattened"
into the first occurrence. If you look at other XSD code, (e.g.,
MemberFunction in tree-header.cxx), you will see this:

if (skip (m))
  return;

You need to also have something like this.

Boris



More information about the xsd-users mailing list