RE: format-date() extension

2001-11-13 Thread Keen Tim
Thanks for your prompt reply David. Specs? Yes that would be nice. Seriously. I'm still researching exactly the best way to achieve what I want, and hopefully satisfy the broader community whilst doing so. What I need is to convert a date in a specific string format, dd-mmm- HH:mm:ss (e.g.

RE: format-date() extension

2001-11-13 Thread Johannes van der Merwe
Hi there This is what I use: /** * Parse the datestring into a valid date then format into a different date in the outputformat * If DateTime is empty then take current date * */ public static String FormatDate(String DateTime, String InputForm

Re: format-date() extension

2001-11-13 Thread David_Marston
Tim Keen (a.k.a. Keen Tim) writes: >I have a need for it and therefore I'm going to do it, but being new to >Java I don't expect it to be a brilliant piece of work. My job would >certainly be easier if I could piggy-back off the work that somebody >else has already done, even if it's only thought

format-date() extension

2001-11-13 Thread Keen Tim
Has anyone done any work towards this? I have a need for it and therefore I'm going to do it, but being new to Java I don't expect it to be a brilliant piece of work. My job would certainly be easier if I could piggy-back off the work that somebody else has already done, even if it's only thought

HTML LiteralResult performance and encoding

2001-11-13 Thread Voytenko, Dimitry
Hi, I tried to compare performance of LiteralResult output. So I created stylesheet which I used to output 1, 2, 3, 4, 5, 6 thousand elements to file using html output method and ISO-8859-1 encoding. I compared average time of 20 executions of one stylesheet with Xalan 1.0.1 and Xalan 2.2.D13 pro

DO NOT REPLY [Bug 4859] - WrappedRunningException on document() call

2001-11-13 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 4859] New: - WrappedRunningException on document() call

2001-11-13 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 4858] - XPath error when using many document() calls

2001-11-13 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 4858] New: - XPath error when using many document() calls

2001-11-13 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/xml/dtm/ref DTMNodeList.java

2001-11-13 Thread jkesselm
jkesselm01/11/13 14:09:42 Modified:java/src/org/apache/xml/dtm/ref DTMNodeList.java Log: Bugzilla4842, secondary complaint (glitch in getChildren)... Revision ChangesPath 1.5 +1 -1 xml-xalan/java/src/org/apache/xml/dtm/ref/DTMNodeList.java Index: DTMNode

DO NOT REPLY [Bug 4642] - Dokumentation Bug for Extension Functions Namespace

2001-11-13 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 4850] - XALANC: Attempted copy-of an attribute should generate error.

2001-11-13 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 4850] - XALANC: Attempted copy-of an attribute should generate error.

2001-11-13 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 4850] New: - XALANC: Attempted copy-of an attribute should generate error.

2001-11-13 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 4848] New: - ENTITYRESOLVER doesn't work with DTD's

2001-11-13 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 4847] - nodeset extension resetting default namespace when not necessary

2001-11-13 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 4847] - nodeset extension resetting default namespace when not necessary

2001-11-13 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 4847] New: - nodeset extension resetting default namespace when not necessary

2001-11-13 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 4845] - xsltc should escape quote chars in an html attribute

2001-11-13 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 4845] New: - xsltc should escape quote chars in an html attribute

2001-11-13 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 1520] - xsltc has problems escaping special characters

2001-11-13 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: using anoncvs

2001-11-13 Thread Tom Amiro
Thanks Gary. The page is very clear. It was remembering the page to go to that slipped my mind. Tom Gary L Peskin wrote: > > See > http://xml.apache.org/cvs.html > > under anoncvs. It shows > > password: anoncvs > > I'm not sure how this can be made clearer. > > Gary > > > -Origi

RE: Xalan D13/Extension Function Issue? DTM getChildNodes bug?

2001-11-13 Thread Rick Bullotta
Agreed. Definitely a getChildNodes() bug. We implemented a deep copy using getFirstChild/getNextSibling and are up and running. We still needed to include "conditional logic" based on whether we were using Xalan 2.1 or 2.2 due to the fact that node lists passed to extensions in 2.2 include an "i

RE: using anoncvs

2001-11-13 Thread Gary L Peskin
See http://xml.apache.org/cvs.html under anoncvs. It shows password: anoncvs I'm not sure how this can be made clearer. Gary > -Original Message- > From: Tom Amiro [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, November 13, 2001 10:31 AM > To: [EMAIL PROTECTED] > Subject: using ano

using anoncvs

2001-11-13 Thread Tom Amiro
Someone just sent me this question: >We have a login problem. Do we login as [EMAIL PROTECTED]? What will be the >password? Does anyone know the answer? Tom

DO NOT REPLY [Bug 4844] New: - Implement a reusable structure for Translets and DOMs.

2001-11-13 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: Xalan D13/Extension Function Issue? DTM getChildNodes bug?

