auriemma    00/11/10 08:46:21

  Modified:    c/src/XSLT FunctionCurrent.cpp FunctionDocument.cpp
                        FunctionElementAvailable.cpp
                        FunctionFormatNumber.cpp
                        FunctionFunctionAvailable.cpp
                        FunctionGenerateID.cpp FunctionKey.cpp
                        FunctionSystemProperty.cpp
                        FunctionUnparsedEntityURI.cpp
  Log:
  Added cast  to unicode string.
  
  Revision  Changes    Path
  1.7       +3 -2      xml-xalan/c/src/XSLT/FunctionCurrent.cpp
  
  Index: FunctionCurrent.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/XSLT/FunctionCurrent.cpp,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- FunctionCurrent.cpp       2000/11/06 19:21:19     1.6
  +++ FunctionCurrent.cpp       2000/11/10 16:46:20     1.7
  @@ -2,7 +2,7 @@
    * The Apache Software License, Version 1.1
    *
    *
  - * Copyright (c) 1999 The Apache Software Foundation.  All rights 
  + * Copyright (c) 2000 The Apache Software Foundation.  All rights 
    * reserved.
    *
    * Redistribution and use in source and binary forms, with or without
  @@ -107,5 +107,6 @@
   const XalanDOMString
   FunctionCurrent::getError() const
   {
  -     return "The current() function does not take any arguments!";
  +     return XALAN_STATIC_UCODE_STRING(
  +             "The current() function does not take any arguments!");
   }
  
  
  
  1.18      +3 -2      xml-xalan/c/src/XSLT/FunctionDocument.cpp
  
  Index: FunctionDocument.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/XSLT/FunctionDocument.cpp,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- FunctionDocument.cpp      2000/11/06 19:21:16     1.17
  +++ FunctionDocument.cpp      2000/11/10 16:46:20     1.18
  @@ -2,7 +2,7 @@
    * The Apache Software License, Version 1.1
    *
    *
  - * Copyright (c) 1999 The Apache Software Foundation.  All rights 
  + * Copyright (c) 2000 The Apache Software Foundation.  All rights 
    * reserved.
    *
    * Redistribution and use in source and binary forms, with or without
  @@ -333,5 +333,6 @@
   const XalanDOMString
   FunctionDocument::getError() const
   {
  -     return "The document() function requires at least one argument!";
  +     return XALAN_STATIC_UCODE_STRING(
  +             "The document() function requires at least one argument!");
   }
  
  
  
  1.7       +3 -2      xml-xalan/c/src/XSLT/FunctionElementAvailable.cpp
  
  Index: FunctionElementAvailable.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/XSLT/FunctionElementAvailable.cpp,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- FunctionElementAvailable.cpp      2000/11/06 19:21:27     1.6
  +++ FunctionElementAvailable.cpp      2000/11/10 16:46:20     1.7
  @@ -2,7 +2,7 @@
    * The Apache Software License, Version 1.1
    *
    *
  - * Copyright (c) 1999 The Apache Software Foundation.  All rights 
  + * Copyright (c) 2000 The Apache Software Foundation.  All rights 
    * reserved.
    *
    * Redistribution and use in source and binary forms, with or without
  @@ -113,5 +113,6 @@
   const XalanDOMString
   FunctionElementAvailable::getError() const
   {
  -     return "The function-available() function takes one argument!";
  +     return XALAN_STATIC_UCODE_STRING(
  +             "The function-available() function takes one argument!");
   }
  
  
  
  1.7       +3 -2      xml-xalan/c/src/XSLT/FunctionFormatNumber.cpp
  
  Index: FunctionFormatNumber.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/XSLT/FunctionFormatNumber.cpp,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- FunctionFormatNumber.cpp  2000/11/06 19:21:30     1.6
  +++ FunctionFormatNumber.cpp  2000/11/10 16:46:20     1.7
  @@ -2,7 +2,7 @@
    * The Apache Software License, Version 1.1
    *
    *
  - * Copyright (c) 1999 The Apache Software Foundation.  All rights 
  + * Copyright (c) 2000 The Apache Software Foundation.  All rights 
    * reserved.
    *
    * Redistribution and use in source and binary forms, with or without
  @@ -199,5 +199,6 @@
   const XalanDOMString
   FunctionFormatNumber::getError() const
   {
  -     return "The format-number() function takes two or three arguments!";
  +     return XALAN_STATIC_UCODE_STRING(
  +             "The format-number() function takes two or three arguments!");
   }
  
  
  
  1.7       +3 -2      xml-xalan/c/src/XSLT/FunctionFunctionAvailable.cpp
  
  Index: FunctionFunctionAvailable.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/XSLT/FunctionFunctionAvailable.cpp,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- FunctionFunctionAvailable.cpp     2000/11/06 19:21:33     1.6
  +++ FunctionFunctionAvailable.cpp     2000/11/10 16:46:20     1.7
  @@ -2,7 +2,7 @@
    * The Apache Software License, Version 1.1
    *
    *
  - * Copyright (c) 1999 The Apache Software Foundation.  All rights 
  + * Copyright (c) 2000 The Apache Software Foundation.  All rights 
    * reserved.
    *
    * Redistribution and use in source and binary forms, with or without
  @@ -113,5 +113,6 @@
   const XalanDOMString
   FunctionFunctionAvailable::getError() const
   {
  -     return "The function-available() function takes one argument!";
  +     return XALAN_STATIC_UCODE_STRING(
  +             "The function-available() function takes one argument!");
   }
  
  
  
  1.6       +3 -2      xml-xalan/c/src/XSLT/FunctionGenerateID.cpp
  
  Index: FunctionGenerateID.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/XSLT/FunctionGenerateID.cpp,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- FunctionGenerateID.cpp    2000/11/06 19:21:36     1.5
  +++ FunctionGenerateID.cpp    2000/11/10 16:46:20     1.6
  @@ -2,7 +2,7 @@
    * The Apache Software License, Version 1.1
    *
    *
  - * Copyright (c) 1999 The Apache Software Foundation.  All rights 
  + * Copyright (c) 2000 The Apache Software Foundation.  All rights 
    * reserved.
    *
    * Redistribution and use in source and binary forms, with or without
  @@ -177,6 +177,7 @@
   const XalanDOMString
   FunctionGenerateID::getError() const
   {
  -     return "The generate-id function takes zero or one arguments!";
  +     return XALAN_STATIC_UCODE_STRING(
  +             "The generate-id function takes zero or one arguments!");
   }
   
  
  
  
  1.15      +3 -2      xml-xalan/c/src/XSLT/FunctionKey.cpp
  
  Index: FunctionKey.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/XSLT/FunctionKey.cpp,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- FunctionKey.cpp   2000/11/06 19:21:39     1.14
  +++ FunctionKey.cpp   2000/11/10 16:46:20     1.15
  @@ -2,7 +2,7 @@
    * The Apache Software License, Version 1.1
    *
    *
  - * Copyright (c) 1999 The Apache Software Foundation.  All rights 
  + * Copyright (c) 2000 The Apache Software Foundation.  All rights 
    * reserved.
    *
    * Redistribution and use in source and binary forms, with or without
  @@ -219,5 +219,6 @@
   const XalanDOMString
   FunctionKey::getError() const
   {
  -     return "The key() function takes two arguments!";
  +     return XALAN_STATIC_UCODE_STRING(
  +             "The key() function takes two arguments!");
   }
  
  
  
  1.13      +3 -2      xml-xalan/c/src/XSLT/FunctionSystemProperty.cpp
  
  Index: FunctionSystemProperty.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/XSLT/FunctionSystemProperty.cpp,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- FunctionSystemProperty.cpp        2000/11/06 19:21:42     1.12
  +++ FunctionSystemProperty.cpp        2000/11/10 16:46:20     1.13
  @@ -2,7 +2,7 @@
    * The Apache Software License, Version 1.1
    *
    *
  - * Copyright (c) 1999 The Apache Software Foundation.  All rights 
  + * Copyright (c) 2000 The Apache Software Foundation.  All rights 
    * reserved.
    *
    * Redistribution and use in source and binary forms, with or without
  @@ -171,5 +171,6 @@
   const XalanDOMString
   FunctionSystemProperty::getError() const
   {
  -     return "The system-property() function takes a single argument!";
  +     return XALAN_STATIC_UCODE_STRING(
  +             "The system-property() function takes a single argument!");
   }
  
  
  
  1.8       +3 -2      xml-xalan/c/src/XSLT/FunctionUnparsedEntityURI.cpp
  
  Index: FunctionUnparsedEntityURI.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/XSLT/FunctionUnparsedEntityURI.cpp,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- FunctionUnparsedEntityURI.cpp     2000/11/06 19:21:46     1.7
  +++ FunctionUnparsedEntityURI.cpp     2000/11/10 16:46:20     1.8
  @@ -2,7 +2,7 @@
    * The Apache Software License, Version 1.1
    *
    *
  - * Copyright (c) 1999 The Apache Software Foundation.  All rights 
  + * Copyright (c) 2000 The Apache Software Foundation.  All rights 
    * reserved.
    *
    * Redistribution and use in source and binary forms, with or without
  @@ -113,5 +113,6 @@
   const XalanDOMString
   FunctionUnparsedEntityURI::getError() const
   {
  -     return "The unparsed-entity-uri function should take one argument!";
  +     return XALAN_STATIC_UCODE_STRING(
  +             "The unparsed-entity-uri function should take one argument!");
   }
  
  
  

Reply via email to