- From: Joseph M. Reagle Jr. <reagle@w3.org>
- Date: Wed, 31 May 2000 11:33:38 -0400
- To: "Thomas Maslen" <maslen@pobox.com>
- Cc: Hugo Haas <hugo@w3.org>, "IETF/W3C XML-DSig WG" <w3c-ietf-xmldsig@w3.org>
That's a good idea, so I tried that, but that doesn't change the fragment problem from what I can see. It would fix the relative URLs to other files, but it really isn't my intent for those documents to be read from the namespace URL. (I could fix them in other ways too). Though, maybe we should give that more thought. Because then if people want to use xsi:schemaLocation, should the schema location be given as http://www.w3.org/TR/2000/WD-xmldsig-core-20000510/xmldsig-core-schema.xsd or http://www.w3.org/2000/02/xmldsig#/xmldsig-core-schema.xsd ? I think I prefer the first because that will never change, though there might be slight tweaks in the thing found at the latter (and it's kind of weird.) So for the time being, I'll stick with an apache redirect from the namespace to the actual spec. (Unfortunately, most browsers will mess it up when it comes to finding the actual part of the spec that relates to that specific namespace, like: http://www.w3.org/2000/02/xmldsig#sha1 ) At 12:28 PM 5/31/00 +1000, Thomas Maslen wrote: >> However, most browsers behave inconsistently with respect to fragment >> identifiers in redirects. > >Ouch. > >For whatever it's worth, I added > > <base HREF="http://www.w3.org/TR/2000/WD-xmldsig-core-20000510/"> > >to the document, and then used something equivalent to your original symlink >approach. > >With this setup, the browser did the right thing with a fragment ID, and the >relative URLs in the document also worked happily. > >Disclaimer: I only tried this with one browser on one platform, so it's a >long way from being conclusive, and for all I know the <BASE> may break >something else. > >Thomas Maslen >maslen@pobox.com > _________________________________________________________ Joseph Reagle Jr. W3C Policy Analyst mailto:reagle@w3.org IETF/W3C XML-Signature Co-Chair http://www.w3.org/People/Reagle/
Received on Wednesday, 31 May 2000 11:33:45 UTC