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: 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: 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: 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: 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: 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 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: 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: 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: Redirect errors from XPathEvaluator

2012-07-29 Thread David Bertoni
On Tue, Jul 24, 2012 at 5:09 AM, Brian Reynolds < [email protected]> 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: XPathWrapper error

2005-09-16 Thread David Bertoni
Jason Jesso wrote: I compiled xml-xalan/c/samples/XPathWrapper. I get an error when I run it. Can someone help? cc -I/usr/local/xerces-c/include -I/usr/local/xalan-c/include -L/usr/local/xerces-c/lib -L/usr/local/xalan-c/lib -lxerces-c -lxalan-c XPathWrapper.cpp TestDriver.cpp [EMAIL PROTECT

Re: str:encode-uri()

2005-09-19 Thread David Bertoni
Ivan Bogouchev / Иван Богушев wrote: Hi David, 2005/9/8, [EMAIL PROTECTED] <[EMAIL PROTECTED]>: Tthanks for the reply, Dave, it that made the stylesheet work. Just one more question: what about the str:replace() function? It seems it is not implemented in xalan-c 1.9. None of the EXSLT fun

Re: Slow performance of XalanTransformer.transform in DLL

2005-10-07 Thread David Bertoni
Brian Frutchey wrote: I am writing a JNI bridge which uses Xalan-C++ to speed up the XSLT processing in a Java application. Everything is functional, but the XalanTransformer.transform method is perform exceptionally slow (slower than a native Java implementation using Xalan-J). Strangely, I

Re: Slow performance of XalanTransformer.transform in DLL

2005-10-10 Thread David Bertoni
Brian Frutchey wrote: Thanks for the help. I have done the following as per your 3 suggestions, but have noticed no increase in speed. Any other ideas, or can you point out something I am doing wrong? 1) I already had my compiler set to build for release and optimize for speed. good 2)

Re: Xalan 1.9

2005-10-14 Thread David Bertoni
Christian Signer wrote: Hi, I would like to know, if you are implementing XSLT 2.0 in Xalan C++. If you intend to do this, when will be the first version available? Given the limited amount of time the current committers have available, we don't have any plan right now to implement XSLT 2.

Re: Question about Xalan

2005-10-14 Thread David Bertoni
Andrei N. Balabohin wrote: Hello. Thank you for Xalan. It is great! But I have one question: Does Xalan have support of asynchronous transformation or does it allow canceling operation during transformation (from other thread)? I don't know what you mean by "asynchronous transformation," so I

Re: compatibility between Xerces-C++ 2.7.0 and Xalan-C++ 1.8

2005-10-19 Thread David Bertoni
Prakash Babu wrote: Hello all, I am working on HPUX platform. 1. I am able to successfully build Xalan-C++ 1.8 using Xerces-C++ 2.7.0 2. All the binaries work as normal. But I still have a clarification whether Xerces-C++ 2.7.0 and Xalan-C++ 1.8 are compatible. I have this clarification

Re: Xalan-C++ 1.4 / Xerces C++ 2.1 Problem with paths containing '#'

2005-10-21 Thread David Bertoni
Borislav Stoyanov wrote: Hello there, could be possible, that the above versions have problems with path names containg a '#' character ? For example Y:\My#Path\MyFile.xsl By trying opening it XalanTransformer.compileStylesheet( pStylesheetSourceC,

Re: Xalan-C++ 1.4 / Xerces C++ 2.1 Problem with paths containing '#'

2005-10-24 Thread David Bertoni
Borislav Stoyanov wrote: Hello, do you know if this is a bug or a feature ? If it is a bug, is it still a problem with the newer xerces versions? It's not a bug. As I explained in my previous note, Xerces-C requires legal URLs, and the '#' character is not allowed in a URL, except as a f

Re: XPathEvaluator::initialize() failing.

2005-11-03 Thread David Bertoni
Quinn, Colin (END-CHI) wrote: I am using xerces 2.6 with xalan 1.9 on Solaris I wrote some code to extract a node using an xpath. It worked exactly once. Now my executible is seg faulting on startup. Here is the GDB from the core file: Program terminated with signal 9, Killed. #0 0xf95b12

Re: Performance problems with XALAN C++

