Re: [xerces2] info about some packaging changes

2001-11-29 Thread Shane Curcuru
you Edwin Goei <[EMAIL PROTECTED]> wrote > I think there are some more involved issue here. JAXP APIs involve both > a parser and XSLT processor so there needs to be some coordination > between projects which may be difficult to achieve so that a single > xml-apis.jar file from xml-comm

Preliminary Profiling Results comparing v2.1 to v2.2

2001-11-29 Thread Chris McCabe
I have been doing some performance analysis this week comparing Xalan 2.1 vs. 2.2 because we have been unable to use version 2.2 because it is so much slower. I thought I would share what I have found so far in case it helps. First of all, when testing just a single transformation at a time o

DO NOT REPLY [Bug 2650] - Namespace axis resolution is not XPath compliant

2001-11-29 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bu

cvs commit: xml-xalan/java/samples/ApplyXPath ApplyXPath.java

2001-11-29 Thread jkesselm
jkesselm01/11/29 14:19:14 Modified:java/samples/ApplyXPath ApplyXPath.java Log: Bugzilla4908, patch courtesy of [EMAIL PROTECTED] Revision ChangesPath 1.17 +25 -1 xml-xalan/java/samples/ApplyXPath/ApplyXPath.java Index: ApplyXPath.java ===

DO NOT REPLY [Bug 4908] - XPath's text() and node() selectors get confused by CDATA sections

2001-11-29 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bu

DO NOT REPLY [Bug 4995] - Xalan doesn't work with non-document DOM source

2001-11-29 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bu

DO NOT REPLY [Bug 5147] - Xalan inserts spurious xmlns attribute in some nodes

2001-11-29 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bu

cvs commit: xml-xalan/java/xdocs/sources/xalan readme.xml

2001-11-29 Thread dleslie
dleslie 01/11/29 13:48:44 Modified:java/xdocs/sources/xalan readme.xml Log: Added note on CachedXPathAPI. Revision ChangesPath 1.66 +2 -0 xml-xalan/java/xdocs/sources/xalan/readme.xml Index: readme.xml

cvs commit: xml-xalan/java/xdocs/sources/xalan index.xml

2001-11-29 Thread dleslie
dleslie 01/11/29 13:03:12 Modified:java/xdocs/sources/xalan index.xml Log: update for 2.2.d14 Revision ChangesPath 1.40 +1 -1 xml-xalan/java/xdocs/sources/xalan/index.xml Index: index.xml ==

cvs commit: xml-xalan/java/xdocs/sources/xalan history.xml readme.xml xsltc_constraints.xml

2001-11-29 Thread dleslie
dleslie 01/11/29 12:59:39 Modified:java/xdocs/sources/xalan history.xml readme.xml xsltc_constraints.xml Log: update for 2.2.d14 Revision ChangesPath 1.19 +187 -0xml-xalan/java/xdocs/sources/xalan/history.xml Index: history.xml ===

cvs commit: xml-xalan/java/xdocs/sources entities.ent xalan-jsite.xml

2001-11-29 Thread dleslie
dleslie 01/11/29 12:59:19 Modified:java/xdocs/sources entities.ent xalan-jsite.xml Log: update for 2.2.d14 Revision ChangesPath 1.41 +2 -2 xml-xalan/java/xdocs/sources/entities.ent Index: entities.ent =

cvs commit: xml-xalan/java commits.xml

2001-11-29 Thread dleslie
dleslie 01/11/29 12:58:49 Modified:java commits.xml Log: update for 2.2.d14 Revision ChangesPath 1.33 +333 -1517 xml-xalan/java/commits.xml Index: commits.xml === RCS file: /home/cvs/xml-xa

cvs commit: xml-xalan/java/src/org/apache/xml/dtm/ref DTMNodeProxy.java

2001-11-29 Thread jkesselm
jkesselm01/11/29 11:41:51 Modified:java/src/org/apache/xml/dtm/ref DTMNodeProxy.java Log: Implement getDocumentElement. If the DTM doesn't represent a wellformed Document, this call is undefined and throws an exception... which isn't DOMlike but that's a non-DOMlike situation.

