Hi,
Here is a DTD parsing bug in libxml2 (tested with 2.6.27).
Download the following .tar.gz:
http://www.princexml.com/download/nasty-libxml2-dtd-bug.tar.gz
Unpack it and run:
$ xmllint --loaddtd bug.xml
You will get lots of error messages, the first one being:
nlm/references
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 simi
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
Hi John, thanks for the comments,
>> If I had any suggestions it would be to intersperse working python code
examples for common operations in with the explanatory prose.
I have been doing that throughout the docs - it's quite a bit easier to read on
the Wiki, and I would welcome any edits... ;-
Hi Mike:
I've used the libxml2 python bindings a fair bit and this is a good
start on documenting them. There is a bit of a learning curve but I
think that has more to do with learning libxml2 and less with the python
bindings, but that said it's still nice to see python specific
documentation.
On Tue, Feb 06, 2007 at 03:33:57PM +0100, Jovan Kostovski wrote:
> Hi,
>
> I need to write a sax xml parser that will
> validate the contents against a xml schema file.
>
> Writing a sax parser wasn't to hard, but I have no
> clue how to implement the schema validation.
>
> Can anyone help me?
>
Hi,
I need to write a sax xml parser that will
validate the contents against a xml schema file.
Writing a sax parser wasn't to hard, but I have no
clue how to implement the schema validation.
Can anyone help me?
Links to some examples would be great
BR, Jovan
___
Mike Kneller <[EMAIL PROTECTED]> writes:
> Hi,
>
> After struggling to get to grips with Libxml2 and Python, I figured
> that although I can't contribute much in the way of code, I can have
> a crack at getting some useful documentation up together.
>
> I have put the first part up on my Wiki, if
Hi,
After struggling to get to grips with Libxml2 and Python, I figured that
although I can't contribute much in the way of code, I can have a crack at
getting some useful documentation up together.
I have put the first part up on my Wiki, if anyone would care to review for
accuracy - or help