2005-11-03 Thread David Bertoni
Bruno Mendonça (PTSI) wrote: Hello, This is my first time trying out XALAN. I have rebuilt the XALAN C++ 1.10 and XERCES 2.7.0 to use the ICU support. I tried out both the XALAN C++ and the XALAN Java versions on a source file. I then realized that XALAN C++ is much slower (very much

Re: Problems with XSLTInputSource

2005-11-04 Thread David Bertoni
[EMAIL PROTECTED] wrote: Hi I am quite new to Xalan and XSLT and Im having a few problems trying to transform an XML message using a simple XSLT file. I have a char* inputMessage that contains the xml to be transformed. I am using an isstrstream to populate the XSLTInputSource. I am also

Re: Building on Visual Studio 2005

2005-11-04 Thread David Bertoni
Rob.Conde wrote: Ok, I know it’s only been out for a few days, but I’m having trouble building Xalan 1.10 on Visual Studio .NET 2005. Problem #1: VS 2005 nmake does not appear to suck in tools.ini files even though the docs say it should. This leaves things undefined and caus

Re: Problems with XSLTInputSource

2005-11-07 Thread David Bertoni
[EMAIL PROTECTED] wrote: Hi Thanks for your response, here are some more details: Platform: Solaris Xalan Version: 1.9 Xerces Version: 1.6 Compiler: SUNWspro6.2 I suspected you were using the Sun compiler. There is a defect in the compiler's C++ run-time library that returns bogus data whe

Re: 'XALAN_STATIC_CHECK': identifier not found on VS.NET

2005-11-08 Thread David Bertoni
Development wrote: Hi, After upgrading from Xalan 1.9 to 1.10 we get the below compiler error from VS.NET. Any ideas? What version of .Net are you using? I can build with 2003 with no problem. cl -c -DUSE_LCA /Zi /Od /nologo /GB /W3 /Ze -DTARGET=NT_I386 -DDDT -DWAR

Re: Access Violation on the use of XPathEvaluator::initialize()

2005-11-08 Thread David Bertoni
Ram Narayanan Sastry wrote: Hi, I am trying to compile the sample SimpleXPathApi on Microsoft VC++ 6.0. My operating system is XP Professional and the version of Xalan parser is xalanc_1_10. While debugging I get a access violation on the call to XPathEvaluator::initialize(). The code snippe

Re: Access Violation on the use of XPathEvaluator::initialize()

2005-11-10 Thread David Bertoni
Ram Narayanan Sastry wrote: Hi Dave, As I mentioned, I am getting it in the XPathEvaluator::initialize(). I am putting the code snippet below: --- XALAN_USING_XERCES(XMLPlatformUtils) XALAN_USING_XALAN(XPathEvaluator)

Re: Visual Studio 2005 debug build issue

2005-11-16 Thread David Bertoni
Rob.Conde wrote: FYI - I found the same as Geir - I just haven't had time to report it. Robert Conde You can find the necessary patches for Visual Studio 2005 attached to this bug report: http://issues.apache.org/jira/browse/XALANC-584 Dave

Re: Applying xPath to Xerces DOMDocument fails

2005-11-17 Thread David Bertoni
[EMAIL PROTECTED] wrote: Hello, I am relatively new to Xalan and somehow it drives me mad. I need to apply an xPath to the pre-parsed XML document. The document is a Xerces DOMDocument instance. I read some postings on how to do that, but none of them worked. I will try to summerize my effo

Re: Applying xPath to Xerces DOMDocument fails

2005-11-17 Thread David Bertoni
[EMAIL PROTECTED] wrote: David, thanks for your answer. The sample code and text documents are at work. What I can remember until now is that I stepped into the xPath evaluation function and set breakpoint for the namespace resolution. Somehow the default resolver used by Xalan always delivered n

Re: XercesDOMSupport: Converting between Xalan nodes and Xerces DOM nodes for removal

2005-11-23 Thread David Bertoni
Keith Reynolds wrote: (Forgive me if this is a repost) Hello, I have seen some other postings with similar questions. In general there was agreement to work up a sample but none exists - that I can find. I would like to use Xalan for XPATH searching and then allow removal of some nodes.

Re: XalanDOMString, transcoding, and the local code page

2005-11-23 Thread David Bertoni
Gabriel Deal wrote: I have a XalanDOMString and I want to get the data from it in UTF-8 or UTF-16. If I call XalanDOMString::transcode() it converts the data to my local code page, which I assume changes based on the locale my app is running in (correct?). What is the best way to either make su

Re: Problem with XalanSourceTreeParserLiaison and DTD

2005-11-28 Thread David Bertoni
[EMAIL PROTECTED] wrote: Hi I have a task that takes in various types of XML messages and evaluates XPath expressions. Im now using input messages that have been produced with a DTD and start with the following: When I try and parse the message I get the following error: Fatal Error.Oc

Re: Does Xalan-C support DOM-2 Events?

2005-12-06 Thread David Bertoni
Wei Xiong wrote: Hi there, Could you clarify whether the Xalan-C++ 1.10 supports DOM level 2 Events? If not, would a newer version to support it soon, or is there any solution? Xalan-C's "DOM" is a minimal read-only implementation of the DOM APIs designed to be efficient for the purp

Re: Does Xalan-C support DOM-2 Events?

2005-12-06 Thread David Bertoni
[EMAIL PROTECTED] wrote: Just in addition to Dave, using Xalan-C you are still able to apply XPath to Xerces-C DOMDocument instances. I am not sure if XSLT supports Xerces-C DOMNode or DOMDocument implementations... It does, although there are some limitations. There should be ample inform

Re: Release 10+icu, incomplete result

2005-12-15 Thread David Bertoni
John Russell wrote: Hi I'm comparing the results of a transform between version 6 and 10 with ICU. Version 10 appears to terminate prematurely. Is this a known problem? This is definitely a defect. Can you please create a Jira issue for it, and attach the stylesheet and source document (perh

Re: Xalan C++ 1.9.0 poor performance - used with Xerces 2.6.0

2005-12-16 Thread David Bertoni
Sean Ryan wrote: Hello, I am using Xalan C++ 1.9.0 on MCVC6.0 and have fairly poor performance. I am using the .lib file that is in the Windows distribution on the Apache site. I am using Xalan from within a standard Win32 DLL, in a fairly large stand-alone application. I am using Xerces 2.6

Re: Xalan C++ 1.9.0 poor performance - used with Xerces 2.6.0

2005-12-21 Thread David Bertoni
Sean Ryan wrote: Hello, To reproduce this problem I think you will need my XSL and XML files. But I don't want to overload the mail list... (I already sent a massive message to the subscibe address - sorry about this but I don't use mailing lists much). Yes, we'll need your input files.

