Re: Redirect errors from XPathEvaluator

2012-07-29 Thread David Bertoni
On Tue, Jul 24, 2012 at 5:09 AM, Brian Reynolds < brian.reyno...@ostiasolutions.com> wrote: > Hi All, > > My application is using XPathEvaluator to perform XPath lookups. When an > error occurs, the default behaviour is to write the error message to > stderr, and I'd like to handle this differentl

Re: Bus Error on hp-ux(pa 32bit)...Please help!!

2011-12-19 Thread David Bertoni
On 12/18/2011 8:57 PM, ushanair wrote: Hi Dave, Thanks for the response!! Can you please let me know, how do i initialize the library ? I have built static version of xerces and xalan library and linked to my application. Look at the sample applications. You'll see calls to: XMLPlatformUtils:

Re: Bus Error on hp-ux(pa 32bit)...Please help!!

2011-12-18 Thread David Bertoni
On 12/14/2011 8:00 AM, ushanair wrote: Hi, I'm facing a problem while building my sources, linked to xalan-c(1.10)static libraries in hpux(pa-risc,32bit) when I start my application,it throws "Bus Error" at xalan_1_10,XMLList.cpp, when it tries to allocate the memory using new.. #0 0x115cdb0

Re: Xalan 1.10 - Illegal Instruction Error

2011-12-18 Thread David Bertoni
On 12/16/2011 1:23 AM, ushanair wrote: Hi, While building xalan-c 1.10 on Hp(pa-risc,32 bit) platform, Im getting the error as: g++ -milp32 -g -D_REENTRANT -milp32 -fno-elide-constructors -milp32 -milp32 -Wl,+s -DXALAN_INMEM_MSG_LOADER \ -L/netapp-home/urani/lmadmin/pymake/lmadmin/3

Re: Need to copy all elements of a parent element using xalan c++ (1.10)

2011-11-24 Thread David Bertoni
On 11/7/2011 10:32 AM, ajay bhadauria wrote: Hi, I need to copy all the child elements from the parent element to output xml using xalan c++ transform method. However, one of the child element is prefixed but does not have corresponding namespace. What should I do in xslt so that all the childr

Re: Xalan-c build fails on HP-UX

2011-11-24 Thread David Bertoni
On 11/22/2011 1:02 AM, Vinay Kumar wrote: Hi All, I am trying to build Xalan-c(1.10.0 version) on HP-UX system with Itanium Architecture. I am using gcc(3.4.4 version) as C compiler and g++(3.4.4 version) as C++ compiler, but when i try to build, i am getting following error: g++: +DD32: No s

Re: How do implement EntityResolver for XSLT XML transformation

2011-10-16 Thread David Bertoni
On 10/14/2011 6:36 AM, ajay bhadauria wrote: Steve, Thanks a lot for time to explain. This helps a lot ! Regards Ajay Note that the parser will not call the EntityResolver for the primary document -- it will only call it for external parsed entities within the primary document. This means you w

Re: XalanC1.10: selectNodeList does not retrieve non-namespace nodes

2011-10-09 Thread David Bertoni
On 9/27/2011 10:54 AM, jana957 wrote: Hi, I am new to XalanC++1.10, trying to enhance an application to retrieve new XML nodes for processing. Below is an example XML: Expand|Select|Wrap|Line Numbers http://www.w3.org/2003/05/soap-envelope"; xmlns:sd="http://example.org/2008/04/sdee";>

Re: unsatified symbols error on linking

2011-08-22 Thread David Bertoni
On 8/17/2011 3:46 AM, Nilliom wrote: The ">>" sequence is what is reported by the linker error as the signature of the XSLTResultTarget and XSLTInputSource, not something that I control. Thanks You are probably not linking with the Xalan-C library. Please provide the exact compiler and linker

Re: Does Xalan care about Xerces compile settings?

2011-04-09 Thread David Bertoni
On 4/6/2011 4:03 PM, Garyl Erickson wrote: Does Xalan care about any of the five Xerces settings that are settable during, and reported by, the configure step, which are: File Manager: POSIX | ... Mutex Manager: Windows | ... Transcoder: gnuiconv | iconv | icu | macosunicodeconverter | windows N

Re: Failure in trying to select element using XPath when the document has mixed namespaces tags.

2011-03-12 Thread David Bertoni
On 3/10/2011 12:38 AM, Naveen Arora wrote: DESCRIPTION OF THE PROBLEM : Failure in trying to select element using XPath when the document has mixed namespaces tags. Example of document: blah0mailto:clientName@requestId%22%3Eblah0%3CSOAP:Envelope> xmlns:SOAP="http://schemas.xmlsoap.org/soap/envel

Re: XercesParserLiaison setExternalSchemaLocation has no net effect

