OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

relax-ng message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Subject: [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                   kohsuke.kawaguchi@sun.com



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Powered by eList eXpress LLC