[eml-dev] [Bug 2147] - EML Stylesheet problem with web address URL's

bugzilla-daemon at ecoinformatics.org bugzilla-daemon at ecoinformatics.org
Tue May 20 14:39:28 PDT 2008


http://bugzilla.ecoinformatics.org/show_bug.cgi?id=2147


bowdish at nceas.ucsb.edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |




------- Comment #4 from bowdish at nceas.ucsb.edu  2008-05-20 14:39 -------
It looks like the distribution URL could use the same fix as the other place
that the web address is entered in. When a URL starts with www instead of
http:// the link is changed to
http://dev.nceas.ucsb.edu/knb/www.calliebowdish.com/SnowyPlover.htm on the
webpage

<distribution scope="document">
<online>
<url function="download">www.calliebowdish.com/SnowyPlover.htm</url>
</online>
</distribution>

The html file that gets generated is correct but the browser adds the domain
address to href="www ... " type of references. If they have "http://" such as 
href="http://www..."
then the domain address is not added by the browser

If someone does not put the http:// as part of their address in the
distribution URL we need to add it. Something like this documented fix will do
that.

Here is the dp that has the problem
http://knb.ecoinformatics.org/knb/metacat/nceas.889.1/nceas and the section
that doesn't work

<tr>
<td width="15%" class="highlight">Download File:  </td><td width="85%"
class="secondCol"><a href="www.calliebowdish.com/SnowyPlover.htm"
target="_blank">www.calliebowdish.com/SnowyPlover.htm</a></td>


More information about the Eml-dev mailing list