xnsdoc - Bug-24


Missing braces in model-description of a complex content model might lead to missleading and wrong presentation of the model.

Affected Releases

xnsdoc 1.2.2 and all older releases.




The following schema reproduces the problem.

<?xml version = "1.0" encoding = "UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:element name="foo">
            <xs:element name="a"/>
            <xs:element name="b"/>
          <xs:element name="c"/>

Release 1.2.2 generates the following content model description:

a, b, c | d, e

But the correct content model would be

a, (b, c | d), e

Safe Online Shopping

Payment options

Billing currencies

  • 1

Site Conformance

Valid XHTML 1.0 Transitional

Valid CSS!