Re: XLink 1.1: Xlink vs "legacy" linking

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 UTC