error TTS Narrator transformer script: bad attribute name=dtb:title

Hello, I have a simple XHTML file (pasted below) created by hand. I use the XHTMLToDTBook transformer to generate a DTBook file (also pasted below) that gets generated without errors and passes validation. I then use the TTS Narator transformer script to generate a full text and audio daisy book from the DTBook generated above. This transformer fails on the following line generated automatically by the XHTMLTODTBook transformer: The error is: "A validation error occurred. bad value for attribute name. line 22, column 58 File speechgen.opf The offending line is: < meta name="dtb:title" content="My book title" / > As you can see from the original XHTML file and generated DTBook file attached (unable to paste xml inline), this offending line is generated automatically by the XHTML to DTBook transformer. Any suggestions on how to work around this? Thanks, Manish

This is a bug indeed. The

This is a bug indeed. The dtb:title metadata is not allowed in the OPF: http://www.daisy.org/z3986/2005/Z3986-2005.html?q=z3986/2005/z3986-2005.... I will try and look for a fix. Thanks for the report! Romain

error Using TTS Narator To Daisy Book Transformer| Bad Attribute

The fix is simple. I've done that in my local daisy-util.jar (ugly). Simply take out the line that puts this meta tag from the xhtml2dtbook.xsl present in the org\daisy\util\xml\xslt\stylesheets \dtbook folder. -Manish

Right. I also wanted to fix

Right. I also wanted to fix the 2.02 fileset generation so that it doesn't fail if a DTBook has the dtb:title metadata (which may come from something other than the xhtml2dtbook converter). It is now fixed, and will be part of the next release or patch. Romain.

Copyright © 2012 The DAISY Consortium, Some Rights Reserved.
Creative Commons License: No Derivative Works
Creative Commons

Valid XHTML 1.0!