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 #2



> I don't want to do this, because I don't think it's well-defined in XML
> Schema.  With my proposal, TREX could consider two datatypes equivalent if
> they have the same name and same set of parameters.

There lies a trap. Those two might be different types.

<data type="xsd:qname">
  <param name="enumeration" value="foo:foo" />
</data>

<data type="xsd:qname">
  <param name="enumeration" value="foo:foo" />
</data>

You can't tell whether "foo:foo" is a qname unless you know something
about xsd:qname.


But one can certainly argue that this is a corner case.

--
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