[DAS2] hrefs and xml:base
ed_erwin at affymetrix.com
Fri May 6 18:30:00 UTC 2005
That also clears-up another question I had asked earlier (although I
can't find the e-mail where I asked it.)
Anyway, the question had come-up whether the contents of the 'id'
attribute should be URLEncoded inside the xml document. Based on this
xmlbase spec, the answer is NO. The contents of the id attributes
should be XMLEncoded when necessary, but the URLEncoding will happen
during the process of converting the attribute value to a URL.
"processors must encode and escape these characters to obtain a valid
URI reference from the attribute value"
If the XML attribute value is already URLEncoded, this process would
result in double-encoding.
Andrew Dalke wrote:
>> Is there some more complete specification of xml:base that states
>> whether these complicated things are allowed?
> They are allowed. The xml:base can be contained in another xml:base
> and they interact as you described.
> The spec is at http://www.w3.org/TR/xmlbase/
> dalke at dalkescientific.com
> DAS2 mailing list
> DAS2 at portal.open-bio.org
More information about the DAS2