Next in thread → Next in month →

[relax-ng] Re: That default issue again.

From
Kohsuke KAWAGUCHI <>
Date
2001-10-17T20:19:39+00:00
ID
Thread
[relax-ng] Re: That default issue again.
> If I understand the XML spec correctly, #FIXED is NOT required, but if the
> #FIXED attribute is present, its value must match the default value. That is
> not the same as #REQUIRED, as the attribute must always be present but the
> value is not fixed. So I don't think #FIXED is exactly #REQUIRED +
> defaultValue. Have I got it right?

I see. OK. Then it would be

<optional>
  <attribute name="reference">
    <value>foobar</value>
  </attribute>
</optional>

regards,
--
Kohsuke KAWAGUCHI                          +1 650 786 0721
Sun Microsystems                   
Next in thread → Next in month →