← Prev in month ← Prev in thread
Next in thread → Next in month →

re: Issue: overriding attributes

From
<>
Date
2001-07-06T14:10:51+00:00
ID
Thread
re: Issue: overriding attributes
On 05/07/2001 16:00:11 David RR Webber wrote:

>Message text written by James Clark
>>
>Is this a capability we need for RELAX 1.0?
>
>James
><<<<<<<<<<<<<<<<
>
>James,
>
>From a business point of view I would say 'No'!

From a business point of view, I would say 'Yes'.  Simple XLinks have 3 attributes - xlink:type, xlink:href, and xlink:role.  Now xlink:type is fixed ("simple"), and xlink:href is likely to always be set within an instance document.  However, xlink:role is an attribute that cannot be fixed within the XLink spec itself, but which you might like to fix within a Schema rather than separately in every instance document.  For example, I have sometimes used it to indicate the kind of element to which the link is allowed to point.  For this reason alone, the ability to override attribute definitions (as XML Schema can) should be included in RELAX-NG.

     Cheers,
          Tony.
========
Anthony B. Coates
(1) Content Distribution Architect - Project Gazelle
(2) Leader of XML Architecture & Design - Chief Technology Office
Reuters Plc, London.

========



-----------------------------------------------------------------
        Visit our Internet site at http://www.reuters.com

Any views expressed in this message are those of  the  individual
sender,  except  where  the sender specifically states them to be
the views of Reuters Ltd.
← Prev in month ← Prev in thread
Next in thread → Next in month →