Re: [jira] Resolved: (XALANC-591) Transform output terminates before completion without error

2006-01-03 Thread David Bertoni
John Russell wrote: Please advise where I can obtain instructions on how to incorporate 'patch2.txt' http://issues.apache.org/jira/secure/attachment/12321375/patch2.txt You will need a version of the patch utility. Most Linux/Unix boxes come with one. For Windows, you can use your favorite

Re: How to supress the attached namespace to every element in the XML output [SEC=UNCLASSIFIED]

2006-01-09 Thread David Bertoni
[EMAIL PROTECTED] wrote: Hi Xalan-C users, 1. We are implementing the Xalan-C++ XSLT transform on IBM mainframe through IBM XML toolkit. 2. Sample program has been modifed to do the transform seems working so far in testing. 3. We now have difficulty to supress the attached namespace to every

Re: How to supress the attached namespace to every element in the XML output

2006-01-09 Thread David Bertoni
[EMAIL PROTECTED] wrote: Thanks David, Sample output : But I didn't ask for sample output. I asked for a small sample input document and a small sample stylesheet: > Please post a _small_ sample input document and stylesheet that > illustrates the problem you're seeing, and someone may b

Re: Transcode issue with XALAN 1.9

2006-01-18 Thread David Bertoni
[EMAIL PROTECTED] wrote: All, I had upgraded XALAN 1.7 to 1.9 on HP UNIX machine today. After upgrading, I am getting the following compilation error. Can any one help me on this? *Source code is as follows* // OK, let

Re: Problem with empty text nodes in transformation

2006-01-26 Thread David Bertoni
Adrien de Sentenac wrote: Hello, I want to transform a Xerces DOM tree using Xalan. It generally works fine, except when i have nodes with empty strings in the tree. These nodes are created with createTextNode(0), and i need that for my application. When my tree has such 'empty' node, it fails

