In many cases, XMLmind XML Editor (XXE) provides validation error
messages with enough detail that a user can determine how to correct
the problem.  For example, if you open an XHTML document with an `a`
tag in the `body`, XXE will correctly complain that 'element cannot
contain element "a" [cvc-complex-type]'.  In some cases, though, the
error messages do not provide enough information.  I ask that where
possible, some types of validation error messages provide more detail
as to the nature of the problem.  I list two examples below.

In one case, a schema restricts a particular element to only have
content of type `xsd:date`.  If a user enters an incorrect date, XXE
will report the problem as 'bad character content for element'.  I ask
that this be modified to something like 'bad character content for
element; expected xsd:date', possibly including a hyperlink to the XML
Schema Datatypes definition for `xsd:date`.  If XXE wanted to take
extra steps, it could even provide a summary of the necessary lexical
format of the data.

Another general case exists when an element is missing a required
child element.  In such a case, XXE will report the problem as
'required elements missing'.  It would be very useful if a list of the
required elements could be included in this message.

Thank you for your consideration.

Take care,

    John L. Clark

-- 
PLEASE NOTE that this message is not digitally signed.  As a result,
you have no strong evidence that this message was actually sent by me.
 Upon request I can provide a digitally signed receipt for this
message or other evidence validating its contents if you need such
evidence.

Reply via email to