RE: Fwd: Moving exc-c14n forward: your response is needed!
"Jonathan Marsh" <[email protected]>
| Newsgroups | gmane.ietf.xmldsig |
|---|---|
| Message-ID | <330564469BFEC046B84E591EB3D4D59C05C06092@red-msg-08.redmond.corp.microsoft.com> |
No, parent means immediate parent. To determine the base URI of the parent, you recursively apply the rules. An intermediate ancestor may have an xml:base attribute on it. > -----Original Message----- > From: Joseph Reagle [mailto:[email protected]] > Sent: Wednesday, April 24, 2002 10:51 AM > To: Jonathan Marsh; Martin Duerst; [email protected]; Philippe Le > Hegaret > Cc: [email protected]; [email protected]; [email protected] > Subject: Re: Fwd: Moving exc-c14n forward: your response is needed! > > On Monday 22 April 2002 16:38, Jonathan Marsh wrote: > > > ... the question is whether > > > xml:base="" means 'the current document is the base' or it means > > > 'don't change the base you have', or it is undefined. > > > > xml:base="" means don't change the base you have. An empty string is > > treated as any other relative URI. > > Thanks for the clarification. As an aside, when the XML Base > specifications > refers to "parent" [1] it means "ancestor", right? > > > <GrandParent> > <GrandParent> > <GrandParent> > > > [1] http://www.w3.org/TR/xmlbase/#granularity > The base URI of an element is: > > 1. the base URI specified by an xml:base attribute on the element, if one > exists, otherwise > 2. the base URI of the element's parent element within the document or > external entity, if one exists, otherwise > 3. the base URI of the document entity or external entity containing the > element.