Re: which is the best way to debug an XSLT file ?

2002-11-26 Thread Simon Kitching
Hi Mariella, I think the English word you are looking for is "profiling" (or "to profile" in the infinitive) rather than debugging. Debugging --> finding errors in an application Profiling --> figuring out what the performance of different parts of an application are. I don't personally know of

RE: which is the best way to debug an XSLT file ?

2002-11-26 Thread Robert Koberg
Hi, How about something like: ---oO Debugging random-template match Oo--- div/@class = make sense? best, -Rob > -Original Message- > From: Mariella Di Giacomo [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, November

which is the best way to debug an XSLT file ?

2002-11-26 Thread Mariella Di Giacomo
Hello, I would like to ask a question, even though I do not know if this is the correct mailing list. Which is the best way to debug an XSLT file, especially when I would like to know the time spent for a loop, an extension function, if statement, etc. Thanks a lot in advance for your help,

RE: SQL and XPath Problem?

2002-11-26 Thread art_w
Title: Message John et all,   I have made some minor changes to DTMDocument that I believe cause it to function consistently with the XPath specification. I have tested these on my system and they function as I believe they should. The attached file contains the modified functions. In short

DO NOT REPLY [Bug 14875] New: - NullPointerException in XPath API

2002-11-26 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: [VOTE] conf test restructuring

2002-11-26 Thread Tom Amiro
+1. Dave Marston told me about this beforehand. So I've had some time to think about it. This will be a big help for tesing XSLTC. Thanks for doing this. I favor (2). Tom [EMAIL PROTECTED] wrote: > > Hello all, > > We are in the process of fascilitating the testing of XSLTC with the > existi

[VOTE] conf test restructuring

2002-11-26 Thread grchiu
Hello all, We are in the process of fascilitating the testing of XSLTC with the existing Xalan test suite. Some bugzilla bugs are open and being addressed for issues with our test harness -- 13384 regards the tests for which XSLTC generates the correct output but 'fails' as the output does not mat

DO NOT REPLY [Bug 14753] - encoding issues with serializer, samples, and test harness

2002-11-26 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 14753] - encoding issues with serializer, samples, and test harness

2002-11-26 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 14870] New: - Parameter value lost when traversing different context

2002-11-26 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/test/java/src/org/apache/qetest/dtm TestDTM.java

2002-11-26 Thread ilene
ilene 2002/11/26 13:24:36 Modified:test/tests/api-gold/dtm DTM_testcase1.out test/java/src/org/apache/qetest/dtm TestDTM.java Log: Additional patch from Gordon Chiu ([EMAIL PROTECTED]) for bugzilla #14753. Revision ChangesPath 1.2 +1 -1 xml-xal

cvs commit: xml-xalan/test build.xml

2002-11-26 Thread zongaro
zongaro 2002/11/26 12:26:28 Modified:java Tag: XSLTC_DTM build.xml java/src/org/apache/xalan/extensions Tag: XSLTC_DTM ExtensionHandler.java ExtensionHandlerGeneral.java ExtensionHandlerJavaClass.java

cvs commit: xml-xalan/test test.properties

2002-11-26 Thread dmarston
dmarston2002/11/26 12:11:48 Modified:test test.properties Log: Exclusions of new cases that reveal known bugs Revision ChangesPath 1.84 +3 -1 xml-xalan/test/test.properties Index: test.properties ===

cvs commit: xml-xalan/test/tests/conf-gold/select select86.out select85.out

2002-11-26 Thread dmarston
dmarston2002/11/26 12:08:48 Added: test/tests/conf-gold/select select86.out select85.out Log: More coverage of current() Revision ChangesPath 1.1 xml-xalan/test/tests/conf-gold/select/select86.out Index: select86.out =

cvs commit: xml-xalan/test/tests/conf-gold/idkey idkey63.out idkey62.out idkey61.out

2002-11-26 Thread dmarston
dmarston2002/11/26 12:08:09 Added: test/tests/conf-gold/idkey idkey63.out idkey62.out idkey61.out Log: More coverage of count() exposed bug 14862 in id() Revision ChangesPath 1.1 xml-xalan/test/tests/conf-gold/idkey/idkey63.out

