[Openstack-docs] validate.py error

David Cramer david.cramer at rackspace.com
Wed Aug 7 19:06:23 UTC 2013


On 08/07/2013 01:59 PM, Anne Gentle wrote:
> 
> Building with maven is not exactly the same as validating with the
> RelaxNG schema. David or Shaun do you know if the xi:include with xpath
> statements would validate against the RelaxNG schema?

Yes, maven validates against the RelaxNG schema twice: First it
validates after the xinclude has happened. At this point it doesn't yet
check IDREFs, then after it's done all the profiling and some other
work, it validates again and does check IDREFs. So the Maven plugin's
validation should be more real-world and less likely to give
false-positives.

> The version of validate.py on github has a BOOK_EXCEPTION with
> openstack-training. So it shouldn't be testing your stuff anyway. So....
> oh, do what Lorin said.

+1

Regards,
David



More information about the Openstack-docs mailing list