Hi Mukul, Since it's only one line of code that isn't compiling, is there some kind of workaround we could put in as a temporary fix? Like calling the method by reflection? Or calling some alternate method?
It's very close to the release and would be nice if we could defer making such a large change (e.g. pulling in Java 5 jars) until after 2.10.0 is out. Thanks. Michael Glavassevich XML Parser Development IBM Toronto Lab E-mail: [email protected] E-mail: [email protected] Mukul Gandhi <[email protected]> wrote on 12/10/2009 09:52:58 AM: > Hi Michael, > It seems, that unfortunately the PsychoPath JAR currently checked > in Xerces SVN repository, can no longer work (even compilation would > fail) with certain parts of Xerces-J code (like, the > AbstractPsychoPathImpl class that you cited). > > The compilation failure, that occurs in Xerces code, while interfacing > with certain PsychoPath APIs is due to the fact that, I have been > using the latest PsychoPath JAR from Eclipse site, where number of > improvements have occurred to PsychoPath code base (now XPath 2 > compliance with latest PsychoPath binary at eclipse.org, is almost > 100%). > > It seems, that using the latest PsychoPath JAR from the Eclipse site > (ref, https://build.eclipse.org/hudson/view/WTP/job/cbi-wtp- > wst.xsl.psychopath/ > [1]) is now necessary to compile (and also needed at run-time) > Xerces-J schema-dev SVN code. > > All the current improvements to PsychoPath would be available in a > future release, of Eclipse WTP. But for now, we can use the latest > PsychoPath binary from the above Eclipse URL [1]. PsychoPath binary > can be accessed from within the file, > wst-xpath2-psychopath-SDK-N200912100843.zip (which is the latest > PsychoPath build. This filename may change -- with a newer timestamp, > if any further improvements to PsychoPath takes place). > > I suggest, following actions for the current Xerces-J schema-dev SVN branch: > 1. delete file, org.eclipse.wst.xml.xpath2.processor_1.0.0.jar from > the tools folder. It can no longer work with the Xerces-J SVN code :( > 2. create a folder say, java15 in tools, and check-in latest > PsychoPath JAR from the above mentioned Eclipse URL [1]. > > Also, the latest PsychoPath JAR needs min JRE level of 1.5. > > So unfortunately, I think to use Xerces XSD 1.1 assertions, min JRE > level of 1.5 is mandatory :( > > On Thu, Dec 10, 2009 at 7:28 PM, Michael Glavassevich > <[email protected]> wrote: > > Hi Mukul, > > > > I recently did an update from the XML Schema 1.1 branch and noticed that > > 'AbstractPsychoPathImpl' is no longer compiling. It seems to be calling a > > method (XSDuration.parseDTDuration) that doesn't exist or isn't in the > > PsychoPath binary currently checked in. It wasn't obvious to me how to fix > > this. Can you take a look? > > > > Thanks. > > > > Michael Glavassevich > > XML Parser Development > > IBM Toronto Lab > > E-mail: [email protected] > > E-mail: [email protected] > > > > -- > Regards, > Mukul Gandhi > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected]
