Re: [xml] parser warning: URI is not absolute
- From: Daniel Veillard <veillard redhat com>
- To: "Oleg A. Paraschenko" <olpa xmlhack ru>
- Cc: xml gnome org
- Subject: Re: [xml] parser warning: URI is not absolute
- Date: Wed, 8 Dec 2004 04:11:45 -0500
On Wed, Dec 08, 2004 at 09:11:19AM +0300, Oleg A. Paraschenko wrote:
Hello,
while parsing the document
<doc xmlns='my-ns1'/>
I get the error:
test.xml:1: warning: xmlns: URI my-ns1 is not absolute
What is the reason to issue the warning? I haven't found anything
in the "Namespaces in XML 1.1" recommendation that recommends to do so.
Well then you have misssed a big debate which went afterward:
- a relatively clear description of the problem can be found at
http://www.xml.com/pub/a/2000/05/24/deviant/
- the official W3C result
http://www.w3.org/2000/09/xppa
In a nutshell:
"the use of relative URI references in namespace declarations are deprecated"
It's still conformant to the spec, that's why it's only a warning at the
libxml2 level.
If you really want to understand why, you can read the archives of the
xml-uri list for May-June 2000
http://lists.w3.org/Archives/Public/xml-uri/
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]