nooyoo11 / epubcheck

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

duplicate ressource path information when using single file validation #278

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
PROBLEM:

When single file validating a specific ressource, the path information is 
displayed twice on ERRORs and WARNINGs:

$ java -jar epubcheck-3.0.2-SNAPSHOT.jar 
/Users/tobiasfischer/Entwicklung/epubcheck-svn/trunk/src/test/resources/30/singl
e/xhtml/invalid/issue230.xhtml -mode xhtml -v 3.0

Epubcheck Version 3.0.2-SNAPSHOT

WARNING: 
/Users/tobiasfischer/Entwicklung/epubcheck-svn/trunk/src/test/resources/30/singl
e/xhtml/invalid/issue230.xhtml/: File is validated as a single file of type 
xhtml and version 3.0. Only a subset of the available tests is run.
ERROR: 
/Users/tobiasfischer/Entwicklung/epubcheck-svn/trunk/src/test/resources/30/singl
e/xhtml/invalid/issue230.xhtml//Users/tobiasfischer/Entwicklung/epubcheck-svn/tr
unk/src/test/resources/30/single/xhtml/invalid/issue230.xhtml(9,37): Undefined 
property: acknowledgements (use notation 'acknowledgments' instead)

Check finished with warnings or errors

EXPECTED:

ERROR: 
/Users/tobiasfischer/Entwicklung/epubcheck-svn/trunk/src/test/resources/30/singl
e/xhtml/invalid/issue230.xhtml(9,37): Undefined property: acknowledgements (use 
notation 'acknowledgments' instead)

OR:

ERROR: issue230.xhtml(9,37): Undefined property: acknowledgements (use notation 
'acknowledgments' instead)

PLATFORM:

Tested with 3.0.1 and 3.0.2-SNAPSHOT (r507)

ADDITIONAL INFO:

For EPUB file validation the absolute path information is cut off in 
ERR/WARN/HINT messages:

HINT: issue225.epub/EPUB/lorem.xhtml(21,36): Link attribute with no value

even if the path is absolute.
Don't know whether we should do it the same way for single file validation and 
display the filename only...

Original issue reported on code.google.com by tobias.c...@gmail.com on 1 Jun 2013 at 1:47

GoogleCodeExporter commented 9 years ago
THIS ISSUE MOVED TO GITHUB:
https://github.com/IDPF/epubcheck/issues/

Original comment by rdeltour@gmail.com on 7 Nov 2013 at 10:49