Re: mac intel?

2006-01-26 Thread David Bertoni
John Russell wrote: Has a Mac intel build of xalan-C been attempted? Thanks, John Russell. Not that I know of. I'm also not sure the Mac port is even being maintained right now. Dave

Re: Dude programming multithread

2006-01-26 Thread David Bertoni
Nacho Conde wrote: Hi, We have a dude programming a multithread application. The application has an object Xpathlib, this object has a parser (XercesParserLiaison ), a evaluator (XpathEvaluator), and methods that can parse documents and execute xpath expressions. ¿Is possible create one objec

Re: Compiling simple Xalan example

2006-02-17 Thread David Bertoni
kuba m wrote: hello, I am using Linux - Ubuntu, I downloaded Xerces-C++ 2.7.0 and Xalan-C++ 1.10.0 binaries, followed the instructions on the website and managed to build both, I can run Xalan from the command line - so this means that it built fine, doesn't it ? If you downloaded the binarie

Re: Compiling simple Xalan example

2006-02-20 Thread David Bertoni
kuba m wrote: - Original Message - From: "David Bertoni" <[EMAIL PROTECTED]> To: [email protected] Subject: Re: Compiling simple Xalan example Date: Fri, 17 Feb 2006 11:30:55 -0800 kuba m wrote: hello, I am using Linux - Ubuntu, I downloaded Xerces-C++ 2.

Re: InvalidStackContextException

2006-02-28 Thread David Bertoni
[EMAIL PROTECTED] wrote: Hi, I am getting an exception during the Parsing an XML by an XSL with Xalan C++ 1.9 and Xerces 2.6 C++ libraries. The exception is "InvalidStackContextException: Invalid stack context (, line -1, column -1) " I am calling a template recursively.Is that the cause of

Re: How to specify a DTD file not included in the XML file.

2006-03-01 Thread David Bertoni
Miguel Tena wrote: Is there a way to tell the DOM parser which DTD file to use without having it specified in the XML file? I would like to validate a XML file that does not have a declaration of this kind: This is a question about Xerces-C, so you will need to ask it on the Xerces

Re: How to specify a DTD file not included in the XML file.

2006-03-01 Thread David Bertoni
Serge Skorokhodov wrote: Is there a way to tell the DOM parser which DTD file to use without having it specified in the XML file? I would like to validate a XML file that does not have a declaration of this kind: This is a question about Xerces-C, so you will need to ask it on the Xerces-

Re: Library Compilation error with Xalan 1.10 on AIX 64bit

2006-03-06 Thread David Bertoni
Thomas, Paul (GF-X) wrote: Hi, I am currently attempting to compile both the new versions of Xerces 2.7 and Xalan 1.10 on my 64bit AIX environment. At this moment in time, the Xerces compilation was successful, however the Xalan compilation fails at the point of generating the "libxalan-c110.0.a

Re: Library Compilation error with Xalan 1.10 on AIX 64bit

2006-03-07 Thread David Bertoni
Thomas, Paul (GF-X) wrote: Hi, Thanks for getting back to me. The version of AIX our system currently uses is 5.3. I see you mention its an OS limitation and that not much can be done to resolve it. Yes, I'm just surprised you're getting it. It may be the particular shell you're using (Korn,

Re: InvalidStackContextException with Xalan 1.9

2006-03-07 Thread David Bertoni
[EMAIL PROTECTED] wrote: Hi All, We did have the fix "endExecuteChildren() in ElemVariable.cpp, ElemWithParam.cpp" in the source code built for Xalan 1.9 libraries(with Xerces 2.7).' I understand with this fix, InvalidStackContextException should not be encountered. I analysed someof th

Re: FW: Xerces remapping &#xxxx;

2006-03-08 Thread David Bertoni
Graeme Ing wrote: Hello all, I’m using Xerces 2.7 and I’m trying to parse the following snippet from my XML file: Junk Mail - just how “heavy” a problem is it? The xml header/encoding on the file is: When I parse this and walk the DOM and extract the contents of this

Re: Internal error compiling xalan on red-hat 7.3

