Re: [jira] Commented: (XALANJ-2217) [PATCH] cleaup some String usage sillyness

2005-10-21 Thread dbrosius
I'm sure Character.toString and String.valueOf(char) are the same, however, if you are worried, it's fine by me if you don't make that one change. Quoting "Brian Minchau (JIRA)" : > [ > http://issues.apache.org/jira/browse/XALANJ-2217?page=comments#action_12332734 > ] > > Brian Minchau com

Re: 2.7.0 and TreeWalker

2005-08-10 Thread dbrosius
ah! thank you. Quoting Yash Talwar <[EMAIL PROTECTED]>: > Hi, > You need to include serializer.jar file also. This file includes the > serializer. In the Xalan Java 2.7 release, serializer code is included in > this jar file. The release 2.6 has serializer code included in the > xalan.jar file

2.7.0 and TreeWalker

2005-08-10 Thread dbrosius
I updated my xalan to the new 2.7 release. When i do, using this code: TransformerFactory tff = TransformerFactory.newInstance(); I get: java.lang.NoClassDefFoundError: org/apache/xml/serializer/TreeWalker org.apache.xalan.processor.TransformerFactoryImpl.newTransformer(Transfor

Re: SQL Extension returns no rows, no error after large number of queries.

2004-07-16 Thread dbrosius
Quoting Phil Friedman <[EMAIL PROTECTED]>: > It seems that after a large number --hundreds, but I have not counted-- of > queries on the same db connection, the SQL extension starts returning empty > result sets with no errors thrown. > > I'm at 2.6.0 connecting to Sybase SQL Anywhere 8. There ar

xalan build under tiger?

2004-07-16 Thread dbrosius
Has anyone got xalan to build under jdk5.0? It would appear in the jdk distributable sun has added a bunch of methods to the dom interfaces causing missing implementations in xalan. - To unsubscribe, e-mail: [EMAIL PROTECTED] F

Suspect code?

2004-07-09 Thread dbrosius
In org.apache.xalan.xsltc.trax.SmartTransformerFactoryImpl is the following method. At the bottom a new TransformerConfigurationException(e2) is created but never thrown. public XMLFilter newXMLFilter(Templates templates) throws TransformerConfigurationException { try {

Suspect code?

2004-07-09 Thread dbrosius
In org.apache.xalan.xsltc.compiler.AttributeSet is the following method. _name is a QName, who's equals just checks for the objects being the same (using ==). Since EMPTYSTRING is a String, and _name is a QName, then (_name.equals(EMPTYSTRING))) will always be false. public void parseC

Suspect code?

2004-07-09 Thread dbrosius
In org.apache.xalan.serialize.SerializeUtils.java is the following method. dtm.getStringValue(attr) returns an XMLString, which is an interface. This implies to me that this equals code then, is always going to return false, because we are doing String.equals( XMLString ) public static boo

Patch cleans up silly usage of new String constructor

2004-07-09 Thread dbrosius
silly_new_string.patch Description: Binary data - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]