W3C home > Mailing lists > Public > www-xml-linking-comments@w3.org > January to March 2006

Re: XLink 1.1: Xlink vs "legacy" linking

From: Webb Roberts <webb.roberts@gtri.gatech.edu>
Date: Tue, 24 Jan 2006 10:48:21 -0500
Message-ID: <43D64C45.2020107@gtri.gatech.edu>
To: Norman Walsh <Norman.Walsh@Sun.COM>
Cc: Bjoern Hoehrmann <derhoermi@gmx.net>, www-xml-linking-comments@w3.org

On 1/24/2006 Norman Walsh wrote:
> The XLink attributes are not allowed on XHTML elements: they aren't in
> the XHTML schema.

Attributes from other namespaces are allowed in XHTML elements.

See, for example, the definition for a.attlist:

http://www.w3.org/TR/2001/WD-xhtml-m12n-schema-20010322/schema_module_defs.html#a_smodule_Text

<xsd:attributeGroup name="a.attlist">
     ...
     <xsd:anyAttribute namespace="##other"/>
</xsd:attributeGroup>
<xsd:complexType name="a.type" mixed="true">
     <xsd:group ref="InlNoAnchor.mix"/>
     <xsd:attributeGroup ref="a.attlist"/>
</xsd:complexType>
<xsd:element name="a" type="a.type"/>

Webb

-- 
Webb Roberts (webb.roberts@gtri.gatech.edu)
Research Scientist, Georgia Tech Research Institute
Atlanta, GA  (404)407-6181
Received on Tuesday, 24 January 2006 15:48:58 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 October 2009 08:39:46 GMT