[Scons-dev] User Guide generation questions

Dirk Bächle tshortik at gmx.de
Fri Aug 29 18:44:05 EDT 2014


On 30.08.2014 00:12, William Blevins wrote:
> I am trying to make some misc updates to the User Guide, and I am 
> having some issues. I thought it might be a problem with a document do 
> I tried docs-validate and there were two errors:
>
>     [...]
>

>     81.11% (176/217) doc/user/scons_ex.xml
>     ERROR: doc/user/scons_ex.xml fails to validate:
>     Element 'programlisting': This element is not expected. Expected
>     is one of ( {http://www.scons.org/dbxsd/v1.0}refentry.class
>     <http://www.scons.org/dbxsd/v1.0%7Drefentry.class>,
>     {http://www.scons.org/dbxsd/v1.0}refentry
>     <http://www.scons.org/dbxsd/v1.0%7Drefentry>,
>     {http://www.scons.org/dbxsd/v1.0}section.class
>     <http://www.scons.org/dbxsd/v1.0%7Dsection.class>,
>     {http://www.scons.org/dbxsd/v1.0}section
>     <http://www.scons.org/dbxsd/v1.0%7Dsection>,
>     {http://www.scons.org/dbxsd/v1.0}toc
>     <http://www.scons.org/dbxsd/v1.0%7Dtoc>,
>     {http://www.scons.org/dbxsd/v1.0}lot
>     <http://www.scons.org/dbxsd/v1.0%7Dlot>,
>     {http://www.scons.org/dbxsd/v1.0}index
>     <http://www.scons.org/dbxsd/v1.0%7Dindex>,
>     {http://www.scons.org/dbxsd/v1.0}glossary
>     <http://www.scons.org/dbxsd/v1.0%7Dglossary>,
>     {http://www.scons.org/dbxsd/v1.0}bibliography
>     <http://www.scons.org/dbxsd/v1.0%7Dbibliography>,
>     {http://www.scons.org/dbxsd/v1.0}simplesect
>     <http://www.scons.org/dbxsd/v1.0%7Dsimplesect> )., line 4116
>     81.57% (177/217) doc/user/sconf.xml
>     [...]
>

>     92.63% (201/217) doc/user/scons_exi.xml
>     ERROR: doc/user/scons_exi.xml fails to validate:
>     Element 'programlisting': This element is not expected. Expected
>     is one of ( {http://www.scons.org/dbxsd/v1.0}refentry.class
>     <http://www.scons.org/dbxsd/v1.0%7Drefentry.class>,
>     {http://www.scons.org/dbxsd/v1.0}refentry
>     <http://www.scons.org/dbxsd/v1.0%7Drefentry>,
>     {http://www.scons.org/dbxsd/v1.0}section.class
>     <http://www.scons.org/dbxsd/v1.0%7Dsection.class>,
>     {http://www.scons.org/dbxsd/v1.0}section
>     <http://www.scons.org/dbxsd/v1.0%7Dsection>,
>     {http://www.scons.org/dbxsd/v1.0}toc
>     <http://www.scons.org/dbxsd/v1.0%7Dtoc>,
>     {http://www.scons.org/dbxsd/v1.0}lot
>     <http://www.scons.org/dbxsd/v1.0%7Dlot>,
>     {http://www.scons.org/dbxsd/v1.0}index
>     <http://www.scons.org/dbxsd/v1.0%7Dindex>,
>     {http://www.scons.org/dbxsd/v1.0}glossary
>     <http://www.scons.org/dbxsd/v1.0%7Dglossary>,
>     {http://www.scons.org/dbxsd/v1.0}bibliography
>     <http://www.scons.org/dbxsd/v1.0%7Dbibliography>,
>     {http://www.scons.org/dbxsd/v1.0}simplesect
>     <http://www.scons.org/dbxsd/v1.0%7Dsimplesect> )., line 4367
>     Validation failed! Please correct the errors above and try again.
>
>
> Can I remove those sections? I'm not that familiar with the schema.
>
The failing files "scons_ex.xml" and "scons_exi.xml" are generated 
during the actual build process. Remove them by hand, or do a "scons -c" 
before trying to validate...

Regards,

Dirk

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://two.pairlist.net/pipermail/scons-dev/attachments/20140830/1ed043f5/attachment.html>


More information about the Scons-dev mailing list