keiron      01/11/11 23:35:17

  Modified:    src/org/apache/fop/apps Starter.java
  Log:
  clarified error message
  
  Revision  Changes    Path
  1.7       +4 -3      xml-fop/src/org/apache/fop/apps/Starter.java
  
  Index: Starter.java
  ===================================================================
  RCS file: /home/cvs/xml-fop/src/org/apache/fop/apps/Starter.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- Starter.java      2001/08/21 06:18:54     1.6
  +++ Starter.java      2001/11/12 07:35:17     1.7
  @@ -1,5 +1,5 @@
   /*
  - * $Id: Starter.java,v 1.6 2001/08/21 06:18:54 keiron Exp $
  + * $Id: Starter.java,v 1.7 2001/11/12 07:35:17 keiron Exp $
    * Copyright (C) 2001 The Apache Software Foundation. All rights reserved.
    * For details on use and redistribution please refer to the
    * LICENSE file included with these sources.
  @@ -48,8 +48,9 @@
               parser.setFeature("http://xml.org/sax/features/namespace-prefixes";,
                                 true);
           } catch (SAXException e) {
  -            throw new FOPException("Error in setting up parser feature 
namespace-prefixes\n"
  -                                   + "You need a parser which supports SAX version 
2", e);
  +            throw new FOPException("Error: You need a parser which allows the"
  +                   + " http://xml.org/sax/features/namespace-prefixes";
  +                   + " feature to be set to true to support namespaces", e);
           }
       }
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to