<textArea> in 1.2T RNG

The <textArea> element in the SVG 1.2 Tiny RNG is defined as:

  <element name='textArea'>
    <ref name='textArea.AT'/>
    <zeroOrMore>
      <choice>
        <element name='tspan'>
          <ref name='tspan.AT'/>
          <zeroOrMore>
            <choice>
              <ref name='tbreak'/>
              <ref name='svg.TextCommon.group'/>
            </choice>
          </zeroOrMore>
        </element>
        <ref name='svg.TextCommon.group'/>
      </choice>
    </zeroOrMore>
  </element>

AFAICT, since svg.TextCommon.group does not allow a <tbreak> in it, this
disallows content such as:

  <textArea>
    <tbreak/>
  </textArea>

and:

  <textArea>
    <tspan>
      <tspan><tbreak></tspan>
    </tspan>
  </textArea>

both of which are used by tests in the test suite.

-- 
Cameron McCormack ≝ http://mcc.id.au/

Received on Tuesday, 12 May 2009 07:22:45 UTC