I believe that it was pointed out before that a return value of -1,
not 1, indicates a successful match against the content model. The
return value of 1 indicates that the child at children[offset + 1]
is either incorrect or missing. In your example it is missing.
Regards,
Glenn
- Patch for org.apache.xerces.impl.dtd.models.SimpleContentMod... Justin Lipton
- Re: Patch for org.apache.xerces.impl.dtd.models.SimpleC... Justin Lipton
- Re: Patch for org.apache.xerces.impl.dtd.models.SimpleC... sandygao
- Re: Patch for org.apache.xerces.impl.dtd.models.SimpleC... Glenn Marcy
- Re: Patch for org.apache.xerces.impl.dtd.models.Sim... Justin Lipton
- Re: Patch for org.apache.xerces.impl.dtd.models... Justin Lipton
