You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-users@xalan.apache.org by SixDegrees <pa...@comcast.net> on 2009/03/21 17:06:43 UTC

XML/Xerces/Xalan

We have a project using Xerces-C v3.01. We would like to add support for
XPath queries, and are considering either Xalan-C or XQuilla.

Xalan-C seems to have been stuck at v1.10 since 2004, and the online
documentation claims it is compatible with Xerces-C v2.70, but nothing
higher.

XQuilla seems to be less known, and we want something robust and stable. But
if Xalan won't work with Xerces 3, we may be forced to shift to something
else.

Any thoughts on compatibility, ease of use or other issues we may run into
when making this choice?

-- 
View this message in context: http://www.nabble.com/XML-Xerces-Xalan-tp22637253p22637253.html
Sent from the Xalan - C - Users mailing list archive at Nabble.com.


Re: XML/Xerces/Xalan

Posted by David Bertoni <db...@apache.org>.
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 interesting distinction.  Xalan-C is an open source 
project, with no official support mechanism.  Why would they care if you 
were using some particular "official" release, since there's no 
quantitative difference in the level of support you would receive?

> 
> The reason why I need Xerces 3.0.1, by the way, is because I'd like to use
> Xinclude statements and use XPath to access the XML.
> 
> Thanks for your quick response!
Unfortunately, I am swamped at work right now, with no end in sight.  I 
really would like to get a release out the door, but there is a fair 
amount of infrastructure work, such as updating the documentation, and 
regenerating the web site which is very time consuming, partiularly 
since I've never done those tasks before.

One thing I can do is create a release branch so people can do some beta 
testing. I suggest you test your application with the current head of 
the SVN trunk and report any issues you see.

Dave

Re: XML/Xerces/Xalan

Posted by markrosenrosen <ma...@gmail.com>.
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. :-)

The reason why I need Xerces 3.0.1, by the way, is because I'd like to use
Xinclude statements and use XPath to access the XML.

Thanks for your quick response!




David Bertoni wrote:
> 
> 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:27,
>>                  from
>> /tp64/xalan/c1_10_0_ICU/include/xalanc/XPath/XalanXPathException.hpp:32,
>>                  from
>> /tp64/xalan/c1_10_0_ICU/include/xalanc/XPath/XObject.hpp:41,
>>                  from ../src/core/CFrame.C:13:
>> /tp64/xalan/c1_10_0_ICU/include/xalanc/PlatformSupport/XalanLocator.hpp:62:
>> error: conflicting return type specified for `virtual XMLSSize_t
>> xalanc_1_10::XalanLocator::getLineNumber() const'
>> /home/mrosen/xerces-c-3.0.1-x86_64-linux-gcc-3.4/include/xercesc/sax/Locator.hpp:102:
>> error:   overriding `virtual XMLFileLoc
>> xercesc_3_0::Locator::getLineNumber() const'
>> /tp64/xalan/c1_10_0_ICU/include/xalanc/PlatformSupport/XalanLocator.hpp:65:
>> error: conflicting return type specified for `virtual XMLSSize_t
>> xalanc_1_10::XalanLocator::getColumnNumber() const'
>> /home/mrosen/xerces-c-3.0.1-x86_64-linux-gcc-3.4/include/xercesc/sax/Locator.hpp:112:
>> error:   overriding `virtual XMLFileLoc
>> xercesc_3_0::Locator::getColumnNumber() const'
> Xerces-C 3.0 has a number of incompatible source code changes from the 
> 2.x branch.
> 
> My suggestion is you use the trunk of the Subversion repository, which 
> is quite stable, will build with both Xerces-C 2.8 and Xerces-C 3.x and 
> is more stable than Xalan-C 1.10.
> 
> Dave
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/XML-Xerces-Xalan-tp22637253p23438768.html
Sent from the Xalan - C - Users mailing list archive at Nabble.com.


Re: XML/Xerces/Xalan

Posted by David Bertoni <db...@apache.org>.
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:27,
>                  from
> /tp64/xalan/c1_10_0_ICU/include/xalanc/XPath/XalanXPathException.hpp:32,
>                  from
> /tp64/xalan/c1_10_0_ICU/include/xalanc/XPath/XObject.hpp:41,
>                  from ../src/core/CFrame.C:13:
> /tp64/xalan/c1_10_0_ICU/include/xalanc/PlatformSupport/XalanLocator.hpp:62:
> error: conflicting return type specified for `virtual XMLSSize_t
> xalanc_1_10::XalanLocator::getLineNumber() const'
> /home/mrosen/xerces-c-3.0.1-x86_64-linux-gcc-3.4/include/xercesc/sax/Locator.hpp:102:
> error:   overriding `virtual XMLFileLoc
> xercesc_3_0::Locator::getLineNumber() const'
> /tp64/xalan/c1_10_0_ICU/include/xalanc/PlatformSupport/XalanLocator.hpp:65:
> error: conflicting return type specified for `virtual XMLSSize_t
> xalanc_1_10::XalanLocator::getColumnNumber() const'
> /home/mrosen/xerces-c-3.0.1-x86_64-linux-gcc-3.4/include/xercesc/sax/Locator.hpp:112:
> error:   overriding `virtual XMLFileLoc
> xercesc_3_0::Locator::getColumnNumber() const'
Xerces-C 3.0 has a number of incompatible source code changes from the 
2.x branch.