2011-02-23 Thread David Bertoni
On 2/22/2011 10:33 PM, Phillip Kellogg wrote: Dave, Thanks for your reply. That doesn't sound good that the project seems to be more or less dead. Out of curiosity, how much time would you expect it take to get xalan back on track? Is there any sort of metric available as far as how much xa

Re: XercesParserLiaison setExternalSchemaLocation has no net effect

2011-02-22 Thread David Bertoni
On 2/21/2011 3:39 PM, Kellogg, Phillip A wrote: Hello, I am trying to set an external schema location for xalan/xerces to use so that I can specify a specific path to where my schema is located, a relative path specified in the XML instance is not acceptable. Looking at the Xalan API, my XalanSo

Re: EXTERNAL: Re: Xalan-C Libraries

2011-02-18 Thread David Bertoni
On 2/17/2011 7:54 AM, Steele, Raymond wrote: Vitaly, Thanks for the response. I did build from the head as suggested. I was able to build the samples and run them, however, when I try to compile my own application I receive the Error. If the Xalan-C samples build and run, then you should compa

Re: Special characters converted html values after transform.

2011-01-29 Thread David Bertoni
On 1/25/2011 2:04 AM, Jasmine_Shaikh wrote: Hi All, I am using Xalan 1.2 to trasform my xml. That is an extremely old version of Xalan-C. I have a string with special character in my xml. e.g €Crosstab After transform the special character is replaced by its html value €Crosstab. Same is hap

Re: assert in Invariants fails for aix

2010-09-03 Thread David Bertoni
On 9/3/2010 1:19 AM, Jasmine_Shaikh wrote: The second assert in invariant fails intermittently and that too only on the aix machine. The issue is not reproducible and I am not able to conclude anything from the core file that we got from client side. I am using 1.2 version of Xalan. Then newer

Re: Xalan static library build

2010-08-29 Thread David Bertoni
On 8/28/2010 1:07 PM, Aleksandr Vinokurov wrote: Hello David, I've finished a transition to configure, Makefile.am and libtool from pure handwritten Makefiles at work recently. I think I can try. Fantastic! Let me know if I can help with any testing. I have a bunch of different Linux VMs, a few

Re: Status of Xalan?

2010-08-28 Thread David Bertoni
On 8/27/2010 1:17 PM, ian balanza-davis wrote: Well, it would be a bit of a busman's holiday if docs are involved, but I am happy to help if I can. Hi Ian, Thanks for the offer to help. The documentation, particularly generating the new web site is the biggest problem. I've never built the doc

Re: Xalan static library build

2010-08-28 Thread David Bertoni
On 8/27/2010 1:40 PM, Aleksandr Vinokurov wrote: David, As I can see runConfigure simplifies the call for configure script for some of the specific configurations. Anybody can call ./configure manually, right? Then the issue is that this configure script has a rather old source configure.in

Re: how to build Xalan svn version with VC2010 with ICU used only as trancoder?

2010-08-27 Thread David Bertoni
On 8/26/2010 8:57 AM, Martin Elzen wrote: Hi everyone, I suppose it’s a bit backwards to the way it’s usually done, but… I’d like to know: how I can build the SVN version of Xalan on Windows with VC 2010 in such a way that I will be using ICU for transcoding but not for the “localization support

Re: Xalan static library build

2010-08-27 Thread David Bertoni
On 8/25/2010 10:53 AM, Richard Webb wrote: Hi, Is there a supported option to build Xalan as a static library, short of rolling my own Makefiles? Has someone achieved this? if so were there any gotchas involved? I don't know of any way to do it with the current Makefiles. It would be great i

Re: Status of Xalan?

2010-08-27 Thread David Bertoni
On 8/24/2010 6:55 AM, Martin Baute wrote: Hello all, what is the status of the Xalan-C project? To be quite honest, from the outside it looks like this project has more or less been abandoned: * The last release (1.10.0) is five years old, and * depends on an equally-old Xerces-C version, and

Re: Problem:Unicode string causing transcode(..) crashes in External Function

2010-08-19 Thread David Bertoni
On 8/19/2010 12:30 AM, Jasmine_Shaikh wrote: Hi Dave, We have a similar problem here while using transcode in our external function. It throws the TranscodingError for strings in East Asian Languages. Our function actually encodes the XalanDOMString, for which we need to get std::string from Xa

Re: Executing a stylesheet without an input XML source.

2010-07-24 Thread David Bertoni
On 7/24/2010 2:44 AM, Richard Webb wrote: Hi, I'm trying to execute a stylesheet without an XML source document using a named template as the entry point of the stylesheet. I'm trying to work my way through the Xalan-C++ Doxygen API reference and samples for some examples, so far to no avail.

