amityadav1983 / probatron4j

Automatically exported from code.google.com/p/probatron4j
0 stars 0 forks source link

If context node is an attribute, location reported is the attribute's value #3

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
With a document such as

<foo bar='blort'/>

and schema rule

<rule context='@bar'>
  <report test='.'/>
</rule>

the node is reported as e.g. 

<successful-report test='.' location='blort'/>

Original issue reported on code.google.com by ajsale...@googlemail.com on 14 Aug 2009 at 9:06