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: Re: ID/IDREF strawman


> - for any key name x, for any text node n tagged as being keyref named x
> there must be a text node n' tagged as being a key named x such that the
> values of n and n' are equal

Does it implies "01" is not equal to "1" even when I use integer as the
type of key/keyref? This problem also introduces another problem of how
to handle whitespaces.


> - the content pattern must not allow elements or attributes

So

<key name="id">
  <choice>
    <data type="xsd:integer" />
    <data type="xsd:string" />
  </choice>
</key>

Is this allowed?




--
Kohsuke KAWAGUCHI                          +1 650 786 0721
Sun Microsystems                   kohsuke.kawaguchi@eng.sun.com



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


Powered by eList eXpress LLC