Re: Extension function to return document fragment nodeset

2010-07-22 Thread David Bertoni
iewed FunctionNodeset.cpp and an archived message from David Bertoni that suggests building a DOM with Xerces and then using XercesDocumentWrapper and XNodeSetBase. That seems to me to be the right track, but I need to return a DocumentFragment, for which I presumably need a XercesDocumentFragment

Re: error LNK2019: unresolved external symbol XalanTransformer::initialize

2010-07-14 Thread David Bertoni
On 7/14/2010 9:15 AM, Rudolfo wrote: Hi, I have downloaded the Xml-signing samples and want to build the checksig sample. I am linking it to xerces 3.1 and xalan 1.1 and building it with VC9. If I include #define XSEC_NO_XALAN it builds and runs fine! But I want to test it on xml-file with a co

Re: Problems with Unicode-Signs

2010-07-01 Thread David Bertoni
On 6/28/2010 7:21 AM, ---GS--- wrote: Hi, i have a problem with xalan converting some of my Unicode-Signs. My imput file contains elements with an attribute like this: uid="􀀁" My HTML output file should contain these unicode-ids somewhere within the text (for example:􀀁), but XALAN replaces it w

Re: Appropriate use of XPath & xerces

2010-05-20 Thread David Bertoni
On 5/18/2010 5:28 PM, Helzer, Mark wrote: Hi all, Documentation and the list archive say that you can use a Xerces DOM document if you wish to update your document while using XPath. Or at least something similar, perhaps I'm misconstruing the intent. Here is what I would like to do: I have

Re: Xalan-C++ Trunk

2010-05-05 Thread David Bertoni
On 5/4/2010 1:31 PM, Goffena, Robert wrote: There is nothing in particular I was looking for to be fixed. However, I was hoping that Xalan would be updated to be compatible with Xerces 3.x.x. I am in the process, of seeing whether Xalan will work with Xerces 3.0.1. If you know Xalan and Xerces

Re: Xalan-C++ Trunk

2010-04-28 Thread David Bertoni
On 4/28/2010 6:57 AM, Goffena, Robert wrote: Is below the current location of the xalan-c subversion repository? http://svn.apache.org/repos/asf/xalan/c/trunk My SVN client (Tortoise) reports there have been no updates to the xalan-c trunk since June 2009. Is that accurate, or is something wron

Re: xalan unresolved symbols on Solaris

2010-04-26 Thread David Bertoni
On 4/26/2010 8:36 AM, Charles Brown wrote: Trying to use XPath code, as seen in the SimpleXPathAPI sample application. All compiles and runs fine under linux. Under Solaris, I get undefined references to; xalanc_1_10::XalanDocumentPrefixResolver::~XalanDocumentPrefixResolver() xercesc_2_7::XMLP

Re: Xalan Build issue

2010-04-12 Thread David Bertoni
On 4/12/2010 4:09 AM, Debasis Ray wrote: Thanks Dave for confirming this. I could build a version of xalan using gcc 4.1.1. However when I tried building my app, it moans about some standard c++ library. Undefined first referenced symbol in fil

Re: Xalan Build issue

2010-04-10 Thread David Bertoni
On 4/9/2010 9:27 AM, Debasis Ray wrote: Hi, I am building Solaris 64 bit xalan 1.10 pointing to xerces 2_6. But getting some standard c++ error at link time. My environment details are below: *OS*: /var/gnu/3.4.0/lib/sparcv9> uname -a SunOS lndus0142 5.8 Generic_117000-03 sun4u sparc SUNW,Sun

Re: XalanTransformer::initialize() error

2010-04-06 Thread David Bertoni
On 4/6/2010 8:11 AM, Garett Chang wrote: Hi, I’m porting some programs I’ve inherited from Tru64 to HP-UX (IA64). The code uses Xalan 1.10, along with Xerces 2.7. I’m running into an issue where the program core dumps when calling XalanTransformer::initialize(). Below is an output from a gdb ses

Re: Deprecated code -- why not to mark it?

