The Problem is the

<taglib xmlns="http://java.sun.com/JSP/TagLibraryDescriptor"; >

in the generated tld.
The tlddoc generator doesn't allow http://java.sun.com/JSP/TagLibraryDescriptor for the xmlns attribute.

One solution is

remove the

PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN"
  "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd";

in

<!DOCTYPE taglib
  PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN"
  "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd"; [
<!ENTITY validator_min_max_attributes SYSTEM "entities/validator_min_max_attributes.xml">

from the source tld's in src/main/tld

or

use a different xsl for generating the tld's, But the changed xsl has no indenting support(indent is activated but it doesn't work maybe a transformer bug in jdk).

With both solutions the generated tld's contains the doctype-public and the doctype-system, but no xmlns attribute.


Arvid is member of the tobago team.


Regards

Bernd



Simon Kitching schrieb:


I'm confused. Could someone please explain what this xls/dtd issues is
actually about, and what Arvid's suggestions mean (BTW, who is Arvid?).

What is the problem that is actually occurring?

I would think that removing public declarations is not allowed; that
defines the document type. Without a public declaration, an xml document
is meaningless - or at least has no "context" to be interpreted in.

I see the alternative was something to do with removing indenting from
something? Which files are we talking about, and why would indenting
have anything to do with it?


Cheers,

Simon



--
Dipl.-Ing. Bernd Bohmann - Atanion GmbH - Software Development
Bismarckstr. 13, 26122 Oldenburg, http://www.atanion.com
phone: +49 441 4082312, mobile: +49 173 8839471, fax: +49 441 4082333

Reply via email to