Re: [xml] bad xmllint error message...



On Thu, Apr 11, 2002 at 05:03:02PM +0200, Holger Schröder wrote:
Hi,

first thanks for the cool stuff.
but i have the following problem:
when i do xmllint file.xml and i am missing an end tag in that file, i 
get a quite misleading error message. it doesn't even show the right 
piece of text where the problem is.
is it possible to have an error message like:
XML not well formed: </CATALOG> missing. Aborting.
( </CATALOG> only in this case of course...)

  Simply because there is NO way to know that an end tag is missing
(or was wrongly typed as an opening tag). Try to think about it,
indenting does not count as a reliable information source for the
parser.

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]