You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by Geoff Longman <gl...@intelligentworks.com> on 2003/07/06 16:08:22 UTC

I want to change contrib

The file

org/apache/tapestry/contrib/inspector/ShowSpecification.jwc

mixes internal and external DTD elements:

<?xml version="1.0" encoding="UTF-8"?>
    <!-- $Id: ShowSpecification.jwc,v 1.2 2003/06/01 05:05:04 hlship Exp
$ -->
    <!DOCTYPE component-specification PUBLIC
        "-//Apache Software Foundation//Tapestry Specification 3.0//EN"
        "http://jakarta.apache.org/tapestry/dtd/Tapestry_3_0.dtd" [

    <!ENTITY EvenOdd "org.apache.tapestry.bean.EvenOdd">
    ]>

The way that Spindle caches parsed DTDs in incompatible with this. I have
added a preference that allows users to turn caching on/off  so they can use
mixed DTDs if they like. At the price of reduced speed. But if the framework
or contrib use mixed DTDs, the the user is forced to always have caching
turned off because Spindle will fail to build them.

I would suggest that framework and contrib not use mixed DTDs.

Framework is clean and there's only the one file in contrib that does it. I
can easily fix that.

Objections?

Geoff

Geoffrey Longman
Intelligent Works Inc.


RE: I want to change contrib

Posted by "Howard M. Lewis Ship" <hl...@comcast.net>.
None from me.  That kind of manual internal DTD contribution is the kind of thing you do when you
don't have tool support such as Spindle.

--
Howard M. Lewis Ship
Creator, Tapestry: Java Web Components
http://jakarta.apache.org/tapestry



> -----Original Message-----
> From: Geoff Longman [mailto:glongman@intelligentworks.com] 
> Sent: Sunday, July 06, 2003 10:08 AM
> To: tapestry-dev@jakarta.apache.org
> Subject: I want to change contrib
> 
> 
> The file
> 
> org/apache/tapestry/contrib/inspector/ShowSpecification.jwc
> 
> mixes internal and external DTD elements:
> 
> <?xml version="1.0" encoding="UTF-8"?>
>     <!-- $Id: ShowSpecification.jwc,v 1.2 2003/06/01 05:05:04 
> hlship Exp $ -->
>     <!DOCTYPE component-specification PUBLIC
>         "-//Apache Software Foundation//Tapestry 
> Specification 3.0//EN"
>         "http://jakarta.apache.org/tapestry/dtd/Tapestry_3_0.dtd" [
> 
>     <!ENTITY EvenOdd "org.apache.tapestry.bean.EvenOdd">
>     ]>
> 
> The way that Spindle caches parsed DTDs in incompatible with 
> this. I have added a preference that allows users to turn 
> caching on/off  so they can use mixed DTDs if they like. At 
> the price of reduced speed. But if the framework or contrib 
> use mixed DTDs, the the user is forced to always have caching 
> turned off because Spindle will fail to build them.
> 
> I would suggest that framework and contrib not use mixed DTDs.
> 
> Framework is clean and there's only the one file in contrib 
> that does it. I can easily fix that.
> 
> Objections?
> 
> Geoff
> 
> Geoffrey Longman
> Intelligent Works Inc.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org
>