daisy / pipeline-scripts

!! NOTE: This project is now part of the pipeline-modules project !! | Script modules for the default DAISY Pipeline 2 distribution.
GNU Lesser General Public License v3.0
6 stars 5 forks source link

Validation warnings because of CSS speech #62

Open rom1mouret opened 9 years ago

rom1mouret commented 9 years ago

Get rid of this kind of warnings:

[WS] WARNING(5) - org.xml.sax.SAXParseException; systemId: file:/home/romain/alldtbooks/hauy_valid.xml; lineNumber: 11; columnNumber: 92; attribute "tts:voice-family" not allowed here; expected attribute "class", "dir", "id", "showin", "smilref", "title", "xml:lang" or "xml:space"

when there is an Aural CSS stylesheet and the audio is on.

This is because the tts:* are not removed before the validation. There is already a step for that, but it's not used at this stage of the conversion.

bertfrees commented 6 years ago

Related: https://github.com/daisy/pipeline-scripts/issues/64