2001-11-13 Thread Joseph_Kesselman
There does seem to be a glitch here. When I add the lines NodeList nl1=nl.item(0).getChildNodes(); for(int i=0;i

RE: Xalan D13/Extension Function Issue?

2001-11-13 Thread Rick Bullotta
We're not importing/inserting anything into the source DOM. Merely returning a NodeList from an extension function, and using "xsl:copy-of" to merge it into the output. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 13, 2001 11:13 AM To: [EM

RE: Xalan D13/Extension Function Issue?

2001-11-13 Thread Rick Bullotta
Thanks for the response, Joe. Actually, in a previous message, I discussed trying to do our own cloner, but there also appears to be an issue with the NodeList returned from getChildNodes() on a DTMNodeProxy object. Kinda up the creek sans paddle on this one... - Rick -Original Message

Re: Xalan D13/Extension Function Issue?

2001-11-13 Thread Joseph_Kesselman
The import appears to be failing because their implementation of importNode is calling getDOMImplementation(), and our DOM proxy doesn't currently support that operation. We can add it. It ought to be relatively low risk, but I'm not sure whether it's critical enough to add during he D13 stable

RE: Xalan D13/Extension Function Issue? DTM getChildNodes bug?

2001-11-13 Thread Rick Bullotta
Some more detail: To get this working, we toyed with developing our own "deep cloning" API that would get around this issue. However, in the process, we discovered what may be a serious bug in the DTMNodeProxy implementation. Given a document that looks like:

Re: Xalan D13/Extension Function Issue?

2001-11-13 Thread Joseph_Kesselman
You should not attempt to import or insert anything into the document Xalan is processing. That's forbidden by the XSLT processing model, and Xalan will either complain or malfunction if you attempt to do so. However, you _should_ be able to import nodes from Xalan's DOM view into other DOMs; we

Re: [GUMP] Xalan2 Smoketest Failure

2001-11-13 Thread Shane_Curcuru
Well, in this case, I'd also be suspicious of these two files that were changed for this Gump run: U xml-xalan/test/tests/extensions/library/libraryNodeset01.xsl U xml-xalan/test/tests/extensions-gold/library/libraryNodeset01.out Since that seems to be the only test that's failing. But there wer

RE: [ANNOUNCEMENT] Xalan-J 2.2.D13 released

2001-11-13 Thread Stephane Bailliez
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > This is almost identical with the withdrawn D12 release, but > includes one > more bugfix and -- more importantly -- the xml-apis.jar file which we > forgot to ship last time around. Please remember to add this

RE: Xalan D13/Extension Function Issue?

2001-11-13 Thread Rick Bullotta
Ignore the typo in the sample stylesheet - the element is properly closed in the real thing... -Original Message- From: Rick Bullotta [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 13, 2001 9:58 AM To: Xalan Subject: Xalan D13/Extension Function Issue? When is a Node not a node?

Xalan D13/Extension Function Issue?

2001-11-13 Thread Rick Bullotta
When is a Node not a node? That is the question... Here's the deal: In an extension function, we're building a DOM based on values and NodeLists passed to the extension function. The problem we face, however, is that a node passed in a nodelist using 2.2 D13 blows up (org.apache.xml.dtm.DTMDO

Re: [GUMP] Xalan2 Smoketest Failure

2001-11-13 Thread Sam Ruby
Joseph Kesselman wrote: > > Maybe we ought to rename "gump" to "grump"? (My own image of it has > a lot more to do with the Gump in the Wizard of Oz than with Forrest > Gump... attach a bunch of pieces, sprinkle the powder of life over them, > and see if they'll fly.) Chuckle! If you take a loo

cvs commit: xml-xalan/java commits.xml

2001-11-13 Thread dleslie
dleslie 01/11/13 06:00:33 Modified:java commits.xml Log: 2.2.D13 Revision ChangesPath 1.32 +67 -0 xml-xalan/java/commits.xml Index: commits.xml === RCS file: /home/cvs/xml-xalan/java/co

Re: [GUMP] Xalan2 Smoketest Failure

2001-11-13 Thread Joseph_Kesselman
Maybe we ought to rename "gump" to "grump"? (My own image of it has a lot more to do with the Gump in the Wizard of Oz than with Forrest Gump... attach a bunch of pieces, sprinkle the powder of life over them, and see if they'll fly.) This report confuses me somewhat. D13 passes smoketest on my

DO NOT REPLY [Bug 4835] - XPath execution with a DOM Attr node as context node fails

2001-11-13 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 4835] New: - XPath execution with a DOM Attr node as context node fails

2001-11-13 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

[GUMP] Xalan2 Smoketest Failure

2001-11-13 Thread Sam Ruby
This email is autogenerated from the output from: Build results exceed maximum length.Please see URL above for det

DO NOT REPLY [Bug 2886] - XSLTC does not always handle explicitly defined template priorities

2001-11-13 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 2886] - xsltc fails conf test node15 not selecting templates based on priority correctly

2001-11-13 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 2886] - xsltc fails conf test node15 not selecting templates based on priority correctly

2001-11-13 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 2886] - xsltc fails conf test node15 not selecting templates based on priority correctly

2001-11-13 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 2585] - xsltc fails to select last template in test conflictres24

2001-11-13 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