On Thu, 14 Oct 2004 10:49:17 -0700 (PDT), "David Montgomery"
<[EMAIL PROTECTED]> said:
>
> Hi Dan,
>
> Sorry, I'm getting responses from the list in digest mode, so I just
> received your response this morning! :(  I'll be switching to
> individual messages today...
>
> Yes, I am using the JDK 1.5.

OK, thought so.

So, the missing NamespaceSupport2 is due to a bug in our code.  We
should have been using orbeon.*NamespaceSupport2.  However this went
unnoticed as jdk 1.4 ships with Xalan which provides
org.apache.*NamespaceSupport2.  1.5 also ships with Xalan however  Sun
changed the package name, hence this problem.

Dumping the xalan 2.5.1 jars in the WEB-INF/lib directory should   be a
safe workaround for this problem I believe.

There are however a couple of other minor pbms that may still come up so
I suggest you don't use 1.5 with 2.5.4.

Now since I, by coincidence, recently checked in changes for 1.5 issues
your options are 
o Use Presentation Server 2.5.4 with JDK 1.4 
o Get and build the latest Presentation Server code and  stick with 1.5.

Finally, below is the check in comment that went with the changes.
As you can see it was mostly, but not entirely, compile time pbms.

Misc fixes for building with JDK 1.5
o  javac defaults to source=1.5 which is incompatible with our spec of 
   target="1.3".  Fix is to now specify source="1.3" as well.

o  Trax xslt ant task was adding ns decl to our example's web.xml.  
   This made web.xml invalid.  Added xslt to excludes in web.xsl.

o   1.5 javac is strict wrt to ns clashes in java imports.
    Consequently it was choking when there was 
       import javax.jms.*
       import java.util.*
    because there is Queue in both packages.  
    
    So cleaned up imports.

o   We were importing NamespaceSupport2 from
    org.apache ( so Xalan ) instead of orbeon.apache.

    This was unintentional and resulted in NamespaceSupport2
    coming from the JDK.  However in 1.5 the class has been
    moved to a different package.

    Fixed by importing from orbeon.apache.

o   TransformerFactoryImpl was missing abstract  method
    added  1.5 so added stub.

o   Had direct ref to crimson XMLReasderImpl.  Crimson
    has been replaced with Xerces in 1.5 so switched to
    jaxp XMLReader.

o  enum is a keyword in 1.5 and we had a var of that name.
   So renamed var.

-- Regards, Dan Small


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
orbeon-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/orbeon-user

Reply via email to