Re: Typo in RFC 2518?

Ben,
These are already known issues (the first is "MISSING_NS_SPEC" and the
second is "NS_BOOBOO") in the RFC2518 issues list
(http://www.webdav.org/wg/rfcdev/issues.htm).
All RFC2518 readers should (and, I suggest, all implementers 'must') read
the list of issues and their resolutions.
Regards,
Tim
 
 Ben Evans 
 <ben.evans@parasolsolut To: Deltav WG <ietf-dav-versioning@w3.org> 
 ions.com> cc: w3c-dist-auth@w3.org 
 Sent by: Subject: Typo in RFC 2518? 
 ietf-dav-versioning-req 
 uest@w3.org 
 
 
 18/04/2002 16:41 
 Please respond to Ben 
 Evans 
 
 
Hi,
I think I've found a couple of typos in RFC 2518.
Specifically:
Page 24, Section 8.1.1, RFC 2518:
----
 >>Response
 HTTP/1.1 207 Multi-Status
 Content-Type: text/xml; charset="utf-8"
 Content-Length: xxxx
 <?xml version="1.0" encoding="utf-8" ?>
 <D:multistatus xmlns:D="DAV:">
 <D:response>
<D:href>http://www.foo.bar/file</D:href>
 <D:propstat>
 <D:prop xmlns:R="
http://www.foo.bar/boxschema/">
 <R:bigbox>
<R:BoxType>Box type A</R:BoxType>
 </R:bigbox>
 <R:author>
<R:Name>J.J. Johnson</R:Name>
 </R:author>
 </D:prop>
 <D:status>HTTP/1.1 200
OK</D:status>
 </D:propstat>
 <D:propstat>
<D:prop><R:DingALing/><R:Random/></D:prop>
[snip]
----------
Here, this should read:
 <?xml version="1.0" encoding="utf-8" ?>
 <D:multistatus xmlns:D="DAV:">
 <D:response xmlns:R="http://www.foo.bar/boxschema/
">
<D:href>http://www.foo.bar/file</D:href>
 <D:propstat>
 <D:prop>
 <R:bigbox>
<R:BoxType>Box type A</R:BoxType>
 </R:bigbox>
 <R:author>
<R:Name>J.J. Johnson</R:Name>
 </R:author>
 </D:prop>
 <D:status>HTTP/1.1 200
OK</D:status>
 </D:propstat>
 <D:propstat>
<D:prop><R:DingALing/><R:Random/></D:prop>
...
-----
as otherwise, the namespace definition of R: will be out of scope by
the time the <R:DingALing/> tag is encountered.
And, on page 91:
-------
[snip]
23.4.2 Meaning of Qualified Names
 [Note to the reader: This section does not appear in
 [REC-XML-NAMES],
 but is necessary to avoid ambiguity for WebDAV XML processors.]
 WebDAV compliant XML processors MUST interpret a qualified name as
 a
 URI constructed by appending the LocalPart to the namespace name
 URI.
 Example
 <del:glider xmlns:del="http://www.del.jensen.org/">
<del:glidername>
Johnny Updraft
 </del:glidername>
<del:glideraccidents/>
</del:glider>
In this example, the qualified element name "del:glider" is
 interpreted as the URL "http://www.del.jensen.org/glider".
 <bar:glider xmlns:del="http://www.del.jensen.org/">
<bar:glidername>
Johnny Updraft
 </bar:glidername>
<bar:glideraccidents/>
</bar:glider>
[snip]
----------------
In the second example, the line:
<bar:glider xmlns:del="http://www.del.jensen.org/">
should read:
<bar:glider xmlns:bar="http://www.del.jensen.org/">
as otherwise the XML namespace bar is undefined, and a namespace
validating parser will barf.
Can someone shed some light on these. Are they typos or have I
missed something?
Ben

Received on Friday, 19 April 2002 04:00:46 UTC

AltStyle によって変換されたページ (->オリジナル) /