burtonator wrote:
>
> Rapha�l Luta wrote:
> <snip>
> > Actually I don't like the <metainfo><title> stuff, I think this should really be
> > handled by the Dublin Core schema, as in:
> >
> > <portlets xmlns="http://java.apache.org/jetspeed/xsd/psml/1.0/"
> > xmlns:dc="http://purl.org/dc/elements/1.0/">
> >
> > <dc:title>myTitle</dc:title>
> > <dc:description>myDescription</dc:description>
> > <dc:language>EN</dc:language>
> >
> > <!-- ... -->
> > </portlets>
> >
> > This would allow PSML to focus on its core task: describing portlet sets layout
>while
> > still keeping readability, schema validation, etc...
>
> Yes... however until Castor gets better support for this I don't want to
> do it.
>
> IE I don't want:
>
> entry.getDcTitle().
>
> :(
>
Agreed, the fact is that Castor XML <-> Java marshalling has a lot drawbacks
currently,
I toying with trying a SAX2 or JDOM implementation of the PSML system. If this
doesn't prove too time consuming to write I thing will be better off using these,
because:
- we can really control the Peer API
- we can use namespace to integrate external schemas
- that will be faster
- that will smoothly integrate into Cocoon2
As soon as I have some development time on my hands, I'll do some tests...
--
Rapha�l Luta - [EMAIL PROTECTED]
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]