cvs commit: xml-xalan/test/tests/conf/select select86.xsl select85.xsl select86.xml select85.xml

2002-11-26 Thread dmarston
dmarston2002/11/26 12:07:13 Added: test/tests/conf/select select86.xsl select85.xsl select86.xml select85.xml Log: More coverage of current() Revision ChangesPath 1.1 xml-xalan/test/tests/conf/select/select86.xsl Index: sele

cvs commit: xml-xalan/test/tests/conf/idkey idkey63.xsl idkey61.xsl idkey62.xml idkey62.xsl idkey63.xml idkey61.xml

2002-11-26 Thread dmarston
dmarston2002/11/26 12:06:20 Added: test/tests/conf/idkey idkey63.xsl idkey61.xsl idkey62.xml idkey62.xsl idkey63.xml idkey61.xml Log: More coverage of count() exposed bug 14862 in id() Revision ChangesPath 1.1 xml-xalan/test/test

RE: SQL and XPath Problem?

2002-11-26 Thread art_w
I may have confused things a bit by bringing DOM up, but I was confused as to why I was getting "#element" as a result of my XPath expressions. DOM says I should get nothing and XPath says I should get the text children. In the stylesheets I would prefer the XPath behavior. Art -Original Mess

Re: SQL and XPath Problem?

2002-11-26 Thread Joseph Kesselman
>Element nodes have a default value of #element ... One of us is confused. It may be me... In the XPath data model -- and in DTM, for that reason -- an element node's string value is a concatenation of all the text nodes contained within that element or its descendents. (In the DOM, an eleme

RE: SQL and XPath Problem?

2002-11-26 Thread art_w
Title: Message Actually I would have to disagree with you.   According to the DOM specifications the NAME of an element node should be the node name and the VALUE should be null. In this case the child of the element node would be a text node that would have NAME="#text" and the VALUE would

Re: SQL and XPath Problem?

2002-11-26 Thread John Gentilin
Art, The behavior you describe is the behavior that is programmed into the SQL extension. As far as I know, I am supplying the correct values as per the spec, if this is not true we can change it. With you desc2 element, you are asking for the string value of an Element Node and not the child tex

cvs commit: xml-xalan/c/Tests/Harness FileUtility.cpp FileUtility.hpp

2002-11-26 Thread dbertoni
dbertoni2002/11/26 09:32:25 Modified:c/Tests/Harness FileUtility.cpp FileUtility.hpp Log: Moved typedef inside class. Revision ChangesPath 1.46 +3 -2 xml-xalan/c/Tests/Harness/FileUtility.cpp Index: FileUtility.cpp

cvs commit: xml-xalan/c/src/XSLT XSLTInputSource.cpp XSLTInputSource.hpp XSLTResultTarget.cpp XSLTResultTarget.hpp

2002-11-26 Thread dbertoni
dbertoni2002/11/26 09:31:06 Modified:c/src/XSLT XSLTInputSource.cpp XSLTInputSource.hpp XSLTResultTarget.cpp XSLTResultTarget.hpp Log: Added new constructors. Revision ChangesPath 1.19 +20 -0 xml-xalan/c/src/XSLT/XSLTInputSource.cpp I

cvs commit: xml-xalan/c/src/XSLT XSLTInputSource.cpp XSLTInputSource.hpp

2002-11-26 Thread dbertoni
dbertoni2002/11/26 08:50:53 Modified:c/src/XSLT XSLTInputSource.cpp XSLTInputSource.hpp Log: Added new constructor. Revision ChangesPath 1.18 +9 -0 xml-xalan/c/src/XSLT/XSLTInputSource.cpp Index: XSLTInputSource.cpp ===

Re: XalanTransformer::transform question

2002-11-26 Thread David N Bertoni/Cambridge/IBM
Except that the istream cannot be const, there is no reason you cannot use istreams as input to Xalan. Did you try and get an error? See the StreamTransform sample, which shows how to do transformations to and from iostreams. Dave

Implementation and test-case for fn:string-pad() in xalanJ3

