[xml] RelaxNG schema and entities file: namespace warning : Namespace default prefix was not found

2009-11-11 Thread Daniel Leidert
Hi, Consider this example: !DOCTYPE foo [ !ENTITY comment 'comment id=comment.xml /' ] foo xmlns=http://foo.bar/ns/foo; ... comment; ... /foo When I run `xmllint --noout --noent --relaxng foo.rng foo.xml' I receive: | namespace warning : Namespace default prefix was not found | ... | element

Re: [xml] Environment Variables in XML are parsed by libxml2 ?

2007-10-21 Thread Daniel Leidert
Am Sonntag, den 21.10.2007, 13:44 +0530 schrieb Arijit Das: Is there any way I can change the following DTD spec inside my XML document from this: !DOCTYPE ENVCAP SYSTEM /remote/vgsource1/arijit/Tc.Perforce/lib/envcap.dtd ...to this = !DOCTYPE ENVCAP SYSTEM $(TCHOME)/lib/envcap.dtd Why

Re: [xml] XML conditional section not closed error could need some more info

2007-04-26 Thread Daniel Leidert
Am Donnerstag, den 26.04.2007, 04:29 -0400 schrieb Daniel Veillard: On Wed, Apr 25, 2007 at 06:58:49PM +0200, Daniel Leidert wrote: Am Mittwoch, den 18.04.2007, 18:52 +0200 schrieb Daniel Leidert: [..] file:///usr/share/xml/docbook/custom/simple/1.1/sdocbook-custom.dtd:452: parser error

Re: [xml] XML conditional section not closed error could need some more info

2007-04-25 Thread Daniel Leidert
Am Mittwoch, den 18.04.2007, 18:52 +0200 schrieb Daniel Leidert: I have some test cases to check DocBook DTDs. One for simplified DocBook is: ?xml version='1.0'? !DOCTYPE article PUBLIC -//OASIS//DTD Simplified DocBook XML Customization V1.1//EN http://www.oasis-open.org/docbook/xml

[xml] xmllint: possible bug using --postvalid

2007-04-22 Thread Daniel Leidert
Hello, I get this using the --postvalid option of xmllint with a valid XML file: $ xmllint --noout --valid article.xml $ xmllint --noout --postvalid article.xml article.xml:11: element xref: validity error : IDREF attribute linkend references an unknown ID test Document article.xml does not

Re: [xml] xmllint: validation of XML files with XInclude-d documents maybe broken

2007-02-26 Thread Daniel Leidert
Am Dienstag, den 20.02.2007, 17:43 +0100 schrieb Daniel Leidert: [..] xmllint --xinclude --noout --valid howto-mimedef.xml Matthew Burgess told me to use the --postvalid switch instead, which works. So I did not observe a bug, I just oversaw the right switch :). Thanks to Matthew and sorry

[xml] xmllint: validation of XML files with XInclude-d documents maybe broken

2007-02-20 Thread Daniel Leidert
Hello, See the file http://debian.wgdd.de/temp/howto-mimedef.xml as example. This file is a DocBook article, that xincludes several other XML files for appendices or other parts of the article. Now I want to validate the file. Therefor I ran: xmllint --xinclude --noout --valid howto-mimedef.xml

Re: [xml] Man page suggestion

2007-02-09 Thread Daniel Leidert
Am Freitag, den 09.02.2007, 09:10 -0500 schrieb Daniel Veillard: On Fri, Feb 09, 2007 at 03:05:30PM +0100, Markus Hoenicka wrote: Daniel Veillard [EMAIL PROTECTED] was heard to say: ideally we should be able to generate exhaustive man pages from the XML description, I just never

[xml] xsltproc: weired behaviour with parsing freedesktop.org XML shared-mime-info database (bug?)

2007-02-06 Thread Daniel Leidert
Hello, I observe a really weired behaviour here. See the attached stylesheet and process it to the shared-mime-info database (normally $datadir/mime/packages/freedesktop.org.xml). If I process my own XML file, with a similar (but not the same) DTD, containing an identical glob-element, it works.

Re: [xml] xsltproc: weired behaviour with parsing freedesktop.org XML shared-mime-info database (bug?)

2007-02-06 Thread Daniel Leidert
Am Dienstag, den 06.02.2007, 21:08 +0100 schrieb Daniel Leidert: Hello, I observe a really weired behaviour here. See the attached stylesheet and process it to the shared-mime-info database (normally $datadir/mime/packages/freedesktop.org.xml). If I process my own XML file, with a similar

[xml] Possible bug in libxml2?

2007-02-03 Thread Daniel Leidert
Hello, I wanted to create a gettext portable object template (.pot) file from Norman Walsh's DocBook: The Definitive Guide. Therefor I used: xml2po -e -o book.pot book.xml in http://docbook.svn.sourceforge.net/viewvc/docbook/trunk/defguide/en/ and received a segmentation fault. So I started gdb

[xml] xmlcatalog: inconsistent behaviour between the --add and --del option?

2006-11-25 Thread Daniel Leidert
Hello, If I want to add an entry to the catalog, I have to specify the catalog file: xmlcatalog --add 'TYPE' 'ORIG' 'REPLACE' $CATALOG but removing an entry works without giving the catalog file xmlcatalog --del 'VALUE' Normally I would have expected, taht even the `--add' option does not

Re: [xml] xmlcatalog: inconsistent behaviour between the --add and --del option?

2006-11-25 Thread Daniel Leidert
Am Samstag, den 25.11.2006, 16:16 -0500 schrieb Daniel Veillard: On Sat, Nov 25, 2006 at 09:26:27PM +0100, Daniel Leidert wrote: Hello, If I want to add an entry to the catalog, I have to specify the catalog file: xmlcatalog --add 'TYPE' 'ORIG' 'REPLACE' $CATALOG but removing

Re: [xml] Update for libxslt/libxml manpages?

2006-04-07 Thread Daniel Leidert
Am Donnerstag, den 06.04.2006, 04:33 -0400 schrieb Daniel Veillard: On Thu, Apr 06, 2006 at 01:28:00AM +0200, Daniel Leidert wrote: [..] I would offer to rewrite these manpages in XML and fix the mentioned bugs. As far as I understand Daniel's answer: [..] PS: Would you

[xml] Re: Updated xsltproc manpage, patch attached

2006-04-06 Thread Daniel Leidert
Am Donnerstag, den 06.04.2006, 10:22 +0200 schrieb Daniel Veillard: On Thu, Apr 06, 2006 at 12:52:29AM +0200, Daniel Leidert wrote: [..] Ok. Now 3 patches are attached :) Hum, the URL used for the stylesheet in the patch is not in the catalogs installed on Red Hat and Fedora. I don't

Re: [xml] Re: Updated xsltproc manpage, patch attached

2006-04-06 Thread Daniel Leidert
Am Donnerstag, den 06.04.2006, 07:41 -0400 schrieb Daniel Veillard: On Thu, Apr 06, 2006 at 01:35:56PM +0200, Daniel Leidert wrote: Right. But it redirects to the same URL. I thought, that you don't use a libxml2/libxslt make can't rely on remote resources, so if it's not in the catalog