[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: adding xlink:type attribute

Hi John,

OK, so my adding xlink:type="simple" does not break anything.  Good.


3.2 Markup Conformance

An XML element conforms to XLink if:


      it has a |type| attribute from the XLink namespace whose value
      is one of "simple", "extended", "locator", "arc", "resource",
      "title", or "none", and


      it adheres to the conformance constraints imposed by the chosen
      XLink element type, as prescribed in this specification.

So I am asking, politely I hope, to make xlink:type required, so that we conform to the xlink spec.
For starters, could all the thredds files that you generate have that attribute?


John Caron wrote:

we do already allow the "show" and "type" attribute on an Xlink, see:


XLink Attribute Group

 <xsd:attributeGroup name="XLink">
   <xsd:attribute ref="xlink:href" />
   <xsd:attribute ref="xlink:title" />
   <xsd:attribute ref="xlink:show"/>
   <xsd:attribute ref="xlink:type" />

These are attributes from the XLink specification <http://www.w3.org/TR/xlink/> that are used to point to another web resource. The /xlink:href/ attribute is used for the URL of the resource itself. The /xlink:title/ attribute is what should be displayed to the user. These are the only two attributes currently used in the THREDDS software.You can also add the /xlink:type /or/ xlink:show /attributes/. /

-- Dr. M. Benno Blumenthal address@hidden International Research Institute for climate prediction The Earth Institute at Columbia University Lamont Campus, Palisades NY 10964-8000 (845) 680-4450

NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.