Re: [xml] libxml2 - relaxng.c unimplemented block



Sorry this is a bit long - that's why I didn't post it
all the first time! I've tried to simplify it as much
as possible.
Here's some code that does not validate properly:

<?xml version="1.0" ?>
<base>
  <data>secondValue</data> 
  <option>
    <value>how</value>
    <label>some</label>
  </option>
  <option>
    <value>this</value>
    <label>more</label>
  </option>
</base>

when validated against the relaxng:

<element name="base"
xmlns="http://relaxng.org/ns/structure/1.0";>
  <choice>
    <group>
      <element name="data"> 
        <value>firstValue</value>
      </element>
      <oneOrMore>
        <element name="option">
          <element name="value">
            <text/>
          </element>
          <element name="label">
            <text/>
          </element>
        </element>
      </oneOrMore>
    </group>
    <group>
      <element name="data"> 
        <value>secondValue</value>
      </element>
      <oneOrMore>
        <element name="option">
          <element name="value">
            <text/>
          </element>
          <element name="label">
            <text/>
          </element>
        </element>
      </oneOrMore>            
    </group>
  </choice>
</element>

In this case one of the errors produced is:
Unimplemented block at relaxng.c:10341

I hope that's more useful.

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]