Re: [xml] Strange xml:base/CWD problem
- From: Daniel Veillard <veillard redhat com>
- To: Frans Englich <frans englich telia com>
- Cc: xml gnome org
- Subject: Re: [xml] Strange xml:base/CWD problem
- Date: Sun, 19 Dec 2004 15:37:14 -0500
On Mon, Dec 13, 2004 at 06:20:46PM +0000, Frans Englich wrote:
Hello,
I have a validation problem which is dependent on what the current working
directory is. My documents/schemata are quite large, so perhaps someone has a
clue what the problem could be before I start digging through, for finding
the bug, or my mistake.
This is the output:
bash-2.05b$ xmllint --nonet --noout --schema ../schemata/TestCollection.xsd
--xinclude testCollection.xml
Unimplemented block at xmlschemas.c:5640
xmlValidness.xml:25: element testDescriptor: Schemas validity error : Element
'testDescriptor': The attribute 'xml:base' is not allowed.
testCollection.xml fails to validate
[...]
Any ideas?
http://www.w3.org/TR/xinclude/#base
Part of XInclude xml:base fixup. libxml2 will add the base attribute only
if necessary, i.e. if URI references mades from the document resulting from
the XInclude processing may get wrong. if everything is in the same directory
then those are not needed.
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]