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

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.

Best Regards,
George Cristian Bina
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger

On 2/6/14, 11:28 AM, Michael Kay wrote:
On 5 Feb 2014, at 21:55, Norman Walsh <ndw@nwalsh.com> wrote:

Michael Kay <mike@saxonica.com> writes:
I can think of plenty of reasons not to use ID/IDREF without that one.
#1 being that you need one of those ghastly DTDs.
Not if you name your ID attributes 'xml:id'.

Doesn't help on the IDREF side...

Michael Kay


XML-DEV is a publicly archived, unmoderated list hosted by OASIS
to support XML implementation and development. To minimize
spam in the archives, you must subscribe before posting.

[Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
Or unsubscribe: xml-dev-unsubscribe@lists.xml.org
subscribe: xml-dev-subscribe@lists.xml.org
List archive: http://lists.xml.org/archives/xml-dev/
List Guidelines: http://www.oasis-open.org/maillists/guidelines.php

[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