cvs commit: xml-xalan/test/tests/extensions-gold/java javaRedir2a-write2.out javaRedir2a-write1.out javaRedir2.out

2001-11-29 Thread curcuru
curcuru 01/11/29 11:27:07 Added: test/tests/extensions-gold/java javaRedir2a-write2.out javaRedir2a-write1.out javaRedir2.out Log: Gold files for new patch of redirect:write append attribute Revision ChangesPath 1.1 xml-xalan/te

cvs commit: xml-xalan/test/tests/extensions/java javaRedir2.xsl javaRedir2.xml javaRedir2.java

2001-11-29 Thread curcuru
curcuru 01/11/29 11:26:51 Added: test/tests/extensions/java javaRedir2.xsl javaRedir2.xml javaRedir2.java Log: Test for new patch of redirect:write append attribute Revision ChangesPath 1.1 xml-xalan/test/tests/extensions/java/j

cvs commit: xml-xalan/java/src/org/apache/xalan/lib Redirect.java

2001-11-29 Thread curcuru
curcuru 01/11/29 11:26:11 Modified:java/src/org/apache/xalan/lib Redirect.java Log: Patch to enable optional 'append' attribute on redirect:open and redirect:write elements to append to file; note that behavior may not be what you expect when using xml output, since the xml decl

cvs commit: xml-xalan/java/src/org/apache/xml/dtm/ref DTMNodeProxy.java

2001-11-29 Thread jkesselm
jkesselm01/11/29 11:21:02 Modified:java/src/org/apache/xml/dtm/ref DTMNodeProxy.java Log: Minor tweaks Revision ChangesPath 1.11 +6 -3 xml-xalan/java/src/org/apache/xml/dtm/ref/DTMNodeProxy.java Index: DTMNodeProxy.java ==

RE: xsltc NodeIterator reset() question

2001-11-29 Thread John Howard
Yay Morten! I saw your patch to DOMImpl.NodeValueIterator for #5152 and am wondering if the same sorta fix should be applied to MultiDom.NodeValueIterator as well (I'm also noticing a perhaps-errornous this._isRestartable flag that is being set)? MultiDOM.javaV1.15L190: public NodeIterator clon

Re: Need a helpful Xalan-guy for xml-security -- PROPOSAL -- ISSUES

2001-11-29 Thread Joseph_Kesselman
Fix checked in -- both a modification to DTMManagerDefault which should do something more useful with your code as currently written, and a CachedXPathAPI class. Let me know how it works out... Note that I have not deprecated XPathAPI. Its convenience and safety do balance its poor performance c

cvs commit: xml-xalan/java/src/org/apache/xpath CachedXPathAPI.java XPathAPI.java

2001-11-29 Thread jkesselm
jkesselm01/11/29 08:30:47 Modified:java/src/org/apache/xml/dtm/ref DTMDefaultBase.java DTMManagerDefault.java java/src/org/apache/xml/dtm/ref/dom2dtm DOM2DTM.java java/src/org/apache/xpath XPathAPI.java Added: java/src/org/ap

RE: Preventing whitespace text nodes in XalanSourceTreeDocument?

2001-11-29 Thread Murphy, James
*Excellent* - I'll let you know how that works out... Jim > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Thursday, November 29, 2001 10:38 AM > To: [EMAIL PROTECTED] > Subject: Re: Preventing whitespace text nodes in > XalanSourceTreeDocument? > > > >

cvs commit: xml-xalan/java/src/org/apache/xml/dtm/ref/dom2dtm DOM2DTMdefaultNamespaceDeclarationNode.java DOM2DTM.java

2001-11-29 Thread jkesselm
jkesselm01/11/29 07:45:52 Modified:java/src/org/apache/xml/dtm/ref/dom2dtm DOM2DTM.java Added: java/src/org/apache/xml/dtm/ref/dom2dtm DOM2DTMdefaultNamespaceDeclarationNode.java Log: Moved default namespace declaration node object out of its "inner

RE: Preventing whitespace text nodes in XalanSourceTreeDocument?

