I read the first post wrong.

drop all reference to 'java-type' (the 1.3 DTD) or 'type' if you have
any files using 3.0 DTD. Tapestry 4 discerns the type all by itself
now.

Also, T4 parameters no longer need to specify a direction  (and they
can't) so drop the 'direction's too.

G

On 12/10/05, Ron Piterman <[EMAIL PROTECTED]> wrote:
> its not a problem of the sax parser, but rather of the document.
> you have to update your xml. It seems you are porting from 3, and there
> are some changes in the dtd:
> as far as I can remember, java-type attribute never existed - but I
> might be wrong on that. anyway, it doesn"t exist any more in 4, and also
> the direction attribute was completlet removed.
> please consult the upgrading from 3.
> also there is in the wiki ( it think in wiki / tapestry 4 / howtos, but
> am not sure ) links to two libraries that make some of the tasks of
> converting xml from 3 to 4.
> good luck,
> Ron
>
>
> Daniel Kucharski wrote:
> > Greetings, appearantly my SAXparser has problems sometimes with scanning my
> > xml files.
> >
> >
> > For instance, i get this error:
> >
> > Unable to read context:/WEB-INF/SimpleInstanceViewer.jwc: Attribute
> > "java-type" must be declared for element type "parameter".
> >
> > This file contains:
> >
> > <?xml version="1.0" ?>
> > <!DOCTYPE component-specification PUBLIC
> >   "-//Apache Software Foundation//Tapestry Specification 4.0//EN"
> >   "http://jakarta.apache.org/tapestry/dtd/Tapestry_4_0.dtd";>
> > <component-specification allow-body="no"
> >     allow-informal-parameters="no"
> >     class="view.components.SimpleInstanceViewer">
> >     <parameter java-type="java.lang.Object" name="instance" direction="in"
> > required="yes"/>
> >          <component id="elements" type="Foreach">
> >         <inherited-binding name="source" parameter-name="source"/>
> >     </component>
> >     <component id="cells" type="Foreach">
> >         <binding name="source" expression="components.elements.value"/>
> >     </component>
> > </component-specification>
> >
> >
> > So the java-type actuallly does exists.
> >
> > Anyone a clue ?
> >
> >
> > Thx
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
The Spindle guy.           http://spindle.sf.net
Get help with Spindle:   
http://lists.sourceforge.net/mailman/listinfo/spindle-user
Announcement Feed:    
http://www.jroller.com/rss/glongman?catname=/Announcements
Feature Updates:            http://spindle.sf.net/updates

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to