W3C home > Mailing lists > Public > w3c-ietf-xmldsig@w3.org > October to December 1999

RE: Two questions about Location

From: John Boyer <jboyer@uwi.com>
Date: Thu, 14 Oct 1999 07:58:29 -0700
To: "Joseph M. Reagle Jr." <reagle@w3.org>
Cc: "DSig Group" <w3c-ietf-xmldsig@w3.org>
Message-ID: <NDBBLAOMJKOFPMBCHJOIKEJOCBAA.jboyer@uwi.com>
Hi Joseph,

At 21:49 99/10/12 -0700, John Boyer wrote:
 >Originally, I had thought that an empty Location (or one that starts with
a
 ># fragment if we allow fragments in Location) should mean 'this' document.

John, the typical way of referring to "this document" is
        <a href="">this document</a>
This is why fragment IDs are interprated the way they are when no URI
precedes them. [1]

I believe people are speaking of what happens when you don't provide the
location element itself, then assume it is implicit to the context.

This must also be distinguished from what happens when you have a location
element but no attribute, did the DTD define a default attribute value?

<John>
Right, and this is what was sort of giving me headaches.  I guess I don't
mind if we make this rule saying that no Location means something different
from an empty Location, but this seemed a bit weird at the time.

John Boyer
Software Development Manager
UWI.Com -- The Internet Forms Company

</John>

In order to keep some grasp on all this optionality, I'd prefer we have
don't specify lots of optionality in the natural language nor that we rely
upon XML/DTD attribute definition defaults.

___

[1] http://www.ietf.org/rfc/rfc2396.txt

4.2. Same-document References

   A URI reference that does not contain a URI is a reference to the
   current document.  In other words, an empty URI reference within a
   document is interpreted as a reference to the start of that document,
   and a reference containing only a fragment identifier is a reference
   to the identified fragment of that document.  Traversal of such a
   reference should not result in an additional retrieval action.
   However, if the URI reference occurs in a context that is always
   intended to result in a new request, as in the case of HTML's FORM
   element, then an empty URI reference represents the base URI of the
   current document and should be replaced by that URI when transformed
   into a request.



_________________________________________________________
Joseph Reagle Jr.
Policy Analyst           mailto:reagle@w3.org
XML-Signature Co-Chair   http://w3.org/People/Reagle/
Received on Thursday, 14 October 1999 10:58:05 GMT

This archive was generated by hypermail 2.2.0 + w3c-0.29 : Thursday, 13 January 2005 12:10:08 GMT