On 11-6-2012 07:41, Andy Thomas wrote:

On Jun 11, 2012, at 12:21 AM, Hans Hagen wrote:

The validator likes it, next is the hard part: generating a valid xhtml. Is the 
xhtml generator only for the epub, i.e. can it be changed or is another output 
file just for the epub appropriate?

the only issue is that css has no method for mapping a link which is why the 
exporter produces two files (xml and xhtml)

I get an error by the epub validator if I feed it the generated epub. The 
content file is:

-START------------
<?xml version='1.0' encoding='UTF-8' standalone='yes' ?>

<!-- input filename   : test_00           -->
<!-- processing date  : Mon Jun 11 07:03:39 2012 -->
<!-- context version  : 2012.06.11 00:21  -->
<!-- exporter version : 0.30              -->


<document xmlns:m="http://www.w3.org/1998/Math/MathML"; version="0.30" language="de" date="Mon Jun 11 07:03:39 
2012" file="test_00" context="2012.06.11 00:21" xmlns:xhtml="http://www.w3.org/1999/xhtml";>
Hello world!
</document>
-END------------

the error is:

-START------------
Epubcheck Version 3.0b5

Validating against EPUB version 2.0
ERROR: test_00.epub/OEBPS/test_00.xhtml(9,202): elements from namespace "" are 
not allowed

maybe then mean that namespace mathml is not supported?

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
    tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
-----------------------------------------------------------------


___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to