2006-03-09 Thread David Bertoni
AESYS S.p.A. [Enzo Arlati] wrote: I build the xalan-c rev 1.10 with xerces-c 2.70 on a Red Hat Linux 7.3 2.96-110 (gcc version 2.96 2731). I got the error "Internal error: Segmentation fault." when I compile the files: You should not use GCC 2.96 for production: http://gcc.gnu.org/gcc

Re: XQuery Support?

2006-03-13 Thread David Bertoni
[EMAIL PROTECTED] wrote: Does Xalan C++ v1.10 have support for xquery? No, it does not. If not, are there any plans for support? I doubt very much Xalan-C++ will implement XQuery. It might implement XSLT 2.0, but that's also not at all certain. Dave

Re: The URL used an unsupported protocol

2006-03-17 Thread David Bertoni
Morten Bruun wrote: Hi there, Having installed the xalan-c I'm experiencing a strange problem when applying XSLT to XML documents that have a PUBLIC DOCTYPE in them. I didn't see anything about this in the FAQ. When using this XSLT: ... I get the following error: [EMAIL PROTECTED]:~/tes

Re: Coyping entity reference from input to output..

2006-03-21 Thread David Bertoni
pralaypati ta wrote: Hi, I'm using Xalan-C++ version 1.8. I want to create an exact copy of source xml file in output xml file e.g. I want to write out all the entity references, the internal DTD subset declaration etc. from input xml to output xml file. You can't do that in XSLT. The art

Re: mac intel?

2006-03-27 Thread David Bertoni
John Russell wrote: Is there a contact I can attempt to reach re Mac port? John. If no one responded to your post on the list, I think you can assume the person who was maintaining the Mac port is no longer doing it. On the other hand, keeping the port going for OS X should be trivial, sin

Re: Write transform output to a buffer

2006-03-29 Thread David Bertoni
Nithya Nirmal Vijayakumar wrote: Hi, I am a new user to Xalan-C++. I want to apply xsl transformation to xml stored in a buffer and get the output into a buffer. The StreamTransform.cpp example reads from a buffer and writes output to a stream. I want to make this write to a buffer. I saw some

Re: build in Visual Studio 2005 (VC++8)

2006-03-29 Thread David Bertoni
Haiying Tu wrote: Dear all, Need help on Xalanc and Xerecs work for VC++8. Thank Dmitry for leading me to the link of source code: http://svn.apache.org/repos/asf/xalan/c/trunk/ However, even Xerces cannot be build in VC8 now (I successfully built Xerces 2.7 in VC8, however, Xalanc is look

Re: Multiple file- multiple format output

2006-03-31 Thread David Bertoni
[EMAIL PROTECTED] wrote: Hi, I am using XMLSpy for developing my xslt code and to tranform one xml file(input) to another xml file(output). Now I wanted to have multiple outputs(One xml output and one text output) with a single transformation. Is that possible? Xalan-C does not support a

Re: Build error

2006-04-08 Thread David Bertoni
Bjoern Rasmussen wrote: Hi there I'm trying to build Xalan on Debian but I get a "multiple definition" build error. I've built Xerces in advance and setup the environment varibles XERCESCROOT and XALANCROOT then ran "./runConfigure -p linux -c gcc -x g++" and finally "make". The error is th

Re: Regarding XPath query

2006-04-24 Thread David Bertoni
Smeeta Jalan wrote: Hi, I am using Xalan-C 1.10 and Xerces 2.7. I have to write a wrapper class whose functions gives me the results of XPath queries. I got an example in the samples SimpleXPathAPI which serves my purpose. But I have few problems. I wanted to split the entire thing into 2 funct

Re: Compilation issue

2006-04-28 Thread David Bertoni
[EMAIL PROTECTED] wrote: Compilation error is *Error 712: "./XMResponseParser.h", line 64 # This class scope using-declaration does not refer to a base class member.* *XALAN_USING_XERCES(XMLPlatformUtils)* You are confusing using declarations and using directives. Using direc

Re: Inserted carriage characters

2006-04-28 Thread David Bertoni
Mikel Astiz wrote: Hi, I have noticed that, during a transformation, some carriage return characters are insterted in the output XML tree. I my XML documents, the following two lines represent different data: The whitespace that sepparates the text string and the eleme

Re: XalanDocument and DOMDocument Interchange

