Re: [xml] minor problem with validation...
- From: Daniel Veillard <veillard redhat com>
- To: Matthias Ehlers <mehlers curufinwe de>
- Cc: xml gnome org
- Subject: Re: [xml] minor problem with validation...
- Date: Wed, 12 Mar 2003 15:51:39 -0500
On Wed, Mar 12, 2003 at 04:38:50PM +0100, Matthias Ehlers wrote:
When using xmllint i get the following output:
verdammnis.xml:50: Element verordnung content does not follow the DTD
Expecting (vname , valter), got (vname asdf valter )
verdammnis.xml:52: No declaration for element asdf
Document verdammnis.xml does not validate
This output is formatted a little nicer and additionally the line number given
with the error message.
How can i archieve this? The output format is not so important, but the line
number would really be nice.
I can't remember any trick about the formatting, but check error.c
in the source for an idea.
For the line number simply add xmlLineNumbersDefault(1); at the beginning
Daniel
--
Daniel Veillard | Red Hat Network https://rhn.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]