The previous problem is that the only support for XSLT 2.0 is Saxon, and
Michael Kay decided to limit access to it via Maven, it had been hidden for
some time.  Now it appears to be in Maven and available again.

http://repo1.maven.org/maven2/net/sf/saxon/saxon/8.7/

Its not the latest, but it is XSLT 2.0

Mark




On Wed, Aug 17, 2011 at 8:21 AM, Tim Donohue <[email protected]> wrote:

> Hi helix84,
>
> The only reason I'm aware of is that Apache Cocoon (which XMLUI is built
> on) by default only supported XSLT 1.0 at the point in time when XMLUI
> was actually developed.
>
> Many of those dependencies you noted are actually default dependencies
> of Apache Cocoon.
>
> Since then, it sounds like Cocoon can be patched/configured to support
> XSLT 2.0, as least according to this email thread I found (skim to
> bottom of thread):
>
> http://comments.gmane.org/gmane.text.xml.cocoon.user/68284
>
> There's also various pages on the web which detail how to switch Cocoon
> to use Saxon instead of the default Xalan:
> http://blog.reverycodes.com/archives/000034.html
>
> So, it sounds like the XMLUI would need to update its sitemaps & Cocoon
> settings to properly support XSLT 2.0.
>
> In any case, these seems like it might be a worthwhile change to
> investigate.  I agree, it'd be nice to upgrade XMLUI to support XSLT 2.0.
>
> If you are willing to do so, I'd suggest opening a JIRA ticket with this
> information.  That way we can start to track the work, and add
> notes/hints to that ticket.
>
> - Tim
>
> On 8/17/2011 9:50 AM, helix84 wrote:
> > Hello,
> >
> > I'm currently doing some customizations in XMLUI and on every step I
> > find myself using XSLT 1.0 workarounds while it would be much easier
> > to use XSLT 2.0. I want to ask why DSpace (or Cocoon or whatever
> > component) still uses XSLT 1.0?
> >
> > I tried to detect if I can just change the stylesheet to
> > version="2.0", but it doesn't seem to work. I tried to detect
> > supported XSLT version with this XSLT fragment:
> > http://www.oxygenxml.com/archives/xsl-list/200710/msg00002.html
> > and it seems DSpace uses xalan-j. But the XMLUI error messages
> > sometimes output "org.xml.sax.SAXParseException" and sometimes
> > "javax.xml.transform.TransformerException" (here it mentions xalan in
> > the stacktrace). So which parser does DSpace use, Xalan (which seems
> > to only support XSLT 1.0) or Saxon (which supports XSLT 2.0)? Or does
> > it use Xalan only for XPath? I'm not really at home in this, so please
> > explain.
> >
> > Regards,
> > ~~helix84
> >
> >
> ------------------------------------------------------------------------------
> > Get a FREE DOWNLOAD! and learn more about uberSVN rich system,
> > user administration capabilities and model configuration. Take
> > the hassle out of deploying and managing Subversion and the
> > tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2
> > _______________________________________________
> > DSpace-tech mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/dspace-tech
>
>
> ------------------------------------------------------------------------------
> Get a FREE DOWNLOAD! and learn more about uberSVN rich system,
> user administration capabilities and model configuration. Take
> the hassle out of deploying and managing Subversion and the
> tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2
> _______________________________________________
> DSpace-tech mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>



-- 
Mark R. Diggory
@mire - www.atmire.com
2888 Loker Avenue East - Suite 305 - Carlsbad - CA - 92010
Esperantolaan 4 - Heverlee 3001 - Belgium
------------------------------------------------------------------------------
Get a FREE DOWNLOAD! and learn more about uberSVN rich system, 
user administration capabilities and model configuration. Take 
the hassle out of deploying and managing Subversion and the 
tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to