jacshore / epubcheck

Automatically exported from code.google.com/p/epubcheck
MIT License
0 stars 0 forks source link

Empty value of SSML.ph #139

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
PROBLEM:
Given an empty value of SSML.ph, Epubcheck3.0b3 reports no errors or warnings.

METHOD:
1. Download the ssml.xhtml file of 
http://code.google.com/p/epubcheck/source/browse/branches/epub3/com.adobe.epubch
eck.test/testdocs/30/single/xhtml/valid/ssml.xhtml?r=174
2. Clear the value of the first ssml:ph attribute, i.e.
 from
 <p ssml:ph="[pra'h-fessah]">Prof.</p>
 to 
 <p ssml:ph="">Prof.</p>
3. Pack the ssml.xhtml file into ssml.epub, and run the command.
java -jar epubcheck-3.0b3\epubcheck-3.0b3.jar ssml.epub

RESULT:
The epubcheck reports no warning or error.
Basically, an empty pronunciation makes no sense when the ssml.ph has been 
specified.

EXPECTED:
Some warning/error message should be shown, just like the invalid error/warning 
message caused by an empty SSML.alphabet value.

PLATFORM:
Epubcheck 3.0b3, WinXP SP3

ADDITIONAL INFO:
none

Original issue reported on code.google.com by jtchen0901@gmail.com on 15 Nov 2011 at 10:42

GoogleCodeExporter commented 8 years ago

Original comment by markus.g...@gmail.com on 13 Dec 2011 at 8:44

GoogleCodeExporter commented 8 years ago

Original comment by markus.g...@gmail.com on 13 Dec 2011 at 8:47

GoogleCodeExporter commented 8 years ago
This issue was closed by revision r294.

Original comment by markus.g...@gmail.com on 20 Dec 2011 at 10:20