Greetings,
I am trying to edit an xml file that has an associated xsd schema.
The schema has within it a uniqueness rule, built from an xpath
expression.

When I use XMLspy to edit the file everything in hunkydory, but XXE
complains that the xpath expression is invalid and will not therefore
load the schema, with the consequent loss of help when adding elements.

The line in question is as follows (commented out). The uncommented
version works but of course does not "prove" exactly what we need.
                        <!-- 
                        <xs:selector xpath=".//DataType |
.//ErrorMessages/Group/ErrorClass/* |
.//ErrorMessages/Group/ErrorClass/ErrorDetail/*"/>
                        -->
                        <xs:selector xpath=".//DataType"/>
                        <xs:field xpath="@cname"/>

The question is this, can we change the XXE validator, improve the xpath
expression or any other ideas?

Also, where is a button to press that will invoke the validator, is this
possible, or have I overlooked it?

Many thanks again for a great product.

Cheers Graham



Reply via email to