2006-04-30 Thread David Bertoni
Manoj Kumar Chitlangia wrote: Hi, I have the following declarations: xalanc_1_10::XalanDocument *xalan_document; xercesc_2_7::DOMDocument *dom_document_; I have these statements afterwards to initialize these: xalan_document = parser_liaison_.parseXMLStream(input_source); This creates an

Re: MinGW Support For Xalan

2006-05-11 Thread David Bertoni
Chastain, Spencer E wrote: I've opened a bug on this issue - namely that mingw doesn't seem supported by Xalan (presently Xalan 1.10) out of the box or even after a little bit of wrestling. _http://issues.apache.org/jira/browse/XALANC-620_ A commentor noted that, since it builds fine under

Re: MinGW Support For Xalan

2006-05-11 Thread David Bertoni
David Bertoni wrote: Chastain, Spencer E wrote: I've opened a bug on this issue - namely that mingw doesn't seem supported by Xalan (presently Xalan 1.10) out of the box or even after a little bit of wrestling. _http://issues.apache.org/jira/browse/XALANC-620_ A commentor

Re: unpaired tags tranformation

2006-05-13 Thread David Bertoni
Urban Biel wrote: Hi all I have a prboblem with Xalan 1.10. Unpaired tags like and are rendered fine, but in output HTML document for each unpaired element, one closing tag of a paired element is removed. Example: some text some text In the second HTML document there is mi

Re: unpaired tags tranformation

2006-05-15 Thread David Bertoni
Urban Biel wrote: David Bertoni wrote: This is a bug that was fixed after Xalan 1.10 was released. You can get the latest code from the SVN repository to get the fix. Dave Waw. Why is this not fixed in main src package; why there is not even a note; the link to jira bug reports doesn&#

Re: MinGW Support For Xalan

2006-05-15 Thread David Bertoni
Chastain, Spencer E wrote: Have you been able to generate the patch? because I have not seen it. I'd be more than happy to dabble with the symlink creation, though I'm no mingw expert. I will try to post the patch today. SVN was down most of Thursday and part of Friday, so it was difficult

Re: OOT: Re: unpaired tags tranformation

2006-05-15 Thread David Bertoni
Urban Biel wrote: First of all, we never patch existing releases -- the overhead required is too great. I don't fully understand this, but ok, if this is your policy. But a note about it would be *very* welcome. I'm not sure why you can't access the Jira repository, as I'm not having any prob

Re: Visual Studio 2005 Localization

2006-05-17 Thread David Bertoni
Maxime Brunet wrote: I'm trying to build Xalan-C 1.10 (with Xerces-C 2.7)using Visual Studio 2005 and I have encountered a problem that has been discussed here before - but can't seem to find the right answer for. Following David Bertoni's advice in a previous post, I rebuilt Xerces-C using the

Re: How to check out xalan source code using svn ?

2006-05-18 Thread David Bertoni
Kelvin wrote: Hi all, I was trying to check out xalan source code with revision 357825 using svn and failed on both linux and nt box. The error message is pasted below, any pointers/comments/thoughts are highly appreciated. $ svn co https://svn.apache.org/repos/asf/xalan/c/trunk --revision 3

Re: Can Xalan be compiled with unicode support on VS2005

2006-05-19 Thread David Bertoni
Kelvin wrote: Hi there, Just want to know if Xalan can be compiled with unicode support on VS2005 ? I tried today, but failed with the following mesasges: CreateFileW' : cannot convert parameter 1 from 'const char *const ' to 'LPCWSTR' By "compiled with unicode support," I'm assuming you'

Re: Xalan transform hand-built DOM

2006-06-01 Thread David Bertoni
[EMAIL PROTECTED] wrote: Hi, I'm using Xalan version 1.9 and Xerces version 2.6 in C++ on windows. I'm having a problem using XalanTransformer. I am building up a DOM by hand. I have defined my own classes that derive from XalanNode and XalanDocument and so on. I've tried this approach to usin

Re: MapNode problems