2010-03-28 Thread David Bertoni
On 3/24/2010 3:21 AM, Aleksandr Vinokurov wrote: Hello guys! I'm moving my company's code from Xalan-c 1.10 to 1.11 (yes, I know it is still in trunk but I'm forced to do this). Despite of the lack of the migration document (maybe it will appear at release) I noticed that deprecated code is m

Re: msys/mingw

2010-03-12 Thread David Bertoni
On 3/10/2010 2:22 PM, ian balanza-davis wrote: Hi Yes, you are quite correct; I had some executables hanging around from a previously-failed build. Hopefully this lot makes more sense... Ian make -C src/xalanc all make[1]: Entering directory `/xalan/src/xalanc' Preparing the directory struct

Re: msys/mingw

2010-03-09 Thread David Bertoni
On 3/9/2010 1:57 PM, ian balanza-davis wrote: Hi This is the output from the third run of "make". I can make the Xalan.exe separately from the makefile in src/xalanc, but I get the same info messages about resolving entities in the DLL. This is from running make in XALANCROOT. Ian $ make make

Re: "invalid document structure" for XMLs longer than 1423 characters

2010-03-06 Thread David Bertoni
On 3/4/2010 4:37 AM, Steven Gerrard wrote: Hi, Sorry for taking this long to reply, I've been a little under the weather. Here's a case, but it's important to note this is reproducable for EVERY xml input longer than 1423 characters: First, I've added XalanTransformToStream to XalanCAPI, as follo

Re: msys/mingw

2010-03-06 Thread David Bertoni
On 3/4/2010 6:47 AM, ian balanza-davis wrote: Hi I downloaded xalan 1.11 from trunk and followed the instructions from the xalan website (for 1.10) to start with. I am using mingw version 4.4.0 and the current msys, whatever that version is. I have Xerces downloaded and built in /xerces ==> X

Re: msys/mingw

2010-03-01 Thread David Bertoni
On 2/28/2010 1:02 AM, ian balanza-davis wrote: Hi This may be the wrong list, but has anyone managed to build xalan 1.11 with xerces 3.1 on windows msys/mingw? There is no official release of Xalan-C 1.11, although that's the version number in the repository. I have managed to reach the poin

Re: "invalid document structure" for XMLs longer than 1423 characters

2010-02-25 Thread David Bertoni
On 2/25/2010 6:24 AM, Steven Gerrard wrote: Hi, I'm using Xalan-C 1.10 and Xerces-C 2.7, and have just encountered what seems to be a bug (or a misunderstanding on my part). Upgrading Xalan or Xerces is currently not an option due to time constraints. I'm using XalanTransformer::transform and pas

Re: Xalan C++ Function Extension Help / Example

2010-02-25 Thread David Bertoni
On 2/22/2010 10:31 PM, Steven & Julia Hathaway wrote: On 2/21/2010 7:44 PM, David Bertoni wrote: On 2/20/2010 1:49 PM, BPederson wrote: Dave- I am still struggling with the concept, most likely because I started in Xalan-J. From my perspective, it appears the implemetations are consider

Re: Xalan C++ Function Extension Help / Example

2010-02-21 Thread David Bertoni
On 2/20/2010 1:49 PM, BPederson wrote: Dave- I am still struggling with the concept, most likely because I started in Xalan-J. From my perspective, it appears the implemetations are considerably different. The vendor product I'm using makes the Xalan-C++ library call to do the stylesheet tran

Re: Xalan C++ Funciton Extension Help / Example

2010-02-20 Thread David Bertoni
On 2/20/2010 11:53 AM, bradley.peder...@gmail.com wrote: To all- Earlier this week, I was able to read a file in XSLT using Xalan-J function extensions (XJ 2.7, BSF 2.4, Rhino 1.7). The mechanism is very simple JavaScript with Java Class calls. It works very elegantly (simple) as shown below. Ho

Re: Function getUnparsedEntityNData()?

2010-01-12 Thread David Bertoni
On 1/12/2010 11:36 AM, Scott Sharkey wrote: Hello All, I've been handed an old xslt conversion program, and asked to make it work on Linux (originally compiled for SCO or TRU64 I think). The make file with it specified Xalan_C_1_5_0 as the xalan lib, but I have not been able to find that specifi

Re: xalan debug --> drives me crazy

2010-01-05 Thread David Bertoni
On 1/5/2010 12:31 PM, olesita wrote: Hi there, I'm trying to build xalan 1.10 on vc8.0 I got release to work (not without problems) following this instruction: http://mail-archives.apache.org/mod_mbox/xml-xalan-c-users/200709.mbox/%3c001301c7fc82$047987d0$4001a...@estec5syvrnjfw%3e While debug

Re: where can i download Xalan-c 1.11

2009-12-09 Thread David Bertoni
gpic...@desknetinc.com wrote: I didn't find one either- I don't believe there has ever been an official 1.11 release- so I pulled the source on its way to 1.11 from the Subversion repository. That's correct -- there is no official 1.11 release. I still can't find a dedicated block of time to res

Re: Newbie questions regarding evaluating XPath using an arbitrary Xerces DOMElement as the context node

2009-12-07 Thread David Bertoni
djohn...@desknetinc.com wrote: I've looked over the relevant samples and documentation, but haven't found enough information. Any pointers to useful doc or samples would be appreciated. In fact, the samples and documentation lead me to additional questions: From the XercesParserLiaison API

Re: Xalan performance issue on large files...

2009-11-18 Thread David Bertoni
On Thu, Nov 19, 2009 at 2:09 AM, Rob.Conde wrote: > Hi David, > > I built the XalanTransformer sample and indeed the performance > seems fine there. Also I tried passing a stringstream instead of the > DOMStringPrintWriter and it seems to work fine…though I’m not sure if this > will h

Re: unsubscribe

2009-11-17 Thread David Bertoni
On Tue, Nov 17, 2009 at 11:15 PM, brown wrap wrote: > unsubcribe > Unsubscribe information is available here: http://xml.apache.org/mail.html#xalan-c-users Sending email to the list doesn't work. Dave

Re: Xalan performance issue on large files...

2009-11-17 Thread David Bertoni
On Tue, Nov 17, 2009 at 6:39 AM, Rob.Conde wrote: > Hey David, >I understand if you haven't gotten to it yet, but I wanted to make > sure you got my example file and perhaps confirmed or were unable to > confirm > the performance issue with it... > Hi Rob, I just took an initial look at t

Re: Problem building Xalan-c on Linux 64

2009-11-16 Thread David Bertoni
On Mon, Nov 16, 2009 at 4:40 PM, GALVAN, Jean-Pierre < jean-pierre.gal...@sage.com> wrote: > Hello. > > As I am registered now in the Xalan-c mailing list, I can now send this > message so as to get help… > > > > I’m try to build sources files of Xalan-c with Xerces 3-0-1. > You will need to use

Re: Xalan performance issue on large files...

2009-11-12 Thread David Bertoni
Rob.Conde wrote: Hey David, I'm seeing some really bad performance while attempting to transform a 30 megabyte xml file. As a benchmark, I tried running just the identity transformation against my file in both .NET 2.0 and in Xalan. .NET took ~3 seconds...I killed the Xalan after 25 minut

Re: [newbie] Installing Xalan under Windows

2009-10-22 Thread David Bertoni
Sarko wrote: Hi everybody! I hope I'm in the right forum. I've searched, I've read but still I didn't manage to run the Xalan examples under Windows (use Linux you will say, but you can't change enterprises policies). I think I set the CLASSPATH properly: C:\Programmi\xalan;C:\Programmi\xalan\xa

Re: xerces-c_1_5_1.dll does it work with EXSLT(Extensions Lib).Is it supported?

2009-10-19 Thread David Bertoni
naijacoder wrote: I have a software thats uses a xml viewer for printing.And what it does is that we pass the xml and xsl file to it. And i'm writing up a xslt for it and i need to make use of the EXSLT like below. http://www.w3.org/1999/XSL/Transform"; xmlns:xalan = "http://xml.apache.org/xala

Re: Modifying behavior of XercesParserLiaison

2009-09-16 Thread David Bertoni
Albers, Michael wrote: Dave, I'm using the 2 parameter version of parseXMLStream, though I'm not providing the 2nd parameter, just using the default value. Regardless, in the Xalan code I have (v1.10), ensureDOMParser is not called, but rather createDOMParser is. Ah, I was referring to the lat

Re: Modifying behavior of XercesParserLiaison

2009-09-15 Thread David Bertoni
Albers, Michael wrote: Hello, I've been trying to use the XercesParserLiaison::setExternalSchemaLocation function call and have found that it has no effect. Looking at the source code for XercesParserLiaison it appears that none of the behavior modification get/set functions actually have a

Re: Applying Multiple XSLTs (In Memory Only)

2009-09-11 Thread David Bertoni
Ellonnic2 wrote: Hello, I already have a XalanParsedSource and multiple XSLTInputSources. I want to transform my XalanParsedSource using each of the XSLTInputSources, while each time feeding the result of the transformation into the next transformation without touching the hard drive until the

Re: Windows - samples fail on "transform(...)" when using "cout"

2009-09-09 Thread David Bertoni
Ellonnic2 wrote: Hi Dave, Thanks so much for your reply. I think I'm 98% of the way there. I just have one minor issue. Once I have everything seemingly set up correctly, when I build, I get the following: "Cannot open include file: 'LocalMsgIndex.hpp': No such file or directory" and then lo

Re: Issues with Xalan on AIX

2009-09-01 Thread David Bertoni
Albers, Michael wrote: Hello, I've been trying to use Xalan on an AIX machine and have run into some problems. I've been using the exact same code and XML on a Solaris platform with no issues. Despite my best efforts in tweaking my code and looking through forums I haven't been able to solve

Re: Windows - samples fail on "transform(...)" when using "cout"

2009-08-29 Thread David Bertoni
Ellonnic2 wrote: Hi Dave, Thanks for your reply. I only built the sample code, not the Xalan or Xerces source code itself. To be more specific, I downloaded and used the binary distribution of both Xerces (xerces-c_2_7_0-windows_2000-msvc_60.zip) and Xalan (Xalan-C_1_10_0-win32-msvc_60.zip).

Re: Windows - samples fail on "transform(...)" when using "cout"

2009-08-29 Thread David Bertoni
Ellonnic2 wrote: Hello, Many of Xalan's samples redirect the program's output to stdout by passing in "cout" as the last parameter to the "transform(...)" method. This works fine with the executables provided along with the binary distribution of Xalan. However, if I instead build the sample s

Re: Can I sort Hebrew strings with xslt:sort?

2009-08-26 Thread David Bertoni
David S. wrote: What I'm thinking of is something like this: Is this possible with Xalan? If you build with ICU support, Hebrew collation is supported. Dave

Re: Relative newbie question - How to augment XSLT generated output?

2009-08-14 Thread David Bertoni
paul.band...@nomura.com wrote: Ah, thanks. I did in fact try to do exactly that - but I need to append another entire document (created by XalanSourceTreeParserLiaison /XalanSourceTreeDOMSupport) as the child of the root of the XercesDOM document generated by XSLT+FormatterToXercesDOM. I've t

Re: Relative newbie question - How to augment XSLT generated output?

2009-08-14 Thread David Bertoni
paul.band...@nomura.com wrote: However, you might want to look at the XSLT document function, instead of generating a result DOM and modifying it. You can use the xsl:copy-of instruction to copy an entire document While that sounds like an eminently good suggestion, I need to make this change

Re: Relative newbie question - How to augment XSLT generated output?

2009-08-13 Thread David Bertoni
paul.band...@nomura.com wrote: I need to be able to augment an XSLT generated document by adding the contents of another document to it as a child node. I tried generating to an XalanSourceTreeDocument but when I invoked addChild an XalanDOMException was raised with code 7 (modification not al

Re: optimizations for substring function,

2009-08-13 Thread David Bertoni
Hemant Bist wrote: Hi, We are using Xalan-C++ version 1.10 in an app which spends almost all its time in doing xsl transfomations. I am looking to optimize its performance if possible. The app applies a compiled stylesheet repeatedly on input "strings" that are about 5k long and produce and xm

Re: Can I use Xerces-c 2.8 with Xalan 1.10?

2009-07-15 Thread David Bertoni
Dayagi Yaron wrote: tweaking? Can u explain? I said "may need," because I've never tried it myself. By "tweaking" I mean making small changes to the source code. It's all moot until you actually try it. Dave

Re: Can I use Xerces-c 2.8 with Xalan 1.10?

2009-07-14 Thread David Bertoni
Dayagi Yaron wrote: Can I? It should work, but you may need to do a bit of tweaking. Dave

Re: empty prefix for a non-empty namespace in XPath

2009-06-17 Thread David Bertoni
Moddy Te'eni wrote: I'm trying to evaluate XPath expression on an input that looks like: When I simply use "/Document", it doesn't work. In order to overcome this problem, I wrote my own PrefixResolver, which always returns "myNamespace/whatever", and then I can use the xpath "/aaa:Doc

Re: problem in cached numbers in Xstring??

2009-06-15 Thread David Bertoni
Moddy Te'eni wrote: How do I create JIRA issues? Sorry, I forgot to include a link: http://issues.apache.org/jira/browse/XALANC Dave

Re: problem in cached numbers in Xstring??

2009-06-15 Thread David Bertoni
Moddy Te'eni wrote: I think there is a problem in XObjectFactoryDefault::createString(const XalanDOMString& theValue). I call it from an extension-function that I wrote. After a few times I call it, it retuens a string object that came from the cache that already has m_cachedNumberValue of

Re: Core when using Xalan 1.10 C++

2009-06-05 Thread David Bertoni
Sunith wrote: Hi Initially i was getting a "segmentation fault" core dump. that is when i realized that the ulimit values are low. Then i changed all the ulimit values to unlimited. AFter that I started getting this "memory core dump" You will have to examine the core file with a debugger. Othe

Re: performance issue with xalan-c

2009-06-04 Thread David Bertoni
anirbb wrote: Hi, We are trying to do a diff between 2 large leaf nodes each having 65000 entries under one node using xalan-c. It's taking a very long time to execute by extrapolation it will take close to 84 days to complete. We are running on Windows system with 1GB ram and 2.8GHz process

Re: Core when using Xalan 1.10 C++

2009-06-04 Thread David Bertoni
Sunith wrote: Hi I am using following versions of Xalan and Xerces (C++) on AIX Xalan version 1.10.0. Xerces version 2.7.0. When i try transfroming a 50-60MB Xml file I get memory core dump. I tried the same on some other servers which is working fine. This core dump comes on on one partic

Re: Xalan 1.11 release date?

2009-05-29 Thread David Bertoni
Prashanth Bandaru wrote: Any idea about xalan 1.11 release date? -Prashanth. I am crushed at work right now. I've started working on the documentation updates, but that's on hold until work lets up a bit. Otherwise, there's not much else to do. I could create a release branch, but I'm not

Re: Xalan-C 1.11 - XalanCAPI.h

2009-05-28 Thread David Bertoni
Steven J Hathaway wrote: Dave, I found my problem -- and downloaded fresh code from xalan svn and no longer attempt to resolve XMLCh via XercesDefs.hpp when using Microsoft C. Hi Steve, Please post to the lists, and not to my personal email address. There appears to be an issue with XalanC

Re: Manipulating the xpath expression to reflect the data modified in the original xml.

2009-05-22 Thread David Bertoni
ramachandran_a...@emc.com wrote: Hi, Thanks David for your quick reply. From your description I can see the third solution is more suitable as this could manipulate the nodes and update the original DOM and thus the original xml. As I've just started my xerces/xalan coding, it would be greatfu

Re: Manipulating the xpath expression to reflect the data modified in the original xml.

2009-05-22 Thread David Bertoni
ramachandran_a...@emc.com wrote: Hi, I'm using xerces-C++ [version-2.7.0] and xalan-c++ [version-1.10.0] in my application. AIM: Open an xml, query the xpath expression to get the nodes and change the values provided by user in a seperate structure in the nodes evaluated from the xpath query. I

Re: Manipulating the xpath expression to reflect the data modified in the original xml.

2009-05-22 Thread David Bertoni
ramachandran_a...@emc.com wrote: Hi, I'm using xerces-C++ [version-2.7.0] and xalan-c++ [version-1.10.0] in my application. AIM: Open an xml, query the xpath expression to get the nodes and change the values provided by user in a seperate structure in the nodes evaluated from the xpath query. I

Re: XalanICUMessageLoader Assert Failure From Debug Build

2009-05-19 Thread David Bertoni
Goffena, Robert wrote: Hi all, I get an assert failure when trying to execute Xalan code in debug mode. Debug mode complains about PlatformSupport\XalanICUMessageLoader.cpp line 145. That line and the few above it are located in XalanICUMessageLoader::XalanICUMEssageLoader(MemoryManager &t

Re: XML/Xerces/Xalan

2009-05-11 Thread David Bertoni
markrosenrosen wrote: Thanks for the info. Is there any way I could cajole / urge you into doing a release of the latest Xalan subversion trunk. The company I work for would never let me release a production application linked into a library that wasn't an official release. :-) I find this an int

Re: DocumentBuilder - newbie quesion...

2009-05-11 Thread David Bertoni
paul.band...@nomura.com wrote: Hi, I have recently started using Xalan/Xerces to help with , very much using the sample code to guide what I'm doing. I've successfully parsed and transformed one document into a XalanSourceTreeDocument for programmatic access, now am trying to programmatically c

Re: XML/Xerces/Xalan

2009-05-07 Thread David Bertoni
markrosenrosen wrote: What version / platform of Xerces 3.x and Xalan are you using? I'm having trouble compiling Xerces 3.0.1 and Xalan 1.10 on Linux (64bit, gcc 3.4). Here are a few example errors: In file included from /tp64/xalan/c1_10_0_ICU/include/xalanc/PlatformSupport/XSLException.hpp

Re: What Version Of ICU Does Trunk Use

2009-05-01 Thread David Bertoni
Goffena, Robert wrote: Are those tweaks documented somewhere? Probably not, because the ICU team doesn't really encourage or support it. From what I remember from building 3.2.1, there were just a few source code changes to some Windows-specific code. What problems where you seeing? I usual

Re: What Version Of ICU Does Trunk Use

2009-04-30 Thread David Bertoni
Goffena, Robert wrote: I only need icu for format-string and collation. For what it's worth: I am building for/on AMD 64 bit machine using Visual Studio 2005 (v8). Checked out a copy of the Xalan trunk a week ago. I could get neither ICU 3.2.1, 3.4, nor 3.6 to build. ICU 3.8 built and then Xal

Re: What Version Of ICU Does Trunk Use

2009-04-30 Thread David Bertoni
Goffena, Robert wrote: What version of ICU is the trunk capable of using? http://svn.apache.org/repos/asf/xalan/c/trunk If you plan to use the ICU message loader, as well as for the number-format function and collation, you need 3.2.1 or earlier. If you just want to use ICU integration for th

Re: xpath namespace specification

2009-04-29 Thread David Bertoni
Ray, William N wrote: Hi, I have the following xml file: http://tt";> 10 I’m trying to select the test1 node. When I run SimpleXPathCAPI and pass in the aforementioned xml file and this xpath: /test/test1 I do not get any results. Yes, because your document contains elements

Re: Attributes Are Not Selected While Transforming a XercesDomWrapperParsedSource

2009-04-29 Thread David Bertoni
Goffena, Robert wrote: This can be pretty tricky, so you might want to take a look at the Namespaces recommendation for more details about the proper namespaces for the attributes that declare the namespaces. Namespaces recommendation? What do you mean by this? The W3C namespaces recommendat

Re: Attributes Are Not Selected While Transforming a XercesDomWrapperParsedSource

2009-04-28 Thread David Bertoni
Goffena, Robert wrote: I’ve converted a xerces dom document to a XercesDOMWrapperParsedSource and call XalanTransformer to transform the xml. The XalanTransformer succeeds in creating the output, however the transformation behaves as if it could not locate any of the input xml’s attributes.

Re: XalanC and XPath

2009-04-22 Thread David Bertoni
John T Davies wrote: David, A quick question, do you know of any plans to ever implement XPath 2 support in Xalan C? I'm working with a client who currently use it for XPath 1 support but really need to move to V2.0. There are plenty of good support options in Java but they'd really like t

Re: MsgCreator Prj0019 error

2009-04-08 Thread David Bertoni
Goffena, Robert wrote: Trying to build http://svn.apache.org/repos/asf/xalan/c/tags/Xalan-C_1_10_0, using Visual Studio 2005, with the patch and project files mentioned at http://issues.apache.org/jira/browse/XALANC-584. I’ve seen help/tips mention building the Localization project. However

Re: Compiling xalan C++1.10 / xerces 2.8.0 with mingw

2009-03-31 Thread David Bertoni
David S. wrote: I attempted to compile Xalan using msys/mingw on XP. The build failed because msys implements symlinks differently: usually the target is specified relative to the link, but with msys the target is specified relative to the working directory. It seems that msys has to copy the fil

Re: Compiling xalan C++1.10 / xerces 2.8.0 with mingw

2009-03-30 Thread David Bertoni
David S. wrote: David Bertoni wrote: You'll have much better luck getting the head of the Subversion repository to compile cleanly on mingw. I cross-compiled Xerces 2.8.0, checked out Xalan revision 759804, and started the process with: ./runConfigure -p mingw-msys -c mingw32-g

Re: Issue with xalanc on Solaris when using stlport library

2009-03-25 Thread David Bertoni
anirbb wrote: Hi David, We identified the issue is with the following piece of code in XalanVector.hpp file. The problem was that the variable theDistance which was getting filled up by distance call was containing garbage and for which Xalan was trying to allocate some very large memory and wa

Re: build Xalan-C using GCC on Solaris x86_64 and Solaris Sparc 64-bit

2009-03-25 Thread David Bertoni
Zhuo Yang wrote: Dave, Do you get a chance to build xalan-c on Solaris x86_64? Any luck? I tried to build using Xerces-C 3.0.1, and the Xalan executable that generates the messages during the build process crashes when the Xerces-C parser throws an exception. I don't know why this is happen

Re: Issue with xalanc on Solaris when using stlport library

2009-03-23 Thread David Bertoni
anirbb wrote: Hi, We are trying to use xalanc build with stlport library. We are having an issue --- for some of our xslt, the xalanc binary is hanging. If we do pstack, the following is the output: I don't see any STLport code in the stack. Can you please build with debug and try this again?

Re: XML/Xerces/Xalan

2009-03-22 Thread David Bertoni
Hans Smit wrote: I've been working with the Xerces-C v3 / XalanC v1.10 combination for the past 1-2 years. No problems, very robust. From what I've heard in the grape vine XalanC v1.11 is in the guise of a CVS trunk. I have been using this as well - works great! One day it will come out as an

Re: Question regarding xalan support on Solaris CC compiler with libstlport

2009-03-22 Thread David Bertoni
anirbb wrote: Hi, We have a necessity to build db-xml 2.4.16 with patch 1 on Solaris using Solaris CC compiler and link to libstlport. By default Solaris CC compiler links with libCstd however the application code needs to use libstlport library. I'm afraid I don't know what db-xml is. You

Re: build Xalan-C using GCC on Solaris x86_64 and Solaris Sparc 64-bit

2009-03-16 Thread David Bertoni
Zhuo Yang wrote: I've never seen a version of GCC on Solaris x86 or Solaris SPARC that could build 64-bit binaries, so I've never tried it. GCC compilers that were used for compiling 64-bit binaries: - GCC 3.4.6 for Sun Sparc / Solaris 10. - Download from http://www.sunfreeware.com

  1   2   3   4   5   >