Re: [xml] enhancement of XML Schema content model error reports

On Thu, Jan 13, 2005 at 02:34:26PM +0100, Kasimier Buchcik wrote:

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 Veillard      | Red Hat Desktop team
veillard redhat com  | libxml GNOME XML XSLT toolkit | Rpmfind RPM search engine

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]