W3C home > Mailing lists > Public > www-xml-linking-comments@w3.org > July to September 2005

XLink 1.1: Schema issues

From: Webb Roberts <webb.roberts@gtri.gatech.edu>
Date: Mon, 11 Jul 2005 10:31:39 -0400
Message-ID: <42D282CB.3000906@gtri.gatech.edu>
To: www-xml-linking-comments@w3.org

Regarding http://www.w3.org/TR/2005/WD-xlink11-20050707/

I feel that the schema provided in appendix C has issues, and should be revised.  The specification clearly specifies a number of attributes that should appear within the XLink namespace.  I beleive that those should be the ONLY artifacts defined within the XLink namespace by a sample schema.  Any other required or supporting types or elements should be placed in an auxiliary namespace, as defined by a separate schema.

Any other interpretation will result in schema implementations depending on non-specified artifacts, creating an unnecessary binding between normative specification and specific schemas.

For example, if I create a set of schemas, and I depend on type "xlink:roleType", then I am depending on non-normative artifacts.  Substitution of other, specification-compliant schema implementations will cause my schemas to break.  It digs a big hole.  A better schema implmentation would specify ONLY normative components in the spec-defined namespace, and relegate all other content to an explicitly non-normative namespace.  

I would recommend using anonymous types to define all attributes defined by the specification.  I do not believe named supporting types are necessary.  I would be willing to write a schema draft, if necessary.

Note that this solution also obviates the requirement to import the xml namespace.

Artifacts defined by the schema, but not the specification, include:

  Types: xlink:typeType, xlink:hrefType, xlink:roleType, xlink:arcroleType, xlink:titleAttrType, xlink:showType, xlink:actuateType, xlink:labelType, xlink:fromType, xlink:toType, xlink:simple, xlink:extended, xlink:titleEltType, resourceType, locatorType, arcType

  Elements: title, resource, locator, arc

Thanks,
Webb Roberts

-- 
Webb Roberts (webb.roberts@gtri.gatech.edu)
Research Scientist, Georgia Tech Research Institute
Atlanta, GA  404-385-0181
Received on Monday, 11 July 2005 14:34:28 GMT

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