Error Line Numbers

It would greatly help, if Sidewinder's error messages included the line number where the error occurred. For instance, my XForm generated the following error message:

Error validating document "file:///G:/XForms/Tests/W_schema/cagle2.html".
Reason: Element content is invalid according to the DTD/Schema.
Expecting: {http://www.w3.org/1999/xhtml}br, {http://www.w3.org/1999/xhtml}span, {http://www.w3.org/1999/xhtml}em, {http://www.w3.org/1....

How do I figure out what part of my schema or XML document has an error? Particularly, since the schema has been validated and the XML document has been validated against the schema.
Bob Leif

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Explanation

Hi Bob,

This is a known issue arising from a bug in the XML parser that we use. Although it provides full information about errors that occur during the parse phase, it leaves some fields unset when reporting errors during validation. Eventually we shall be switching to a better parser that will resolve a number of issues, this included. However, this switch is not something I envisage occurring very soon I'm afraid.

--
Phil Booth
Developer
x-port.net, 4 Pear Tree Court, London EC1R 0DS
mailto:phil.booth@x-port.net

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.