Re: svn commit: r543183 - in /db/derby/code/trunk/java: engine/org/apache/derby/impl/sql/compile/UnaryOperatorNode.java testing/org/apache/derbyTesting/functionTests/tests/lang/CollationTest.java

2007-06-01 Thread Knut Anders Hatlen
Daniel John Debrunner [EMAIL PROTECTED] writes: Knut Anders Hatlen wrote: Daniel John Debrunner [EMAIL PROTECTED] writes: Army wrote: Knut Anders Hatlen wrote: OK, so if we did some kind of reflection trick in SqlXmlUtil to use the com.sun.org.apache.xalan package if org.apache.xalan

Re: svn commit: r543183 - in /db/derby/code/trunk/java: engine/org/apache/derby/impl/sql/compile/UnaryOperatorNode.java testing/org/apache/derbyTesting/functionTests/tests/lang/CollationTest.java

2007-05-31 Thread Army
[EMAIL PROTECTED] wrote: + + s.executeUpdate(set schema APP); + checkLangBasedQuery(s, SELECT XMLSERIALIZE(x as CHAR(10)) + + FROM xmlTable, SYS.SYSTABLES WHERE + + XMLSERIALIZE(x as CHAR(10)) = TABLENAME, + null); Just for the record, I think use of

Re: svn commit: r543183 - in /db/derby/code/trunk/java: engine/org/apache/derby/impl/sql/compile/UnaryOperatorNode.java testing/org/apache/derbyTesting/functionTests/tests/lang/CollationTest.java

2007-05-31 Thread Mamta Satoor
Thanks, Army. I will work on making these changes. Mamta On 5/31/07, Army [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote: + + s.executeUpdate(set schema APP); + checkLangBasedQuery(s, SELECT XMLSERIALIZE(x as CHAR(10)) + + FROM xmlTable, SYS.SYSTABLES WHERE +

Re: svn commit: r543183 - in /db/derby/code/trunk/java: engine/org/apache/derby/impl/sql/compile/UnaryOperatorNode.java testing/org/apache/derbyTesting/functionTests/tests/lang/CollationTest.java

2007-05-31 Thread Knut Anders Hatlen
Army [EMAIL PROTECTED] writes: [EMAIL PROTECTED] wrote: + + s.executeUpdate(set schema APP); + checkLangBasedQuery(s, SELECT XMLSERIALIZE(x as CHAR(10)) + + FROM xmlTable, SYS.SYSTABLES WHERE + + XMLSERIALIZE(x as CHAR(10)) = TABLENAME, +

Re: svn commit: r543183 - in /db/derby/code/trunk/java: engine/org/apache/derby/impl/sql/compile/UnaryOperatorNode.java testing/org/apache/derbyTesting/functionTests/tests/lang/CollationTest.java

2007-05-31 Thread Army
Knut Anders Hatlen wrote: You're right that it fails with Sun jdk15 and jdk16 when Xalan is not in classpath. However, this simple change in XML.checkXMLRequirements() made CollationTest run just fine: Index: java/engine/org/apache/derby/iapi/types/XML.java

Re: svn commit: r543183 - in /db/derby/code/trunk/java: engine/org/apache/derby/impl/sql/compile/UnaryOperatorNode.java testing/org/apache/derbyTesting/functionTests/tests/lang/CollationTest.java

2007-05-31 Thread Mamta Satoor
Army, I just changed the test with commit 543209. Please let me know if you see any further issues. Mamta On 5/31/07, Mamta Satoor [EMAIL PROTECTED] wrote: Thanks, Army. I will work on making these changes. Mamta On 5/31/07, Army [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote: +

Re: svn commit: r543183 - in /db/derby/code/trunk/java: engine/org/apache/derby/impl/sql/compile/UnaryOperatorNode.java testing/org/apache/derbyTesting/functionTests/tests/lang/CollationTest.java

2007-05-31 Thread Knut Anders Hatlen
Army [EMAIL PROTECTED] writes: Knut Anders Hatlen wrote: You're right that it fails with Sun jdk15 and jdk16 when Xalan is not in classpath. However, this simple change in XML.checkXMLRequirements() made CollationTest run just fine: Index: java/engine/org/apache/derby/iapi/types/XML.java

Re: svn commit: r543183 - in /db/derby/code/trunk/java: engine/org/apache/derby/impl/sql/compile/UnaryOperatorNode.java testing/org/apache/derbyTesting/functionTests/tests/lang/CollationTest.java

2007-05-31 Thread Army
Knut Anders Hatlen wrote: OK, so if we did some kind of reflection trick in SqlXmlUtil to use the com.sun.org.apache.xalan package if org.apache.xalan wasn't there, that would probably work. Hmm...would this me we were coding Derby for a specific JVM (or set of JVMs)? Is that a precedence we

Re: svn commit: r543183 - in /db/derby/code/trunk/java: engine/org/apache/derby/impl/sql/compile/UnaryOperatorNode.java testing/org/apache/derbyTesting/functionTests/tests/lang/CollationTest.java

2007-05-31 Thread Daniel John Debrunner
Army wrote: Knut Anders Hatlen wrote: OK, so if we did some kind of reflection trick in SqlXmlUtil to use the com.sun.org.apache.xalan package if org.apache.xalan wasn't there, that would probably work. Hmm...would this me we were coding Derby for a specific JVM (or set of JVMs)? Is that a

Re: svn commit: r543183 - in /db/derby/code/trunk/java: engine/org/apache/derby/impl/sql/compile/UnaryOperatorNode.java testing/org/apache/derbyTesting/functionTests/tests/lang/CollationTest.java

2007-05-31 Thread Army
Daniel John Debrunner wrote: I thought there were standard apis to the Xpath engine or is that just for the XML parser? It looks there's a standard API for XPath as of 1.5, encapsulated in the javax.xml.xpath.* package. But that package does not exist for 1.4 (which is what the initial

Re: svn commit: r543183 - in /db/derby/code/trunk/java: engine/org/apache/derby/impl/sql/compile/UnaryOperatorNode.java testing/org/apache/derbyTesting/functionTests/tests/lang/CollationTest.java

2007-05-31 Thread Knut Anders Hatlen
Daniel John Debrunner [EMAIL PROTECTED] writes: Army wrote: Knut Anders Hatlen wrote: OK, so if we did some kind of reflection trick in SqlXmlUtil to use the com.sun.org.apache.xalan package if org.apache.xalan wasn't there, that would probably work. Hmm...would this me we were coding

Re: svn commit: r543183 - in /db/derby/code/trunk/java: engine/org/apache/derby/impl/sql/compile/UnaryOperatorNode.java testing/org/apache/derbyTesting/functionTests/tests/lang/CollationTest.java

2007-05-31 Thread Daniel John Debrunner
Knut Anders Hatlen wrote: Daniel John Debrunner [EMAIL PROTECTED] writes: Army wrote: Knut Anders Hatlen wrote: OK, so if we did some kind of reflection trick in SqlXmlUtil to use the com.sun.org.apache.xalan package if org.apache.xalan wasn't there, that would probably work. Hmm...would