2001-11-29 Thread Murphy, James
Thansk David, that was my suspicion. Does anyone know of a resource for tuning performance? I'm mapping out the internal object model right now looking for classes to override to tweak the default implementations. Jim > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTEC

cvs commit: xml-xalan/c/src/XercesParserLiaison XercesAttrBridge.cpp XercesBridgeNavigator.cpp XercesBridgeNavigator.hpp XercesCDATASectionBridge.cpp XercesCommentBridge.cpp XercesDocumentBridge.cpp XercesDocumentBridge.hpp XercesDocumentFragmentBridge.cpp XercesDocumentTypeBridge.cpp XercesElementBridge.cpp XercesEntityBridge.cpp XercesEntityReferenceBridge.cpp XercesNotationBridge.cpp XercesParserLiaison.cpp XercesProcessingInstructionBridge.cpp XercesTextBridge.cpp

2001-11-29 Thread dbertoni
dbertoni01/11/29 07:24:09 Modified:c/src/XercesParserLiaison XercesAttrBridge.cpp XercesBridgeNavigator.cpp XercesBridgeNavigator.hpp XercesCDATASectionBridge.cpp XercesCommentBridge.cpp XercesDocumentBridge.cpp

Re: Preventing whitespace text nodes in XalanSourceTreeDocument?

2001-11-29 Thread Joseph_Kesselman
Another approach: Have Xalan load its document from a SAX stream, and write a SAX filter that discards those instances of whitespace which you know are irrelevant to your documents.

xsltc problems inside Tomcat 4.0.1

2001-11-29 Thread Deon van der Merwe
Hi All, I have a simple application that uses the xalan XSLTC to transform XML documents into HTML documents. When running this stand-alone (without Tomcat) it all works fine. If I run this from a servlet inside Tomcat (4.0.1 and build 20011127) I get one of the following errors: Added to the

Re: Preventing whitespace text nodes in XalanSourceTreeDocument?

2001-11-29 Thread David_N_Bertoni
We don't, since that would tie the document to a specific stylesheet, which I think is a bad idea unless the user requests it. We might add an optimization like that in the future. Dave

Re: Preventing whitespace text nodes in XalanSourceTreeDocument?

2001-11-29 Thread Joseph_Kesselman
Just a thought: Check the documentation for xsl:strip-space. In Xalan-J, I believe we currently apply that as a filter to the incoming document. I don't know whether Xalan-C has a similar optimization.

Re: XSL trans dies on Windows (C++)

2001-11-29 Thread Paul_Dick
Matt, I ran your code on my test machine. The only change that was necessary was to give a fully qualified path to the files. XSLTInputSource theXMLSource ( "people.xml" ); XSLTInputSource theStylesheetSource( "trans.xsl" ); XSLTInputSource theXMLS

Re: Need a helpful Xalan-guy for xml-security -- PROPOSAL -- ISSUES

2001-11-29 Thread Joseph_Kesselman
Oops. There is a downside here. If we cache the XPathContext, and the DTMManager, and the DTM... then if you change the source DOM and call XPath again, you'll still be operating against the old DTM, which will no longer match the DOM and will probably yield incorrect results (or simply malfunct

Re: Need a helpful Xalan-guy for xml-security -- PROPOSED SOLUTION

