You are viewing a plain text version of this content. The canonical link for it is here.
Posted to taglibs-dev@jakarta.apache.org by Glenn Nielsen <gl...@voyager.apg.more.net> on 2001/07/12 16:14:57 UTC

examples/web/*.jsp conversion to new build

I just discovered a requirement when converting to the new build
where your examples/web/*.jsp are converted to html files.

The first line in your example jsp's must contain an xml doctype declaration
similar to the below.

<!doctype html public "-//w3c//dtd html 4.0 transitional//en">

If this isn't there you get a build failure like this:

examples.html:
    [style] Transforming into
/export/home/glenn/jakarta/jakarta-taglibs/build/request/request-examples
    [style] Loading stylesheet
/export/home/glenn/jakarta/jakarta-taglibs/build/request/request-examples/../../../src/taglib/examples.xsl
    [style] Transforming into
/export/home/glenn/jakarta/jakarta-taglibs/build/request/request-examples
    [style] Failed to process
/export/home/glenn/jakarta/jakarta-taglibs/build/request/request-examples/request.txt

BUILD FAILED

/export/home/glenn/jakarta/jakarta-taglibs/request/build.xml:179:
javax.xml.transform.TransformerException: The markup in the document preceding the root
element must be well-formed.
--- Nested Exception ---

I am updating the addtaglib.html doc with this info.

Regards,

Glenn

----------------------------------------------------------------------
Glenn Nielsen             glenn@more.net | /* Spelin donut madder    |
MOREnet System Programming               |  * if iz ina coment.      |
Missouri Research and Education Network  |  */                       |
----------------------------------------------------------------------