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

2009-11-11 Thread Daniel Leidert
Hi, Consider this example: '> ]> http://foo.bar/ns/foo";> ... &comment; ... When I run `xmllint --noout --noent --relaxng foo.rng foo.xml' I receive: | namespace warning : Namespace default prefix was not found | ... | element comment: Relax-NG validity error : Did not expect element comment

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: > > > > > ...to this => > Why don't you simply use a catalog? You can prepare it on-the-fly using xmlcatalog and then you could also read ${TC

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/sdocb

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

2007-04-25 Thread Daniel Leidert
Am Mittwoch, den 25.04.2007, 18:58 +0200 schrieb Daniel Leidert: > Am Mittwoch, den 18.04.2007, 18:52 +0200 schrieb Daniel Leidert: [..] > > xmllint --debug --debugent --noout --nonet --valid test-custom-1.1.xml > > > > I get an error: > > > > file:///usr/sh

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: > > > "-//OASIS//DTD Simplified DocBook XML Customization V1.1//EN" > "http://www.oasis-open.org/docbook/x

[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

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

2007-04-18 Thread Daniel Leidert
Hi, I have some test cases to check DocBook DTDs. One for simplified DocBook is: http://www.oasis-open.org/docbook/xml/simple/1.1/sdocbook-custom.dtd";> foo bar foo But when I try to validate it: xmllint --debug --debugent --noout --nonet --valid test-custom-1.1.xml I get a

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,

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

[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. P

Re: [xml] Possible bug in libxml2?

2007-02-03 Thread Daniel Leidert
Am Sonntag, den 04.02.2007, 03:16 +0100 schrieb Daniel Leidert: > 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.s

[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 gd

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

[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 requ

[xml] [patch] Patch for the manpages (typo-fixes and improvements)

2006-08-18 Thread Daniel Leidert
Hello, Once again. Attached is a patch for the xmlcatalog and xmllint manpages, that should fix a few typos and fix the manpage section content (e.g. moved some stuff to "SEE ALSO"). I further tried to complete the "ENVIRONMENT" section and added some "missing" markup. Regards, Daniel Index: doc/

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: > > &g

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

2006-04-06 Thread Daniel Leidert
Am Donnerstag, den 06.04.2006, 15:28 +0200 schrieb Daniel Leidert: > Am Donnerstag, den 06.04.2006, 08:58 -0400 schrieb Daniel Veillard: > > On Thu, Apr 06, 2006 at 02:49:17PM +0200, Daniel Leidert wrote: > > > Am Donnerstag, den 06.04.2006, 14:25 +0200 schrieb Daniel L

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

2006-04-06 Thread Daniel Leidert
Am Donnerstag, den 06.04.2006, 08:58 -0400 schrieb Daniel Veillard: > On Thu, Apr 06, 2006 at 02:49:17PM +0200, Daniel Leidert wrote: > > Am Donnerstag, den 06.04.2006, 14:25 +0200 schrieb Daniel Leidert: > > > Am Donnerstag, den 06.04.2006, 07:41 -0400 schrieb Daniel Veillard: &

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

2006-04-06 Thread Daniel Leidert
Am Donnerstag, den 06.04.2006, 14:25 +0200 schrieb 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, th

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

[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

Re: [xml] Manpage update (xmllint.1, xmlcatalog.1)

2006-04-06 Thread Daniel Leidert
Am Donnerstag, den 06.04.2006, 04:44 -0400 schrieb Daniel Veillard: > On Thu, Apr 06, 2006 at 01:12:55AM +0200, Daniel Leidert wrote: > > Hello, > > > > As I already told Daniel Veillard via PM, I again have an update ready > > for the xmllint and the xmlcatalog ma

[xml] Update for libxslt/libxml manpages?

2006-04-05 Thread Daniel Leidert
(x-post to xml and xslt list) Hello, I asked Daniel Veillard for an update of the libxml(2).3 and libxslt.3 manpages distributed with the source. The current manpages are (maybe) a bit outdated and they contain one issue: - they should not reference the full path in the files section Further l

[xml] Manpage update (xmllint.1, xmlcatalog.1)

2006-04-05 Thread Daniel Leidert
Hello, As I already told Daniel Veillard via PM, I again have an update ready for the xmllint and the xmlcatalog manpage. The changes: - refer to libxml/libxslt manpages when mentioning these libraries - small fix so anchors fit title - use the current XSL snapshots, because they fix a lot of bug