Code Monkey home page Code Monkey logo

Comments (6)

rdeltour avatar rdeltour commented on August 15, 2024

From [email protected] on January 01, 2008 23:41:14

Can we have a sample file?

from epubcheck.

rdeltour avatar rdeltour commented on August 15, 2024

From [email protected] on January 03, 2008 11:00:52

Sample files, as requested: http://adedemo.com/Title-XHTML.asp?InventoryID={0267D86F-EDAC-4B2F-8763-FE088111B5AB} http://adedemo.com/Title-XHTML.asp?InventoryID={638B830A-34D6-47A9-96A7-57675F1582FF} http://adedemo.com/Title-XHTML.asp?InventoryID={78BB2A25-5CB7-4CB8-8270-A8A1CC44C9CC}

from epubcheck.

rdeltour avatar rdeltour commented on August 15, 2024

From [email protected] on January 03, 2008 12:55:03

This is not a bug. Example files reference transitional XHTML 1.0 DTD
( http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd ). OPS 2.0 requires XHTML
1.1 ( http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd ). When transitional XHTML 1.0 DTD
is processed by the parser, it pulls in default value "none" for the clear attribute:

from epubcheck.

rdeltour avatar rdeltour commented on August 15, 2024

From [email protected] on January 03, 2008 13:21:19

Then perhaps the epub checker could explicitly say that the wrong DTD is being used,
or that a DTD is not needed. Or both.

from epubcheck.

rdeltour avatar rdeltour commented on August 15, 2024

From [email protected] on September 20, 2011 11:37:07

I encountered the same issue in a different context. I agree with with comment #4. It would be better to get a more precise error or warning message.

from epubcheck.

rdeltour avatar rdeltour commented on August 15, 2024

From [email protected] on January 03, 2008 12:55:03

This is not a bug. Example files reference transitional XHTML 1.0 DTD
( http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd ). OPS 2.0 requires XHTML
1.1 ( http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd ). When transitional XHTML 1.0 DTD
is processed by the parser, it pulls in default value "none" for the clear attribute:

<!ELEMENT br EMPTY> <!-- forced line break -->
<!ATTLIST br
%coreattrs;
clear (left|all|right|none) "none"
>

This value conflicts with XHTML 1.1 validation which does not allow that attribute.
Files should be fixed either to reference correct DTD (XHTML 1.0 strict - not
transitional - might work) or not reference DTD at all (namespace declaration is
sufficient for OPS).

Status: Invalid

from epubcheck.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.