You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@xerces.apache.org by Joe Gregorio <jo...@mts.com> on 2000/01/27 04:41:19 UTC
Re: Can't build from fresh checkout
Thanks! Now I can build. But now TestXSLT does not work.
For example the simple example under xml-xalan\samples\simple does not work.
======================================================================
C:\xml-xalan\samples\simple>ls
CVS foo.xml readme.txt
Makefile foo.xsl transform.java
C:\xml-xalan\samples\simple>c:\sw_dev\austin\TestXSLT -IN foo.xml -OUT foo.html
-XSL foo.xsl
========= Parsing foo.xsl ==========
Fatatal Error at (file , line 0, char 0):
XSL Warning: Error parsing foo.xsl
XSL Warning: processStylesheet not successful!
SAXException
C:\xml-xalan\samples\simple>c:\sw_dev\austin\TestXSLT -IN foo.xml -OUT foo.html
-XSL c:\xml-xalan\samples\simple\foo.xsl
========= Parsing file:///c:\xml-xalan\samples\simple\foo.xsl ==========
Parse of file:///c:\xml-xalan\samples\simple\foo.xsl took 610 millis
========= Parsing foo.xml ==========
Fatatal Error at (file , line 0, char 0):
XSL Error: Could not parse foo.xml document!
XSLException Type is : XSLTProcessorException
Message is : Could not parse foo.xml document!
C:\xml-xalan\samples\simple>
======================================================================
Note that the second time I ran it it got further. That is because
I added the full path to foo.xsl.
The problem is that when the name foo.xsl is passed to XMLURL there is
no context about where it comes from. Should TestXSLT be prepending
a file:// to all the names it is given and fully qualifying the file names
before they are passed to XMLURL?
Thanks,
-joe
David_N_Bertoni@lotus.com wrote:
>
> These changed have been committed and you should be able to build now.
> Please holler if you still have problems.
>
> Dave
>
> David_N_Bertoni@lotus.com on 01/26/2000 05:00:15 PM
>
> Please respond to xalan-dev@xml.apache.org
>
> To: xalan-dev@xml.apache.org
> cc: (bcc: David N Bertoni/CAM/Lotus)
>
> Subject: Re: Can't build from fresh checkout
>
> We're having trouble keeping up with the Xerces changes. I'm working on
> fixing this stuff right now. I'll send a message to the list when I'm
> finished and the changes are committed.
>
> Dave
>
> Joe Gregorio <jo...@mts.com> on 01/26/2000 03:53:25 PM
>
> Please respond to xalan-dev@xml.apache.org
>
> To: xalan-dev@xml.apache.org
> cc: (bcc: David N Bertoni/CAM/Lotus)
>
> Subject: Can't build from fresh checkout
>
> I just did a fresh checkout of
> xml-xerces and xml-xalan
>
> I am able to build Xerces-C just fine
> but I get the following errors when trying to
> build Xalan-C:
>
> ResultTreeFrag.cpp
> C:\DevStudio\VC98\INCLUDE\xmemory(39) : warning C4100: '_P' : unreferenced
> formal
> parameter
> C:\DevStudio\VC98\INCLUDE\xmemory(41) : warning C4100: '_P' : unreferenced
> formal
> parameter
> C:\DevStudio\VC98\INCLUDE\vector(249) : warning C4663: C++ language change:
> to explicitly
> specialize class template 'vector' use the following syntax:
> template<> class vector<bool,class std::allocator<unsigned int> >
> ...
> C:\xml-xalan\c\src\XPath\ResultTreeFrag.hpp(345) : error C2259:
> 'NodeListImplSurrogate' :
> cannot instantiate abstract class due to following members:
> ..\..\..\..\src\XPath/NodeListImplSurrogate.hpp(76) : see
> declaration of
> 'NodeListImplSurrogate'
> C:\xml-xalan\c\src\XPath\ResultTreeFrag.hpp(345) : warning C4259: 'class
> NodeImpl
> *__thiscall NodeListImpl::item(unsigned long)' : pure virtual function was
> not defined
> ..\..\..\..\..\..\xml-xerces\c\src\dom/NodeListImpl.hpp(100) : see
> declaration of
> 'item'
>
> This is after I manually add
> #include <util/XMLURL.hpp>
> to URLInputSource.hpp to get
> it to compile.
>
> Thanks,
> -joe
>
> -------------------------------------
> Joe Gregorio MTS System Corp
> Program Manager www.mts.com
-------------------------------------
Joe Gregorio MTS System Corp
Program Manager www.mts.com