commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <>
Subject Re: [betwixt] ID and IDREF attributes
Date Sun, 10 Feb 2002 16:11:34 GMT
Yes thats right. The only way to specify the ID and IDREF types is to use
DTDs or some other schema language. Its a shame this kinda stuff wasn't in
straight XML without the DTD/Schema layer being required but thats another

>From betwixt's perspective I guess the XMLBeanInfo should know what ID
attribute ('foo') and IDREF attribute ('fooRef') to use.

----- Original Message -----
From: "robert burrell donkin" <>
To: "Jakarta Commons Developers List" <>
Sent: Sunday, February 10, 2002 1:57 PM
Subject: [betwixt] ID and IDREF attributes

> the way that i read the xml spec, though 'id' and 'idref' are the most
> commonly chosen (conventional) attribute names for the unique attributes
> of type ID and IDREF, it is possible that each element could have
> different names. for example, in the same document an element <alpha>
> might  have attribute 'foo' specified as ID and 'fooRef' as IDREF whilst
> element <beta> uses attributes 'foobar' and 'foobarRef'.
> am i right?
> - robert
> --
> To unsubscribe, e-mail:
> For additional commands, e-mail:

Do You Yahoo!?
Get your free address at

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message