XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
Re: [xml-dev] ID/IDREF is evil

On 8 Feb 2014, at 10:10, George Cristian Bina <george@oxygenxml.com> wrote:

> Hi Mike,
> 
> I am not sure I understand the need for DTDs... You can use xs:ID and xs:IDREF/xs:IDREFS in XML Schema, isn't it? And <data type="ID"/>, etc. in Relax NG.
> 

Yes, but if you're using XML Schema you don't need ID/IDREF, because you can use key/keyref which is far more flexible (though still, sadly, scoped to a single document).

Michael Kay
Saxonica



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


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS