W3C home > Mailing lists > Public > w3c-dist-auth@w3.org > October to December 2001

XML in RFC 2518 section 8.1.1 example

From: Jim Whitehead <ejw@cse.ucsc.edu>
Date: Tue, 20 Nov 2001 09:39:07 -0800
To: "WebDAV" <w3c-dist-auth@w3.org>
Message-ID: <AMEPKEBLDJJCCDEJHAMIKEAGDMAA.ejw@cse.ucsc.edu>
Wow, even knowing where to look, I still had to look twice.  Yes, this is
definitely an error -- we need to either move the xmlns declaration up into
the response element, or add a second declaration of it.

- Jim

> > > 2) Example 8.1.1 in RFC2518 (response) isn't wellformed.
> >
> > Which is the offending element. This looks OK to me.
>
> ~/dav-validation> saxon exmpl-8.1.1.f.2.xml ../identity.xslt
> Error on line 17 column 26 of
> file:/c:/reschke/dav-validation/exmpl-8.1.1.f.2.xml:
>   Error reported by XML parser: undeclared name prefix in: R:DingALing
> Error on line 17 column 26 of
> file:/c:/reschke/dav-validation/exmpl-8.1.1.f.2.xml:
>   Error reported by XML parser: undeclared name prefix in: R:DingALing
> Error on line 17 column 32 of
> file:/c:/reschke/dav-validation/exmpl-8.1.1.f.2.xml:
>   Error reported by XML parser: undeclared name prefix in: R:Random
> Error on line 17 column 32 of
> file:/c:/reschke/dav-validation/exmpl-8.1.1.f.2.xml:
>   Error reported by XML parser: undeclared name prefix in: R:Random
> Error
>   XML Parsing failed
> Transformation failed: run-time errors were reported
>
Received on Tuesday, 20 November 2001 12:39:25 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 2 June 2009 18:43:59 GMT