nooyoo11 / epubcheck

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

Valid namespace declaration in CSS treated as error #237

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
PROBLEM:

If one of the CSS files inside the EPUB contains a namespace declaration like:

@namespace xlink url('http://www.w3.org/1999/xlink');

The EPUB 3.0 checker reports a problem:

'http://www.w3.org/1999/xlink': remote resource reference not allowed; resource 
must be placed in the OCF

If the "url" function is removed and only the quoted string remains, the error 
is no longer reported.

METHOD:

What steps will reproduce the problem?

Generate an EPUB which contains a CSS which maps a prefix to a certain 
namespace using the "url" function.

RESULT:

EXPECTED:

The CSS is valid according to the CSS 3 @namespace test suite:

http://www.w3.org/Style/CSS/Test/CSS3/Namespace/current/

PLATFORM:

What version of the product are you using? On what operating system?

Windows 7, final version of EPUB Checker 3.0.

Original issue reported on code.google.com by raducor...@gmail.com on 3 Jan 2013 at 8:25

GoogleCodeExporter commented 9 years ago

Original comment by markus.g...@gmail.com on 26 Mar 2013 at 10:59

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r448.

Original comment by markus.g...@gmail.com on 26 Mar 2013 at 11:01