[Standards-JIG] proto-JEP: SVG Whiteboarding

Bishop, Michael W. CONTR J9C880 Michael.Bishop at je.jfcom.mil
Thu Aug 24 21:13:26 CDT 2006


>> Attribute (4.6.3):  The "attribute" section lacks the ability to specify a
>> namespace on the changes.

> For now I was just using something like name="xlink:href" but perhaps
> it'd be more elegant to say something like <attribute prefix='xlink'
> name='href'/>... Is that what you meant?

Close, but not quite.  You can't assume that a namespace will always be defined at the root of the document, so for some elements you may have to import a namespace.  Giving more thought to it, it may work with your current model with two entries:

<attribute name="xmlns:xlink" value="http://www.w3.org/1999/xlink <http://www.w3.org/1999/xlink> "/>

<attribute name="xlink:href" value="http://www.jabber.org"/>

Together, the above entries should inline a reference to the xlink namespace and also define an xlink-namespaced attribute "href".

Michael Bishop

 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/ms-tnef
Size: 3865 bytes
Desc: not available
Url : http://mail.jabber.org/pipermail/standards/attachments/20060824/e68905f1/attachment.bin


More information about the Standards-JIG mailing list