2006-06-01 Thread David Bertoni
Antonio Scotti wrote: Hi! I've a problem using a XercesDocumentWrapper. I've a Xerces DOMDocument and I'd like to evaluate an xpath expression on a specific DOMElement. What I've done is to build a XercesDOMWrapperParsedSource (using the DOMElement, a XercesParserLiaison and a XercesDOMSuppo

Re: Xalan transform hand-built DOM

2006-06-02 Thread David Bertoni
[EMAIL PROTECTED] wrote: Hi, Thank you for your reply. I am having difficulty "creating a Jira" issue. I assume that to do this I need to be able to access "http://nagoya.apache.org/jira"; and I have not been able to do this all day. Jira is really very unstable, so I'm not surprised. I

Re: Xalan-c release that compiles with VS2005

2006-06-02 Thread David Bertoni
Dean O'Connor wrote: Hello We are also trying to use compile Xalan-c with VS2005 as well, using dev trunks (of Xerces-c aswell) from SVN. Xerces compiles ok, but Xalan-c gets this error: 3>c:\projects\xalan-c\trunk\src\xalanc\platformsupport\XalanMessageLoader.hpp(29) : fatal error C1083: C

Re: Xalan-c release that compiles with VS2005

2006-06-02 Thread David Bertoni
Robert Conde wrote: As a practical matter, seeing all the questions that come up about this...wouldn't it just be easier to have a 1.10.1 or something that builds in vs2005? Or is that against some policy? There's no really policy -- it's just a matter of overhead. Doing a release is very

Re: MapNode problems

2006-06-05 Thread David Bertoni
Antonio Scotti wrote: Here is what I do: void doXpath(xercesc_2_7::DOMElement* theElem, xercesc_2_7::DOMDocument* theDoc) { XALAN_CPP_NAMESPACE::XercesDocumentWrapper* theWrapper; XALAN_CPP_NAMESPACE::XercesDOMSupport* theDOMSupport; XALAN_CPP_NAMESPACE::XercesParserLiaison* theParserLiaison

Re: Xalan transform hand-built DOM

2006-06-05 Thread David Bertoni
[EMAIL PROTECTED] wrote: Hi Dave, Thank you once again for your helpful reply. >> >> I have, as suggested, created a trivial program that illustrates the >> problem. >> It is based on the XalanTransfrom example with minimal changes. >> It is attached. >> >> Hopefully it shows where I am

Re: Programmatically create XML 1.1 Document

2006-06-14 Thread David Bertoni
mauro castelli wrote: hi all, I'm using the latest version of Xalan/Xerces in order to achieve xml 1.1 support. Looking at the "Samples" to get ideas on how to programmatically create an XML Document in memory: xerces/CreateDOMDocument (DOM) and xalan/DocumentBuilder(SAX). You'll have to a

Re: Programmatically create XML 1.1 Document

2006-06-16 Thread David Bertoni
mauro castelli wrote: David, thank you very much for your precious hints and sorry if my question was not clear. I don't know what "xalan-SAX" is. Can you be more specific? If you mean using the class >"XalanDocumentBuilder," then you can send events that contains Unicode characters that wo

Re: ICU version on .NET2005 with Xalan 1.10.0

2006-06-20 Thread David Bertoni
mauro castelli wrote: Hi all, in order achieve support for "format-number" Xalan (release 1.10.0) must be integrated with ICU 3.2. I'm working with Microsoft Visual Studio .NET 2005 and the ICU web page (http://xml.apache.org/xalan-c/usagepatterns.html#icu) suggests to download the ICU last rele

Re: How to compile xalan as single threaded in Unix?

2006-06-21 Thread David Bertoni
Schlesinger, Philip wrote: Hi all. We'd like to compile xalan as single-threaded in Unix. How does one do that? Interesting -- it looks like there's no current way to do that. I will try to put something together to fix that, although it will take some time. Dave

Re: Xalan parsing usiing Xerces

2006-06-22 Thread David Bertoni
[EMAIL PROTECTED] wrote: Hi, I am having a problem using the nethod. nt XalanTransfomer::parseSource (const XSLTInputSource &, const XalanParsedSource *&, bool useXercesDOM=false) In particular when I specify the flag useXercesDOM as true then whenever the ParsedSource is destroyed (either

Re: NT build, LocalMsgIndex.hpp error, FAQ and googling NOT helping

2006-07-10 Thread David Bertoni
Schlesinger, Philip wrote: Hi all. Building on NT with Visual C++ 6. Getting the following error during build: PlatformSupportInit.cpp C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\xmemory(39) : warning C4100: '_P' : unreferenced formal parameter C:\Program Files\Microsoft Visual Stud

Re: NT build, LocalMsgIndex.hpp error, FAQ and googling NOT helping

2006-07-12 Thread David Bertoni
Schlesinger, Philip wrote: Dear David, Hey, it worked! Just one problem: it's looking for httpd.h for Configuration: ApacheModuleXSLT. I searched and found two different versions - one in cygwin\usr\include\apache, the other in cygwin\usr\include\apache2. Their dates and file sizes are differe

Re: NT Xalan memory leak detected in debug version of sample program TransformToXercesDOM; release does not report leak

2006-07-12 Thread David Bertoni
Schlesinger, Philip wrote: Dear all, When building Xalan on NT, the debug version of the sample program TransformToXercesDOM reports memory leak when the following command is executed. The Release version does not report a memory leak. The release version of the executables never reports mem

Re: Follow up question on single threading

2006-07-14 Thread David Bertoni
Schlesinger, Philip wrote: Hi! Using the Xerces single-threading rules as a model, we tried the following changes in an attempt to force Xalan to build itself single-threaded. Do you think they're ok? Would you have any suggestions? - Phil For Aix o Replace xlc_r and xlC_r lib

Re: XercesDOMWrapperParsedSource compilation error

2006-07-21 Thread David Bertoni
Dean O'Connor wrote: Hello Hello we are compiling a snapshot of the Xalan-c and Xerces-c trunk taken a few weeks ago. We used the trunk as we must use VC8 (VS2005). However we are still using the deprecated bridge code to Xerces. Ie. added to preprocessor defs. Yes we would love to upgrade all

Re: XercesDOMWrapperParsedSource compilation error

2006-07-21 Thread David Bertoni
David Bertoni wrote: Dean O'Connor wrote: Visual C++ is not very helpful here. The problem is a missing semi-colon at the end of line 77: theURI = XalanDOMString(XalanMemMgrs::getDummyMemMgr()), ---^ Oops! What I really mean

Re: Xalan failed to initialize on AIX

2006-07-24 Thread David Bertoni
Xiao, Ke wrote: Hi, I just rebuild Xerces2.7 and Xalan1.10 on AIX. When I try to initialize Xalan, it asert in XalanMemoryManagement.cpp line 73 in function XalanMemMgrs::getDefaultXercesMemMgr(). It complain for the XMLPlatformUtils::fgMemoryManager is NULL. However my code is like: { .

Re: Xalan failed to initialize on AIX

2006-07-24 Thread David Bertoni
Xiao, Ke wrote: Thanks a lot for your reply. To make it clear, the issue happended in my own code to use Xerces/Xalan. To generate the makefile, I use ./runConfigure -p aix -c xlc_r -x xlC_r -b 64 -d I just rebuild both Xerces2.7 and Xalan1.10. I tried the sample program Xalan under

Re: stop loading of DTD or xsd when validation is turned off

2006-07-31 Thread David Bertoni
[EMAIL PROTECTED] wrote: Hi, Even when XML validation is turned-off, through XalanTransformer.setUseValidaton( false ); I find that the parser is attempting to load DTD/schema when source document is parsed. How can I tell the parser not to load external DTD or Schema? There is a

Re: XPathWrapper not included under sample files

2006-08-01 Thread David Bertoni
venkat naidu wrote: Hi all, this is my first mail, to Xalan-developers and users.i am working for a prominent company. from past few months i am working on this Xalan-c component. In the future, please do not send the same question to both mailing lists. i have good experience wi

Re: (TRY 2) RE: NT Xalan memory leak detected in debug version of sample program TransformToXercesDOM; release does not report leak

2006-08-01 Thread David Bertoni
Schlesinger, Philip wrote: Hi all. I didn't receive a response for a week - I'm guessing I was just lost in the shuffle... - Phil I have not had time to attempt to reproduce this, but you could do further testing by simply disabling all of the Xalan-specific code in the sample, and just ca

Re: XercesParserLiason.cpp compile errors on trunk

2006-08-02 Thread David Bertoni
Dean O'Connor wrote: I don't know protocol here, but I had to refresh from Xerces-c and Xalan-c trunks and got compile errrors in XercesParserLiason.cpp these methods don't seem to be part of AbstractDOMParser in Xerces-c, (any more ?): theparser->setExpandEntityReferences(false); theparser

  1   2   3   4   5   >