Re: [xml] enhancement of XML Schema content model error reports
- From: Daniel Veillard <veillard redhat com>
- To: Kasimier Buchcik <kbuchcik 4commerce de>
- Cc: xml gnome org
- Subject: Re: [xml] enhancement of XML Schema content model error reports
- Date: Thu, 13 Jan 2005 08:46:49 -0500
On Thu, Jan 13, 2005 at 02:34:26PM +0100, Kasimier Buchcik wrote:
Hi,
Daniel Veillard wrote:
I would remove the trailing '.' , it's correct from a grammatical
english point of view but confusing since '*' and '.' have meanings
for regular expressions. If you want to keep the '.' then we could separate
it with a space,
Another idea would be to surround the items with brackets:
"Expected is one of ( {http://FOO}*, {urn:foo:bar}*, * )."
This way we could get rid of the "'" around local names if no
namespace is involved:
"Expected is 'foo'." would become: "Expected is ( foo )."
Sounds a good idea to me, the output is more regular, easier to parse
both by an human or by machine code.
Daniel
--
Daniel Veillard | Red Hat Desktop team http://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]