My suggestion is you use the trunk of the Subversion repository, which 
is quite stable, will build with both Xerces-C 2.8 and Xerces-C 3.x and 
is more stable than Xalan-C 1.10.

Dave


Re: XML/Xerces/Xalan

Posted by markrosenrosen <ma...@gmail.com>.
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:27,
                 from
/tp64/xalan/c1_10_0_ICU/include/xalanc/XPath/XalanXPathException.hpp:32,
                 from
/tp64/xalan/c1_10_0_ICU/include/xalanc/XPath/XObject.hpp:41,
                 from ../src/core/CFrame.C:13:
/tp64/xalan/c1_10_0_ICU/include/xalanc/PlatformSupport/XalanLocator.hpp:62:
error: conflicting return type specified for `virtual XMLSSize_t
xalanc_1_10::XalanLocator::getLineNumber() const'
/home/mrosen/xerces-c-3.0.1-x86_64-linux-gcc-3.4/include/xercesc/sax/Locator.hpp:102:
error:   overriding `virtual XMLFileLoc
xercesc_3_0::Locator::getLineNumber() const'
/tp64/xalan/c1_10_0_ICU/include/xalanc/PlatformSupport/XalanLocator.hpp:65:
error: conflicting return type specified for `virtual XMLSSize_t
xalanc_1_10::XalanLocator::getColumnNumber() const'
/home/mrosen/xerces-c-3.0.1-x86_64-linux-gcc-3.4/include/xercesc/sax/Locator.hpp:112:
error:   overriding `virtual XMLFileLoc
xercesc_3_0::Locator::getColumnNumber() const'



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 official release, but I believe that David is very busy at the 
> moment.
> 
> 
> ----- Original Message ----- 
> From: "SixDegrees" <pa...@comcast.net>
> To: <xa...@xml.apache.org>
> Sent: Saturday, March 21, 2009 17:06
> Subject: XML/Xerces/Xalan
> 
> 
>>
>> We have a project using Xerces-C v3.01. We would like to add support for
>> XPath queries, and are considering either Xalan-C or XQuilla.
>>
>> Xalan-C seems to have been stuck at v1.10 since 2004, and the online
>> documentation claims it is compatible with Xerces-C v2.70, but nothing
>> higher.
>>
>> XQuilla seems to be less known, and we want something robust and stable. 
>> But
>> if Xalan won't work with Xerces 3, we may be forced to shift to something
>> else.
>>
>> Any thoughts on compatibility, ease of use or other issues we may run
>> into
>> when making this choice?
>>
>> -- 
>> View this message in context: 
>> http://www.nabble.com/XML-Xerces-Xalan-tp22637253p22637253.html
>> Sent from the Xalan - C - Users mailing list archive at Nabble.com.
>>
>> 
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/XML-Xerces-Xalan-tp22637253p23432153.html
Sent from the Xalan - C - Users mailing list archive at Nabble.com.


Re: XML/Xerces/Xalan

Posted by David Bertoni <db...@apache.org>.
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 official release, but I believe that David is very 
> busy at the moment.
Yes, the Subversion trunk is quite stable, but I am swamped with my day 
job, so it's been difficult to get a release finished. I've started 
working on the documentation updates, but it will take a while to verify 
the builds and get the distributions together.

I would recommend using the subversion trunk with Xerces-C 3.x.

Dave

Re: XML/Xerces/Xalan

Posted by Hans Smit <jc...@xs4all.nl>.
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 official release, but I believe that David is very busy at the 
moment.


----- Original Message ----- 
From: "SixDegrees" <pa...@comcast.net>
To: <xa...@xml.apache.org>
Sent: Saturday, March 21, 2009 17:06
Subject: XML/Xerces/Xalan


>
> We have a project using Xerces-C v3.01. We would like to add support for
> XPath queries, and are considering either Xalan-C or XQuilla.
>
> Xalan-C seems to have been stuck at v1.10 since 2004, and the online
> documentation claims it is compatible with Xerces-C v2.70, but nothing
> higher.
>
> XQuilla seems to be less known, and we want something robust and stable. 
> But
> if Xalan won't work with Xerces 3, we may be forced to shift to something
> else.
>
> Any thoughts on compatibility, ease of use or other issues we may run into
> when making this choice?
>
> -- 
> View this message in context: 
> http://www.nabble.com/XML-Xerces-Xalan-tp22637253p22637253.html
> Sent from the Xalan - C - Users mailing list archive at Nabble.com.
>
>