On Apr 5, 2006, at 09:05, Eric van der Vlist wrote:
>> Doh. I meant
>> attribute form {
>> "" | xsd:IDREFS
>> }
>
> This is forbidden per the first bullet point of the spec
> (http://relaxng.org/compatibility-20011203.html#id):
>
> * "its parent is an attribute element"
So it appears. :-(
> ID/IDREF/IDREFS have been introduced in RNG as a "DTD Compatibility"
> feature. They try to mimic DTDs and have pretty much all the
> restrictions of DTDs (in other word, if you want to use them to do
> something a DTD can't do you're very likely out of luck!).
Well, fortunately the lexical space of datatypes with the ID-type ID
is not restricted to NCName. So there is something that can be done
that DTDs cannot do.
Thanks.
--
Henri Sivonen
[EMAIL PROTECTED]
http://hsivonen.iki.fi/
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/rng-users/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/