Hi Dave,
Sorry for the delay. We've been doing some integration testing that has
taken up all of my time. Here is how I bild Xalan, and all of the compiler
warnings/errors VisualAge is generating (coming from the
xml-xalan_20010530104248.tar.gz build.) I appologize for the ugly format
of this message. This may go into more detail than most people are
interested in, but it may be of use for others using this compiler/platform
combination.
The steps I've taken up to this point:
cd xml-xalan/c/src/
cp Include/HPUXDefinitions.hpp Include/AIXDefinitions.hpp {Delete the
#defines for XALAN_OLD_STREAM_HEADERS, XALAN_RTTI_AVAILABLE, and
XALAN_NO_NAMESPACES}
chmod 755 *onfig*
./runConfigure -p aix -c xlc -x xlC -d -r pthread
setenv STLPORTROOT /dev/null
gmake
The warnings/errors output by the compiler (I've only given the first
instance of warnings for each hpp file.):
xlC -g -DAIX -D_THREAD_SAFE -I/dev/null/stlport -c -I.
-I/home/opensrc/source/xml-xerces/c/src/
-I/home/opensrc/source/xml-xerces/c/include/ -o
/home/opensrc/source/xml-xalan/c/obj/DOMSupportDefault.o
DOMSupport/DOMSupportDefault.cpp
"./PlatformSupport/ArenaAllocator.hpp", line 240.17: 1540-0152 (W) A
template dependent name that is a type must be qualified with "typename".
xlC -g -DAIX -D_THREAD_SAFE -I/dev/null/stlport -c -I.
-I/home/opensrc/source/xml-xerces/c/src/
-I/home/opensrc/source/xml-xerces/c/include/ -o
/home/opensrc/source/xml-xalan/c/obj/AttributeListImpl.o
PlatformSupport/AttributeListImpl.cpp
"./Include/STLHelper.hpp", line 85.17: 1540-0152 (W) A template dependent
name that is a type must be qualified with "typename".
"./Include/STLHelper.hpp", line 200.17: 1540-0152 (W) A template dependent
name that is a type must be qualified with "typename".
"./Include/STLHelper.hpp", line 240.17: 1540-0152 (W) A template dependent
name that is a type must be qualified with "typename".
"./Include/STLHelper.hpp", line 289.17: 1540-0152 (W) A template dependent
name that is a type must be qualified with "typename".
xlC -g -DAIX -D_THREAD_SAFE -I/dev/null/stlport -c -I.
-I/home/opensrc/source/xml-xerces/c/src/
-I/home/opensrc/source/xml-xerces/c/include/ -o
/home/opensrc/source/xml-xalan/c/obj/XalanDOMStringPool.o
PlatformSupport/XalanDOMStringPool.cpp
"./PlatformSupport/ArenaAllocator.hpp", line 240.17: 1540-0152 (W) A
template dependent name that is a type must be qualified with "typename".
"./PlatformSupport/ArenaBlock.hpp", line 131.27: 1540-0064 (S) Syntax
error: "ObjectType::~XalanDOMString" was expected but "ObjectType::
~ObjectType" was found.
"./PlatformSupport/ArenaBlock.hpp", line 129.9: 1540-0700 (I) The previous
message was produced while processing
"ArenaBlockDestroy<XalanDOMString>::operator()(XalanDOMString &) const".
"./PlatformSupport/ArenaBlock.hpp", line 404.50: 1540-0700 (I) The previous
message was produced while processing
"ArenaBlock<XalanDOMString>::DeleteFunctor::operator()(XalanDOMString &)
const".
"/usr/vacpp/include/algorithm", line 48.20: 1540-0700 (I) The previous
message was produced while processing "std::for_each<XalanDOMString
*,ArenaBlock<XalanDOMString>::DeleteFunctor>(XalanDOMString *,
XalanDOMString *, DeleteFunctor)".
"./PlatformSupport/ArenaBlock.hpp", line 332.17: 1540-0700 (I) The previous
message was produced while processing
"ArenaBlock<XalanDOMString>::destroyAll()".
"./PlatformSupport/ArenaBlock.hpp", line 173.17: 1540-0700 (I) The previous
message was produced while processing "ArenaBlock<XalanDOMString>::
~ArenaBlock()".
"./PlatformSupport/ArenaBlock.hpp", line 138.7: 1540-0700 (I) The previous
message was produced while processing "class ArenaBlock<XalanDOMString>".
gmake: *** [/home/opensrc/source/xml-xalan/c/obj/XalanDOMStringPool.o]
Error 1
Obviously, the error being reported on line 131 of
PlatformSupport/ArenaBlock.hpp is bogus, but I have found if I delete out
ObjectType:: it will just start working. I'm not sure why the compiler is
substituting the destructor name properly, but no the class name. Anyway,
after editing the ArenaBlock.hpp file and typing gmake again, the
additional warnings become:
xlC -g -DAIX -D_THREAD_SAFE -I/dev/null/stlport -c -I.
-I/home/opensrc/source/xml-xerces/c/src/
-I/home/opensrc/source/xml-xerces/c/include/ -o
/home/opensrc/source/xml-xalan/c/obj/FormatterToHTML.o
XMLSupport/FormatterToHTML.cpp
"./Include/XalanArrayKeyMap.hpp", line 78.17: 1540-0152 (W) A template
dependent name that is a type must be qualified with "typename".
"./Include/XalanArrayKeyMap.hpp", line 79.17: 1540-0152 (W) A template
dependent name that is a type must be qualified with "typename".
"./Include/XalanArrayKeyMap.hpp", line 80.17: 1540-0152 (W) A template
dependent name that is a type must be qualified with "typename".
"./Include/XalanArrayKeyMap.hpp", line 104.17: 1540-0152 (W) A template
dependent name that is a type must be qualified with "typename".
"./Include/XalanArrayKeyMap.hpp", line 105.17: 1540-0152 (W) A template
dependent name that is a type must be qualified with "typename".
"./Include/XalanArrayKeyMap.hpp", line 106.17: 1540-0152 (W) A template
dependent name that is a type must be qualified with "typename".
xlC -g -DAIX -D_THREAD_SAFE -I/dev/null/stlport -c -I.
-I/home/opensrc/source/xml-xerces/c/src/
-I/home/opensrc/source/xml-xerces/c/include/ -o
/home/opensrc/source/xml-xalan/c/obj/XNodeSetAllocator.o
XPath/XNodeSetAllocator.cpp
"./PlatformSupport/ArenaAllocator.hpp", line 240.17: 1540-0152 (W) A
template dependent name that is a type must be qualified with "typename".
"./PlatformSupport/ReusableArenaAllocator.hpp", line 90.17: 1540-0152 (W) A
template dependent name that is a type must be qualified with "typename".
xlC -g -DAIX -D_THREAD_SAFE -I/dev/null/stlport -c -I.
-I/home/opensrc/source/xml-xerces/c/src/
-I/home/opensrc/source/xml-xerces/c/include/ -o
/home/opensrc/source/xml-xalan/c/obj/XPathEvaluator.o
XPath/XPathEvaluator.cpp
"./PlatformSupport/ArenaAllocator.hpp", line 240.17: 1540-0152 (W) A
template dependent name that is a type must be qualified with "typename".
"./PlatformSupport/ReusableArenaAllocator.hpp", line 90.17: 1540-0152 (W) A
template dependent name that is a type must be qualified with "typename".
"./Include/STLHelper.hpp", line 85.17: 1540-0152 (W) A template dependent
name that is a type must be qualified with "typename".
"./Include/STLHelper.hpp", line 200.17: 1540-0152 (W) A template dependent
name that is a type must be qualified with "typename".
"./Include/STLHelper.hpp", line 240.17: 1540-0152 (W) A template dependent
name that is a type must be qualified with "typename".
"./Include/STLHelper.hpp", line 289.17: 1540-0152 (W) A template dependent
name that is a type must be qualified with "typename".
"./Include/XalanObjectCache.hpp", line 279.17: 1540-0152 (W) A template
dependent name that is a type must be qualified with "typename".
xlC -g -DAIX -D_THREAD_SAFE -I/dev/null/stlport -c -I.
-I/home/opensrc/source/xml-xerces/c/src/
-I/home/opensrc/source/xml-xerces/c/include/ -o
/home/opensrc/source/xml-xalan/c/obj/XalanCAPI.o
XalanTransformer/XalanCAPI.cpp
"./PlatformSupport/ArenaAllocator.hpp", line 240.17: 1540-0152 (W) A
template dependent name that is a type must be qualified with "typename".
"./Include/STLHelper.hpp", line 85.17: 1540-0152 (W) A template dependent
name that is a type must be qualified with "typename".
"./Include/STLHelper.hpp", line 200.17: 1540-0152 (W) A template dependent
name that is a type must be qualified with "typename".
"./Include/STLHelper.hpp", line 240.17: 1540-0152 (W) A template dependent
name that is a type must be qualified with "typename".
"./Include/STLHelper.hpp", line 289.17: 1540-0152 (W) A template dependent
name that is a type must be qualified with "typename".
"./Include/XalanObjectCache.hpp", line 279.17: 1540-0152 (W) A template
dependent name that is a type must be qualified with "typename".
"/home/opensrc/source/xml-xerces/c/src/sax/InputSource.hpp", line 305.5:
1540-0300 (S) The "private" member "InputSource::InputSource(const
InputSource &)" cannot be accessed.
"./XSLT/XSLTInputSource.hpp", line 92.25: 1540-0719 (I) The previous
message was produced while processing the implicit member function
"XSLTInputSource::XSLTInputSource(const XSLTInputSource &)".
"XalanTransformer/XalanCAPI.cpp", line 321.77: 1540-0700 (I) The previous
message was produced while processing "XalanParseSourceUseXerceDOM(const
char *, XalanHandle)".
So now the next step is to edit XSLTInputSource.hpp and declare an
XSLTInputSource::XSLTInputSource(const XSLTInputSource &) as private and
place an empty body in the XSLTInputSource.cpp. I'm not sure what the
mismatch is, but I'm using xml-xerces_20010530110141.tar.gz.
XSLTInputSource inherits from InputSource, a Xerces object. The Xerces
object has a copy constructor declared private (not implemented.) Since
XSLTInputSource does not define a copy constructor, the compiler is
auto-generating the method. This method attempts to use the copy
constructor marked private. So in XSLTInputSource, I've added
XSLTInputSource(const XSLTInputSource&); in the private section of the
class declaration, and the following at the end of the cpp file:
XSLTInputSource::XSLTInputSource(const XSLTInputSource&)
{
}
This causes some additional compiler warnings, but the build continues.
>From the looks of some of the warnings, the C api and the XalanTransformer
in Xalan are probably broken after using my build method. However, in my
own code I do not use these two modules:
xlC -g -DAIX -D_THREAD_SAFE -I/dev/null/stlport -c -I.
-I/home/opensrc/source/xml-xerces/c/src/
-I/home/opensrc/source/xml-xerces/c/include/ -o
/home/opensrc/source/xml-xalan/c/obj/XalanCAPI.o
XalanTransformer/XalanCAPI.cpp
"./PlatformSupport/ArenaAllocator.hpp", line 240.17: 1540-0152 (W) A
template dependent name that is a type must be qualified with "typename".
"./Include/STLHelper.hpp", line 85.17: 1540-0152 (W) A template dependent
name that is a type must be qualified with "typename".
"./Include/STLHelper.hpp", line 200.17: 1540-0152 (W) A template dependent
name that is a type must be qualified with "typename".
"./Include/STLHelper.hpp", line 240.17: 1540-0152 (W) A template dependent
name that is a type must be qualified with "typename".
"./Include/STLHelper.hpp", line 289.17: 1540-0152 (W) A template dependent
name that is a type must be qualified with "typename".
"./Include/XalanObjectCache.hpp", line 279.17: 1540-0152 (W) A template
dependent name that is a type must be qualified with "typename".
"XalanTransformer/XalanCAPI.cpp", line 133.75: 1540-0306 (W) The "private"
copy constructor "XSLTInputSource(const XSLTInputSource &)" cannot be
accessed.
"XalanTransformer/XalanCAPI.cpp", line 133.75: 1540-0308 (I) The semantics
specify that a temporary object must be constructed.
"XalanTransformer/XalanCAPI.cpp", line 133.75: 1540-0309 (I) The temporary
is not constructed, but the copy constructor must be accessible.
"XalanTransformer/XalanCAPI.cpp", line 142.75: 1540-0306 (W) The "private"
copy constructor "XSLTInputSource(const XSLTInputSource &)" cannot be
accessed.
"XalanTransformer/XalanCAPI.cpp", line 142.75: 1540-0308 (I) The semantics
specify that a temporary object must be constructed.
"XalanTransformer/XalanCAPI.cpp", line 142.75: 1540-0309 (I) The temporary
is not constructed, but the copy constructor must be accessible.
"XalanTransformer/XalanCAPI.cpp", line 142.91: 1540-0306 (W) The "private"
copy constructor "XSLTInputSource(const XSLTInputSource &)" cannot be
accessed.
"XalanTransformer/XalanCAPI.cpp", line 142.91: 1540-0308 (I) The semantics
specify that a temporary object must be constructed.
"XalanTransformer/XalanCAPI.cpp", line 142.91: 1540-0309 (I) The temporary
is not constructed, but the copy constructor must be accessible.
"XalanTransformer/XalanCAPI.cpp", line 160.75: 1540-0306 (W) The "private"
copy constructor "XSLTInputSource(const XSLTInputSource &)" cannot be
accessed.
"XalanTransformer/XalanCAPI.cpp", line 160.75: 1540-0308 (I) The semantics
specify that a temporary object must be constructed.
"XalanTransformer/XalanCAPI.cpp", line 160.75: 1540-0309 (I) The temporary
is not constructed, but the copy constructor must be accessible.
"XalanTransformer/XalanCAPI.cpp", line 186.84: 1540-0306 (W) The "private"
copy constructor "XSLTInputSource(const XSLTInputSource &)" cannot be
accessed.
"XalanTransformer/XalanCAPI.cpp", line 186.84: 1540-0308 (I) The semantics
specify that a temporary object must be constructed.
"XalanTransformer/XalanCAPI.cpp", line 186.84: 1540-0309 (I) The temporary
is not constructed, but the copy constructor must be accessible.
"XalanTransformer/XalanCAPI.cpp", line 194.84: 1540-0306 (W) The "private"
copy constructor "XSLTInputSource(const XSLTInputSource &)" cannot be
accessed.
"XalanTransformer/XalanCAPI.cpp", line 194.84: 1540-0308 (I) The semantics
specify that a temporary object must be constructed.
"XalanTransformer/XalanCAPI.cpp", line 194.84: 1540-0309 (I) The temporary
is not constructed, but the copy constructor must be accessible.
"XalanTransformer/XalanCAPI.cpp", line 194.100: 1540-0306 (W) The "private"
copy constructor "XSLTInputSource(const XSLTInputSource &)" cannot be
accessed.
"XalanTransformer/XalanCAPI.cpp", line 194.100: 1540-0308 (I) The semantics
specify that a temporary object must be constructed.
"XalanTransformer/XalanCAPI.cpp", line 194.100: 1540-0309 (I) The temporary
is not constructed, but the copy constructor must be accessible.
"XalanTransformer/XalanCAPI.cpp", line 226.76: 1540-0306 (W) The "private"
copy constructor "XSLTInputSource(const XSLTInputSource &)" cannot be
accessed.
"XalanTransformer/XalanCAPI.cpp", line 226.76: 1540-0308 (I) The semantics
specify that a temporary object must be constructed.
"XalanTransformer/XalanCAPI.cpp", line 226.76: 1540-0309 (I) The temporary
is not constructed, but the copy constructor must be accessible.
"XalanTransformer/XalanCAPI.cpp", line 260.75: 1540-0306 (W) The "private"
copy constructor "XSLTInputSource(const XSLTInputSource &)" cannot be
accessed.
"XalanTransformer/XalanCAPI.cpp", line 260.75: 1540-0308 (I) The semantics
specify that a temporary object must be constructed.
"XalanTransformer/XalanCAPI.cpp", line 260.75: 1540-0309 (I) The temporary
is not constructed, but the copy constructor must be accessible.
"XalanTransformer/XalanCAPI.cpp", line 260.91: 1540-0306 (W) The "private"
copy constructor "XSLTInputSource(const XSLTInputSource &)" cannot be
accessed.
"XalanTransformer/XalanCAPI.cpp", line 260.91: 1540-0308 (I) The semantics
specify that a temporary object must be constructed.
"XalanTransformer/XalanCAPI.cpp", line 260.91: 1540-0309 (I) The temporary
is not constructed, but the copy constructor must be accessible.
"XalanTransformer/XalanCAPI.cpp", line 279.75: 1540-0306 (W) The "private"
copy constructor "XSLTInputSource(const XSLTInputSource &)" cannot be
accessed.
"XalanTransformer/XalanCAPI.cpp", line 279.75: 1540-0308 (I) The semantics
specify that a temporary object must be constructed.
"XalanTransformer/XalanCAPI.cpp", line 279.75: 1540-0309 (I) The temporary
is not constructed, but the copy constructor must be accessible.
"XalanTransformer/XalanCAPI.cpp", line 293.83: 1540-0306 (W) The "private"
copy constructor "XSLTInputSource(const XSLTInputSource &)" cannot be
accessed.
"XalanTransformer/XalanCAPI.cpp", line 293.83: 1540-0308 (I) The semantics
specify that a temporary object must be constructed.
"XalanTransformer/XalanCAPI.cpp", line 293.83: 1540-0309 (I) The temporary
is not constructed, but the copy constructor must be accessible.
"XalanTransformer/XalanCAPI.cpp", line 307.77: 1540-0306 (W) The "private"
copy constructor "XSLTInputSource(const XSLTInputSource &)" cannot be
accessed.
"XalanTransformer/XalanCAPI.cpp", line 307.77: 1540-0308 (I) The semantics
specify that a temporary object must be constructed.
"XalanTransformer/XalanCAPI.cpp", line 307.77: 1540-0309 (I) The temporary
is not constructed, but the copy constructor must be accessible.
"XalanTransformer/XalanCAPI.cpp", line 321.77: 1540-0306 (W) The "private"
copy constructor "XSLTInputSource(const XSLTInputSource &)" cannot be
accessed.
"XalanTransformer/XalanCAPI.cpp", line 321.77: 1540-0308 (I) The semantics
specify that a temporary object must be constructed.
"XalanTransformer/XalanCAPI.cpp", line 321.77: 1540-0309 (I) The temporary
is not constructed, but the copy constructor must be accessible.
xlC -g -DAIX -D_THREAD_SAFE -I/dev/null/stlport -c -I.
-I/home/opensrc/source/xml-xerces/c/src/
-I/home/opensrc/source/xml-xerces/c/include/ -o
/home/opensrc/source/xml-xalan/c/obj/XalanTransformer.o
XalanTransformer/XalanTransformer.cpp
"./PlatformSupport/ArenaAllocator.hpp", line 240.17: 1540-0152 (W) A
template dependent name that is a type must be qualified with "typename".
"./Include/STLHelper.hpp", line 85.17: 1540-0152 (W) A template dependent
name that is a type must be qualified with "typename".
"./Include/STLHelper.hpp", line 200.17: 1540-0152 (W) A template dependent
name that is a type must be qualified with "typename".
"./Include/STLHelper.hpp", line 240.17: 1540-0152 (W) A template dependent
name that is a type must be qualified with "typename".
"./Include/STLHelper.hpp", line 289.17: 1540-0152 (W) A template dependent
name that is a type must be qualified with "typename".
"./Include/XalanObjectCache.hpp", line 279.17: 1540-0152 (W) A template
dependent name that is a type must be qualified with "typename".
"./PlatformSupport/ReusableArenaAllocator.hpp", line 90.17: 1540-0152 (W) A
template dependent name that is a type must be qualified with "typename".
"XalanTransformer/XalanTransformer.cpp", line 260.65: 1540-0306 (W) The
"private" copy constructor "XSLTInputSource(const XSLTInputSource &)"
cannot be accessed.
"XalanTransformer/XalanTransformer.cpp", line 260.65: 1540-0308 (I) The
semantics specify that a temporary object must be constructed.
"XalanTransformer/XalanTransformer.cpp", line 260.65: 1540-0309 (I) The
temporary is not constructed, but the copy constructor must be accessible.
"XalanTransformer/XalanTransformer.cpp", line 416.65: 1540-0306 (W) The
"private" copy constructor "XSLTInputSource(const XSLTInputSource &)"
cannot be accessed.
"XalanTransformer/XalanTransformer.cpp", line 416.65: 1540-0308 (I) The
semantics specify that a temporary object must be constructed.
"XalanTransformer/XalanTransformer.cpp", line 416.65: 1540-0309 (I) The
temporary is not constructed, but the copy constructor must be accessible.
"XalanTransformer/XalanTransformer.cpp", line 537.41: 1540-0306 (W) The
"private" copy constructor "XSLTInputSource(const XSLTInputSource &)"
cannot be accessed.
"XalanTransformer/XalanTransformer.cpp", line 537.41: 1540-0308 (I) The
semantics specify that a temporary object must be constructed.
"XalanTransformer/XalanTransformer.cpp", line 537.41: 1540-0309 (I) The
temporary is not constructed, but the copy constructor must be accessible.
"XalanTransformer/XalanTransformer.cpp", line 608.41: 1540-0306 (W) The
"private" copy constructor "XSLTInputSource(const XSLTInputSource &)"
cannot be accessed.
"XalanTransformer/XalanTransformer.cpp", line 608.41: 1540-0308 (I) The
semantics specify that a temporary object must be constructed.
"XalanTransformer/XalanTransformer.cpp", line 608.41: 1540-0309 (I) The
temporary is not constructed, but the copy constructor must be accessible.
xlC -g -DAIX -D_THREAD_SAFE -I/dev/null/stlport -c -I.
-I/home/opensrc/source/xml-xerces/c/src/
-I/home/opensrc/source/xml-xerces/c/include/ -o
/home/opensrc/source/xml-xalan/c/obj/TestXPath.o TestXPath/TestXPath.cpp
"./PlatformSupport/DirectoryEnumerator.hpp", line 340.17: 1540-0152 (W) A
template dependent name that is a type must be qualified with "typename".
"./PlatformSupport/ArenaAllocator.hpp", line 240.17: 1540-0152 (W) A
template dependent name that is a type must be qualified with "typename".
"./PlatformSupport/ReusableArenaAllocator.hpp", line 90.17: 1540-0152 (W) A
template dependent name that is a type must be qualified with "typename".
"./Include/STLHelper.hpp", line 85.17: 1540-0152 (W) A template dependent
name that is a type must be qualified with "typename".
"./Include/STLHelper.hpp", line 200.17: 1540-0152 (W) A template dependent
name that is a type must be qualified with "typename".
"./Include/STLHelper.hpp", line 240.17: 1540-0152 (W) A template dependent
name that is a type must be qualified with "typename".
"./Include/STLHelper.hpp", line 289.17: 1540-0152 (W) A template dependent
name that is a type must be qualified with "typename".
"./Include/XalanObjectCache.hpp", line 279.17: 1540-0152 (W) A template
dependent name that is a type must be qualified with "typename".
At this stage, the build completes succesfully. There are of course tons
of duplicate symbol warnings that the compiler spits out because of
"stupid" changes to the compiler. We've been ignoring them using the -bh:5
option in our own code.
Because we often include these headers in our own programs, I've been
editing the hpp files and putting the typename in (as listed below) just to
remove the compiler warnings.
Thanks,
Anthony
David_N_Bertoni
@lotus.com To: [EMAIL PROTECTED]
cc:
05/24/2001 Subject: Re: Unknown op code: -1
09:03 PM
Please respond
to xalan-dev
If you could post the "warning" the VisualAge compiler gives for these
situations, I would be very interested. I think the is wrong about the
need for the typename keyword in these places. We build on a several
platforms that have very strict compilers, and none of those compilers give
an warnings or errors.
Dave
"Anthony
Zawacki" To: [EMAIL PROTECTED]
<[EMAIL PROTECTED] cc: (bcc: David N
Bertoni/CAM/Lotus)
m.com> Subject: Re: Unknown op code:
-1
05/24/2001
08:39 AM
Please
respond to
xalan-dev
Hi All,
As I noted below, I downloaded the 23 May 2001 version of Xalan, and have
compiled it on AIX 4.3.3 with Visual Age C++ 5.0 compiler. The good news
is that this seems to have fixed this problem. The XPath expression
referencing an attribute now works just fine. I didn't retest the previous
problem (with xsl:copy-of "@*" appending things to the element node other
than attributes.) I'll probably do this later.
As a note, there are several places where I modified the include files to
remove compiler warnings related to typedefs that require the typename
keyword. It looks like these places fell through the cracks as they are
inside #ifdef guards. Other typedefs below, just outside the #ifdef guards
do have the typename keyword already. (Also note that the line numbers
listed below are the lines inside the guard that effects me, but both
should require the typename keyword.)
File Name Line Numbers
PlatformSupport/ArenaAllocator.hpp 240
Include/STLHelper.hpp 85, 200, 240, 289
Include/XalanArrayKeyMap.hpp 78, 79, 80, 104, 105, 106
PlatformSupport/ReusableArenaAllocator.hpp 90
Include/XalanObjectCache.hpp 279
PlatformSupport/DirectoryEnumerator.hpp 340
"Anthony
Zawacki" To: [EMAIL PROTECTED]
<[EMAIL PROTECTED] cc:
.com> Subject: Re: Unknown op code:
-1
05/23/2001
11:24 AM
Please respond
to xalan-dev
Hi Dave,
I'm using AIX 4.3.3.
Actually, due to this problem that I am having, I downloaded the tarball
from xml.apache.org (dated 23 May 2001) and am currently compiling it. I'm
hoping that it may address my problems since the source code base I am
using currently is based on the 1.1 released code from Febuary.
I'll report the status again once I am able to retest my environment.
Thanks,
Anthony
David_N_Bertoni
@lotus.com To: [EMAIL PROTECTED]
cc:
05/23/2001 Subject: Re: Unknown op code:
-1
12:15 AM
Please respond
to xalan-dev
> In my normal style, I am compiling stylesheets at start time, and then
> applying them to messages that I receive as I process.
>
> I compiled the following stylesheet with no errors:
> <?xml version="1.0"?>
> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version
> ="1.0">
> <xsl:template match="msg">
> <result>
> <xsl:attribute name="value">
> <xsl:value-of select="/msg/ee/@r='e'" />
> </xsl:attribute>
> </result>
> </xsl:template>
> </xsl:stylesheet>
>
> But when I actually apply it to a message
> <msg><ee r='d' /></msg>
> Instead of getting the expected output of:
> <result value="false"/>
>
> I'm getting (my internal error message):
> The XSLPROCESSOR encountered a ERROR while processing an XSL tree. The
> message given in the problem report is 'ERROR! Unknown op code: -1.'
I ran this against the Win32 release version of testXSLT and the HP-UX
version and got the following:
<?xml version="1.0" encoding="UTF-8"?>
<result value="false"/>
> Now, there is also an assert that is failing with the following message:
> The assert subroutine failed: expr1.get() != 0, file XPath/XPath.cpp,
line
> 757
Clearly this should not be happening.
> Which makes some sense in that it is the const XObjectPtr XPath::equals(
> XalanNode* context, int opPos, XPathExecutionContext& executionContext)
> const routine.
> The main issue is that I don't understand why this assert would fail. Or
> how did I get an opcode of -1 someplace.
I have no idea what's going on here. What platform are you using?
Dave