2001-11-29 Thread Joseph_Kesselman
OK, we've got a bit more info on what's going on... It turns out that each call to XPathAPI creates a new XPathContext, and thus a new DTMManager. As a result, the new call is _NEVER_ going to find the node you passed in (since that DTMManager doesn't know about the old DTM) and will always atte

Re: UnSubscribe me

2001-11-29 Thread Shane_Curcuru
Unsubscribe questions are always best answered at http://xml.apache.org/mail.html If that doesn't work, you should contact the appropriate postmaster, not the mailing list itself and not individuals on the list. Hint: I'm not a list maintainer or postmaster, and couldn't help even if I wanted to

cvs commit: xml-xalan/java/src/org/apache/xalan/xsltc/runtime BasisLibrary.java

2001-11-29 Thread morten
morten 01/11/29 04:51:31 Modified:java/src/org/apache/xalan/xsltc/compiler DecimalFormatting.java java/src/org/apache/xalan/xsltc/runtime BasisLibrary.java Log: A fix for a few regressions from yesterday. PR: n/a Obtained from:

Re: Need a helpful Xalan-guy for xml-security

2001-11-29 Thread Christian Geuer-Pollmann
>> Isn't it possible to get the functionality from 2.2D10 back with > xmlns:xml support? > > It is. The question is just how best to approach it. > > I can put in a short-term kluge to special-case that node and bypass the > bug it exposed. Or I can try to fix the real bug, which is probably goin

XSL trans dies on Windows (C++)

2001-11-29 Thread Matt Leinhos
Hello, I've come across a problem that's got me stumped. I've tried this with both xalan 1.1 and 1.2 for C++, and the results are the same. A program I've written runs just fine on Linux (RH 6.1 w/ default g++), but it crashes on Windows under VC++ 6.0 sp5. On Windows, I am using the same threadi

DO NOT REPLY [Bug 5152] - xsltc generates empty nodeset in non-leaf predicate-attribute test

2001-11-29 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bu

cvs commit: xml-xalan/java/src/org/apache/xalan/xsltc/dom DOMImpl.java StepIterator.java

2001-11-29 Thread morten
morten 01/11/29 03:33:10 Modified:java/src/org/apache/xalan/xsltc/compiler CastExpr.java EqualityExpr.java Expression.java LastCall.java Predicate.java VariableRefBase.java java/src/org/apache/xalan/xsltc/dom DOMImpl.java

Re: xsltc NodeIterator reset() question

2001-11-29 Thread Morten Jorgensen
John, I think the problem here is that the node value iterator needs to be able to restart its source iterator at any time. This is similar to the way a step iterator needs to force its '_iterator' iterator to be restartable. In your case SI3 will keep restarting NVI for each node it gets from SI

DO NOT REPLY [Bug 4721] - Programmer's assertion in getNextStepPos: unknown stepType: -1

2001-11-29 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bu

cvs commit: xml-xalan/java/src/org/apache/xalan/xsltc/dom NodeSortRecord.java

2001-11-29 Thread morten
morten 01/11/29 01:49:36 Modified:java/src/org/apache/xalan/xsltc/compiler Sort.java java/src/org/apache/xalan/xsltc/dom NodeSortRecord.java Log: A fix for multilevel sort-keys. If a set of translets (representing different stylesheets) are running one the same JVM

DO NOT REPLY [Bug 4755] - xsltc servlet and JSP transformations interact changing sort order

2001-11-29 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bu

DO NOT REPLY [Bug 5130] - Only SystemClassLoader is used.

2001-11-29 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bu

cvs commit: xml-xalan/java/src/org/apache/xalan/xsltc/trax TemplatesImpl.java

2001-11-29 Thread morten
morten 01/11/29 01:33:35 Modified:java/src/org/apache/xalan/xsltc/trax TemplatesImpl.java Log: A fix for the TrAX API when used from within an environment that does _not_ use one of the standard classloaders. PR: bigzilla 5130 Obtained from:n/a Submitted b

RE: How to use another encoding with XalanC instead of UTF-8

2001-11-29 Thread Illarramendi Amilibia, Aitor
Thankyou very much. I was reading package's htmls, but ICU building notes were a little bit difficult to understand at first look. Now I'm trying to rebuild all with ICU. Thanks. -Original Message- From: Claude Warren [mailto:[EMAIL PROTECTED]] Sent: miƩrcoles 28 de noviembre de 2001 1

DO NOT REPLY [Bug 4721] - Programmer's assertion in getNextStepPos: unknown stepType: -1

2001-11-29 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bu

Re: xsltc cloneIterator() question

2001-11-29 Thread Morten Jorgensen
John, The setMark() method should preserve the _position variable. I see that even the StepIterator iterator does not handle this. Morten John Howard wrote: > > Morten wrote: > > John wrote: > > > such path. I have noticed that the absence of the > > > call to resetPosition() in reset() caused