2002-11-26 Thread igorh
Currently I am working on functionality which is new in xalanj3. I cannot submit the code as a bugzilla patch because bugzilla does not have xalanJ3. Implementation (See attached file: string_pad.patch.txt)(See attached file: FuncStringPad.java) Test-cases (See attached file: stringerr003.xsl)(S

DO NOT REPLY [Bug 14826] - xsl:document does not work

2002-11-26 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 14862] - id() returns a node-set that lacks certain info

2002-11-26 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 14862] New: - id() returns a node-set that lacks certain info

2002-11-26 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

2002-11-26 Thread santiagopg
santiagopg2002/11/26 08:00:35 Modified:java/src/org/apache/xalan/xsltc/compiler Constants.java Sort.java java/src/org/apache/xalan/xsltc/dom NodeSortRecord.java Log: Changed the NodeSortRecord class to hold non-static references to instances o

DO NOT REPLY [Bug 14856] - Update faq, dist directory to have link to PGP keys

2002-11-26 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 4686] - Gump smoketest fail: numbering14, 15

2002-11-26 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_bug

DO NOT REPLY [Bug 14856] - PGP-Key for xalan-j_2_4_1-bin.zip.sig not to be found.

2002-11-26 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 14856] - PGP-Key for xalan-j_2_4_1-bin.zip.sig not to be found.

2002-11-26 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 14856] - PGP-Key for xalan-j_2_4_1-bin.zip.sig not to be found.

2002-11-26 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 14856] New: - PGP-Key for xalan-j_2_4_1-bin.zip.sig not to be found.

2002-11-26 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 4686] - Gump smoketest fail: numbering14, 15

2002-11-26 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_bug

cvs commit: xml-xalan/java/src/org/apache/xml/utils SuballocatedIntVector.java

2002-11-26 Thread zongaro
zongaro 2002/11/26 07:02:44 Modified:java/src/org/apache/xml/utils Tag: XSLTC_DTM SuballocatedIntVector.java Log: Added code to addElement to cache most recently added row of the m_map array. Elements are almost always added sequentially, so this is of benef

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

2002-11-26 Thread zongaro
zongaro 2002/11/26 07:02:42 Modified:java/src/org/apache/xml/dtm/ref/sax2dtm Tag: XSLTC_DTM SAX2DTM.java Log: 1) In addNode, changed code that determines whether the current node is the first child of its parent. Code used to check whether the first chil

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

2002-11-26 Thread zongaro
zongaro 2002/11/26 07:02:36 Modified:java/src/org/apache/xml/dtm/ref Tag: XSLTC_DTM ExpandedNameTable.java Log: Changed m_extendedTypes from a Vector to an array of type ExtendedType. That improves time to access the Vector and eliminates the need to cast t

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

2002-11-26 Thread zongaro
zongaro 2002/11/26 07:02:34 Modified:java/src/org/apache/xml/dtm/ref Tag: XSLTC_DTM DTMDefaultBaseIterators.java Log: Changed TypedAttributeIterator to use new DTMDefaultBase.getTypedAttribute method, which is generally faster than iterating through getFirst

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

2002-11-26 Thread zongaro
zongaro 2002/11/26 07:02:29 Modified:java/src/org/apache/xml/dtm/ref Tag: XSLTC_DTM DTMDefaultBase.java Log: Added a getTypedAttribute method to make the process of finding a particular attribute quicker than using getFirstAttribute and getNextAttribute. Th

DO NOT REPLY [Bug 4686] - Gump smoketest fail: numbering14, 15

2002-11-26 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_bug

DO NOT REPLY [Bug 14826] - xsl:document does not work

2002-11-26 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 14826] - xsl:document does not work

2002-11-26 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 14840] - Error In ApiDoc for org.w3c.dom.css.CSS2Properties

2002-11-26 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 14840] New: - Error In ApiDoc for org.w3c.dom.css.CSS2Properties

2002-11-26 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

XalanTransformer::transform question

2002-11-26 Thread Endre Magyari
Dear List,         I would like to write two functions, both based on Xalan, with this signatures:      XMIToUdm(const istream& in, ostream& out); UdmToXMI(const istream& in, ostream& out);   The XSLT files for these functions are available in separate files. (Udm2Xmi.xslt, Xmi2Udm.xslt).   I