OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: XSLT processor

[ Lists Home | Date Index | Thread Index ]
  • From: Matt Sergeant <matt@sergeant.org>
  • To: Petr Cimprich <petr@gingerall.cz>
  • Date: Thu, 4 May 2000 14:53:13 +0100 (BST)

On Thu, 4 May 2000, Petr Cimprich wrote:

> Hi
> 
> We have released a new open source XSLT processor written in C++ with the C and Perl API. This is a part of wider OS project, which claims to create a generic XML data distribution system.
> 
> May be it could be an interesting news for some folks. Details are available on www.gingerall.com.

It's awsome news for AxKit! However gcc 2.95.2 is strict about
casts. Patch:

*** Sablot/expr.cpp	Thu May  4 14:46:23 2000
--- Sablot/expr.cpp.old	Thu May  4 14:47:11 2000
***************
*** 1243,1249 ****
          return *patomstring;
          break;
      case EX_BOOLEAN:
!         return (atombool ? (char *)"true" : (char *)"false");
          break;
      case EX_NODESET:
          if (!patomnodeset -> number())
--- 1243,1249 ----
          return *patomstring;
          break;
      case EX_BOOLEAN:
!         return (atombool ? "true" : "false");
          break;
      case EX_NODESET:
          if (!patomnodeset -> number())

*** Sablot/proc.cpp	Thu May  4 14:47:33 2000
--- Sablot/proc.cpp.old	Thu May  4 14:48:01 2000
***************
*** 728,734 ****
      */
      Vertex *newv;
      t -> pendingNS.append(newv = new NmSpace(
!         prefix? (char *) prefix : (char*)"",
          (char*) uri));
      newv -> lineno = XML_GetCurrentLineNumber((XML_Parser*) parser);
  }
--- 728,734 ----
      */
      Vertex *newv;
      t -> pendingNS.append(newv = new NmSpace(
!         prefix? (char *) prefix : "",
          (char*) uri));
      newv -> lineno = XML_GetCurrentLineNumber((XML_Parser*) parser);
  }

*** Sablot/sabcmd/sabcmd.c	Thu May  4 14:50:28 2000
--- Sablot/sabcmd/sabcmd.c.old	Thu May  4 14:49:07 2000
***************
*** 90,97 ****
      paramsToPass[2 * paramsI] = NULL;
  
      if (SablotProcess(argv[1],
! 	    firstEq <= 2 ? (char*)"file://stdin" : argv[2],
! 		firstEq <= 3 ? (char*)"file://stdout" : argv[3],
  		paramsToPass, argsToPass, &resultArg))
          return(1);
      if (resultArg)
--- 90,97 ----
      paramsToPass[2 * paramsI] = NULL;
  
      if (SablotProcess(argv[1],
! 	    firstEq <= 2 ? "file://stdin" : argv[2],
! 		firstEq <= 3 ? "file://stdout" : argv[3],
  		paramsToPass, argsToPass, &resultArg))
          return(1);
      if (resultArg)



-- 
<Matt/>

Fastnet Software Ltd. High Performance Web Specialists
Providing mod_perl, XML, Sybase and Oracle solutions
Email for training and consultancy availability.
http://sergeant.org http://xml.sergeant.org


***************************************************************************
This is xml-dev, the mailing list for XML developers.
To unsubscribe, mailto:majordomo@xml.org&BODY=unsubscribe%20xml-dev
List archives are available at http://xml.org/archives/xml-dev/
***************************************************************************




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS