[Openstack-docs] my maven-fu is rusty, help finding validation error.

Jonathan Proulx jon at jonproulx.com
Tue Jun 24 15:16:32 UTC 2014


Hi All,

Thanks for the review offers, see https://review.openstack.org/#/c/102265/

I use emacs for editing and it usually shows me the erros of my ways,
in this case when looking at the bk-imageguide.xml-invalid.xml it's
just saying the initial 'book' tag is an unknown element (an no other
errors) which is not helpful and suggest a bit of misconfig in my
editor which I'll look into later.

Thanks,
-Jon

On Tue, Jun 24, 2014 at 10:57 AM, Diane Fleming
<diane.fleming at rackspace.com> wrote:
> If you open that referenced file in oxygen, and run validate, it will indicate where the error is. Is there a review #? I can figure it out.
>
> Sent from my iPhone
>
>> On Jun 24, 2014, at 9:37 AM, "Jonathan Proulx" <jon at jonproulx.com> wrote:
>>
>> Hi All,
>>
>> Maven isn't being as helpful as I'd like.  Telling me my edits are
>> invalid (which is likely true it's a new page worth of content so
>> probably screwed up the markup), but I can't see as it's telling me
>> where that error might be, note the lack of line number after
>> "lineNumber:" below, debug version pasted at
>> http://paste.openstack.org/show/84791/ but it doesn't have a line
>> number specific tag complaints either.
>>
>> @@@@@@@@@@@@@@@@@@@@@@
>> !!!VALIDATION ERRORS!!
>> !!!!!!!!!!!!!!!!!!!!!!
>>
>> Note: Open the temporary file:
>>
>> file:/afs/csail.mit.edu/u/j/jon/git/openstack-manuals/doc/image-guide/target//bk-imageguide.xml-invalid.xml
>>
>> to see all the errors in context.
>> You must correct the errors in the original
>> source DocBook or wadl files however.
>>
>> You can control whether build fails or not by
>> setting failOnValidationError to no in your pom.
>>
>> lineNumber:
>>
>> !!!!!!!!!!!!!!!!!!!!!!
>> !!!VALIDATION ERRORS!!
>> @@@@@@@@@@@@@@@@@@@@@@
>>
>> _______________________________________________
>> Openstack-docs mailing list
>> Openstack-docs at lists.openstack.org
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-docs



More information about the Openstack-docs mailing list