I've looked into this further.

It seems that while OpenLaszlo 3.1.1 is *technically* using JDOM 1.0, the
jar included is based on the source from version 1.0beta8-dev built March 28
2002.

Whereas the official 1.0 JDOM jar is built September 9 2004. I think that
there were some significant changes in the 2 years that elapsed.

You can compare the two JAR files using "Beyond Compare" and you'll see the
differences are not trivial.

I suggest that OpenLaszlo include the official JDOM 1.0 JAR in the next
build if possible.



-----Original Message-----
From: William Krick [mailto:[EMAIL PROTECTED]
Sent: Friday, January 20, 2006 1:35 PM
To: Jim Grandy
Cc: [email protected]
Subject: RE: [Laszlo-user] Problem witth jdom - openlaszlo-3.2alpha.war


That's odd. I'm using 3.1.1 but when I try to use JDOM 1.0 stuff in a JSP in
my laslo app directory, I get "cannot resolve symbol" errors.

Try putting this line in a jsp...

org.jdom.output.XMLOutputter fmt =
  new org.jdom.output.XMLOutputter(org.jdom.outputFormat.getPrettyFormat());







-----Original Message-----
From: Jim Grandy [mailto:[EMAIL PROTECTED]
Sent: Friday, January 20, 2006 11:51 AM
To: William Krick
Cc: Bruno Domenici Ferreira; [email protected]
Subject: Re: [Laszlo-user] Problem witth jdom - openlaszlo-3.2alpha.war


As of 3.1, we're using a patched version of JDOM 1.0. See this bug
for the gory details:

http://www.openlaszlo.org/jira/browse/LPP-924

jim

On Jan 20, 2006, at 8:14 AM, William Krick wrote:

> I'm not sure if this is is related to your problem or not but I'm
> pretty
> sure laszlo is still using the beta 9 version of JDOM instead of
> the 1.0
> version of JDOM that was released over a year ago.
>
>
> -----Original Message-----
> From: Bruno Domenici Ferreira [mailto:[EMAIL PROTECTED]
> Sent: Friday, January 20, 2006 8:51 AM
> To: [email protected]
> Subject: [Laszlo-user] Problem witth jdom - openlaszlo-3.2alpha.war
>
>
> Hi All,
>
>
> I'm newbie on this list and OpenLaszlo technology.
> I've try to deploy openlaszlo-3.2alpha.war on my JBoss AS in a
> Slackware 10.
>
> When a call any Laszlo app i receive the exception:
>
> java.lang.UnsupportedClassVersionError: org/jdom/input/SAXBuilder
> (Unsupported major.minor version 49.0)
>         at java.lang.ClassLoader.defineClass0(Native Method)
>         at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
>         at
> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:
> 123)
>         at java.net.URLClassLoader.defineClass(URLClassLoader.java:
> 251)
>         at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
>
> In my Windows XP works fine.
>
> Any idea!?
>
>
> Thanks,
>
> --
> Bruno D.
>
> ps.: sorry about my english. :0/
>
> _______________________________________________
> Laszlo-user mailing list
> [email protected]
> http://www.openlaszlo.org/mailman/listinfo/laszlo-user
>
>
> _______________________________________________
> Laszlo-user mailing list
> [email protected]
> http://www.openlaszlo.org/mailman/listinfo/laszlo-user



_______________________________________________
Laszlo-user mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-user


_______________________________________________
Laszlo-user mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-user

Reply via email to