Re: [xml] c14n



On Tue, Mar 15, 2005 at 05:25:50PM +0100, Martijn van Beers wrote:
On Tue, 2005-03-15 at 07:38 -0800, Aleksey Sanin wrote:
Then it fails in "relative namespace" check inside C14N
(see notes in section 2.1 of c14n spec:
http://www.w3.org/TR/2001/REC-xml-c14n-20010315)

from my reading of http://webdav.org/specs/rfc2518.html#rfc.section.18
"DAV:" is an absolute URL, not a relative one. Or am I misunderstanding

  According to my reading of RFC2396 it's not !

absoluteURI   = scheme ":" ( hier_part | opaque_part )
hier_part     = ( net_path | abs_path ) [ "?" query ]
net_path      = "//" authority [ abs_path ]
abs_path      = "/"  path_segments

  there is no / after the : so it can't be a hier_part

opaque_part   = uric_no_slash *uric
uric_no_slash = unreserved | escaped | ";" | "?" | ":" | "@" |
                    "&" | "=" | "+" | "$" | ","

and absolute URI requires something after the : in that case too.

you and/or the note in the c14n spec?

either way, it would be nice if the error reported explained the problem
a bit better.

  that I agree with,

Daniel

-- 
Daniel Veillard      | Red Hat Desktop team http://redhat.com/
veillard redhat com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]