Make validate broken

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Under Suse-10.2, I did all you told .

xxx@linux-zhl6:~/SVN-fr/trunk> make validate ALL_LINGUAS="en"
mkdir -p -- xml
/usr/bin/xsltproc \
          --nonet \
          --xinclude \
          --stringparam profile.lang en \
          ./stylesheets/profile.xsl \
          src/gimp.xml \
          > xml/en.xml.tmp
sed -e 's/xmlns[:a-z]*="[^"]*" //' \
            -e 's/lang="[A-Za-z_;]*"/lang="en"/' \
            -e '/^[ \t]*$/d' \
          < xml/en.xml.tmp \
          > xml/en.xml
rm -f xml/en.xml.tmp
/usr/bin/xmllint --noout xml/en.xml
/usr/bin/xmllint --noout --valid xml/en.xml > /dev/null
touch xml/stamp-en-valid

Is this the new normal display for the "make validate"?
If I have an error in a xml file, an error is also displayed, located in the 
en.xml file... weird! :
mkdir -p -- xml
/usr/bin/xsltproc \
          --nonet \
          --xinclude \
          --stringparam profile.lang en \
          ./stylesheets/profile.xsl \
          src/gimp.xml \
          > xml/en.xml.tmp
sed -e 's/xmlns[:a-z]*="[^"]*" //' \
            -e 's/lang="[A-Za-z_;]*"/lang="en"/' \
            -e '/^[ \t]*$/d' \
          < xml/en.xml.tmp \
          > xml/en.xml
rm -f xml/en.xml.tmp
/usr/bin/xmllint --noout xml/en.xml
/usr/bin/xmllint --noout --valid xml/en.xml > /dev/null
xml/en.xml:10162: element indextem: validity error : No declaration for 
attribute lang of element indextem
      <indextem lang="en">
                         ^
xml/en.xml:10165: element indextem: validity error : No declaration for 
element indextem
      </indextem>
                 ^
xml/en.xml:10227: element sect3: validity error : Element sect3 content does 
not follow the DTD, expecting (sect3info? , (title , subtitle? , 
titleabbrev?) , (toc | lot | index | glossary | bibliography)* , 
(((calloutlist | glosslist | itemizedlist | orderedlist | segmentedlist | 
simplelist | variablelist | caution | important | note | tip | warning | 
literallayout | programlisting | programlistingco | screen | screenco | 
screenshot | synopsis | cmdsynopsis | funcsynopsis | classsynopsis | 
fieldsynopsis | constructorsynopsis | destructorsynopsis | methodsynopsis | 
formalpara | para | simpara | address | blockquote | graphic | graphicco | 
mediaobject | mediaobjectco | informalequation | informalexample | 
informalfigure | informaltable | equation | example | figure | table | 
msgset | procedure | sidebar | qandaset | task | anchor | bridgehead | 
remark | highlights | abstract | authorblurb | epigraph | indexterm | 
beginpage)+ , (refentry* | sect4* | simplesect*)) | refentry+ | sect4+ | 
simplesect+) , (toc | lot | index | glossary | bibliography)*), got (title 
indextem para itemizedlist para para )
    </sect3>
            ^
make: *** [xml/stamp-en-valid] Error 4



_______________________________________________
Gimp-docs mailing list
Gimp-docs@xxxxxxxxxxxxxxxxxxxxxx
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-docs


[Index of Archives]     [Video For Linux]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [Scanners]     [GEGL]     [Gimp's Home]     [Gimp on Windows]     [Steve's Art]     [Webcams]

  Powered by Linux