[Openstack-docs] validate.py error

Lorin Hochstein lorin at nimbisservices.com
Wed Aug 7 18:58:14 UTC 2013


Sean:

If the XML validation is giving a false positive, I suggest we turn it off.
The validate.py script now uses maven to build all of the books.  Just
remove the call to validate_individual_files in the "main" function.


Lorin


On Wed, Aug 7, 2013 at 2:38 PM, Sean Roberts <seanrob at yahoo-inc.com> wrote:

>  I have a validate.py problem, anyone up for debugging with me?
> Local maven runs clean
>
>  jenkins fails
> http://logs.openstack.org/50/40550/1/check/gate-openstack-manuals-validate/e3d606e/console.html
>
> ...
>
> + ./tools/validate.py
> /home/jenkins/workspace/gate-openstack-manuals-validate/doc/src/docbkx/openstack-training/bk001-ch003-associate-general.xml:5:0:ERROR:RELAXNGV:RELAXNG_ERR_ELEMNAME: Expecting element section, got chapter
> /home/jenkins/workspace/gate-openstack-manuals-validate/doc/src/docbkx/openstack-training/bk001-ch003-associate-general.xml:13:0:ERROR:RELAXNGV:RELAXNG_ERR_EXTRACONTENT: Element chapter has extra content: include
> /home/jenkins/workspace/gate-openstack-manuals-validate/doc/src/docbkx/openstack-training/bk001-ch003-associate-general.xml:9:0:ERROR:RELAXNGV:RELAXNG_ERR_ELEMWRONG: Did not expect element para there
> /home/jenkins/workspace/gate-openstack-manuals-validate/doc/src/docbkx/openstack-training/bk001-ch003-associate-general.xml:5:0:ERROR:RELAXNGV:RELAXNG_ERR_ELEMWRONG: Did not expect element chapter there
> /home/jenkins/workspace/gate-openstack-manuals-validate/doc/src/docbkx/openstack-training/bk001-ch003-associate-general.xml:5:0:ERROR:RELAXNGV:RELAXNG_ERR_ELEMNAME: Expecting element set, got chapter
> ...
>
>
>
>
>  Sean Roberts
> Infrastructure Strategy
> seanrob at yahoo-inc.com (925) 980-4729
>
>
> _______________________________________________
> Openstack-docs mailing list
> Openstack-docs at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-docs
>
>


-- 
Lorin Hochstein
Lead Architect - Cloud Services
Nimbis Services, Inc.
www.nimbisservices.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-docs/attachments/20130807/29d424ae/attachment.html>


More information about the Openstack-docs mailing list