Re: ID/IDREF strawman

From
Kohsuke KAWAGUCHI <>
Date
2001-05-04T03:47:15+00:00
ID
Thread
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