Uploaded image for project: 'XalanJ2'
  1. XalanJ2
  2. XALANJ-993

Cannot build current CVS

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Resolution: Fixed
    • 2.7.1
    • None
    • XPath
    • None
    • Operating System: Linux
      Platform: All
    • 8803

    Description

      Current CVS as of today doesn't build with Java 1.4.0 on Linux, here's a trivial fix.

      Index: java/src/org/apache/xpath/compiler/XPathParser.java
      ===================================================================
      RCS file: /home/cvspublic/xml-xalan/java/src/org/apache/xpath/compiler/XPathParser.java,v
      retrieving revision 1.19
      diff -a -u -r1.19 XPathParser.java
      — java/src/org/apache/xpath/compiler/XPathParser.java 17 Apr 2002 13:13:45 -0000
      1.19
      +++ java/src/org/apache/xpath/compiler/XPathParser.java 4 May 2002 10:00:38 -0000
      @@ -535,7 +535,7 @@
      // Patch for Christina's gripe. She wants her errorHandler to return from
      // this error and continue trying to parse, rather than throwing an exception.
      // Without the patch, that put us into an endless loop.

      • throw new XPathProcessorException(CONTINUE_AFTER_FATAL_ERROR);;
        + throw new XPathProcessorException(CONTINUE_AFTER_FATAL_ERROR);
        }
        }

      @@ -564,7 +564,7 @@
      // Patch for Christina's gripe. She wants her errorHandler to return from
      // this error and continue trying to parse, rather than throwing an exception.
      // Without the patch, that put us into an endless loop.

      • throw new XPathProcessorException(CONTINUE_AFTER_FATAL_ERROR);;
        + throw new XPathProcessorException(CONTINUE_AFTER_FATAL_ERROR);
        }
        }

      Attachments

        Activity

          People

            Unassigned Unassigned
            ville.skytta@iki.fi Ville Skyttä
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: