You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commons-cvs@xml.apache.org by ed...@apache.org on 2001/11/15 20:46:10 UTC
cvs commit: xml-commons/java/external/src/org/xml/sax/helpers DefaultHandler.java
edwingo 01/11/15 11:46:10
Modified: java/external/src/org/xml/sax Tag: jaxp-ri-1_1_3-branch
SAXException.java SAXNotRecognizedException.java
SAXNotSupportedException.java
java/external/src/org/xml/sax/helpers Tag:
jaxp-ri-1_1_3-branch DefaultHandler.java
Log:
Fix SAX2r2pre signatures so that they match w/ JAXP 1.1 spec for J2EE
compatibility
Revision Changes Path
No revision
No revision
1.1.2.1 +10 -10 xml-commons/java/external/src/org/xml/sax/SAXException.java
Index: SAXException.java
===================================================================
RCS file: /home/cvs/xml-commons/java/external/src/org/xml/sax/SAXException.java,v
retrieving revision 1.1
retrieving revision 1.1.2.1
diff -u -r1.1 -r1.1.2.1
--- SAXException.java 2001/05/20 03:12:56 1.1
+++ SAXException.java 2001/11/15 19:46:10 1.1.2.1
@@ -1,6 +1,6 @@
// SAX exception class.
// No warranty; no copyright -- use this as you will.
-// $Id: SAXException.java,v 1.1 2001/05/20 03:12:56 curcuru Exp $
+// $Id: SAXException.java,v 1.1.2.1 2001/11/15 19:46:10 edwingo Exp $
package org.xml.sax;
@@ -29,20 +29,20 @@
* @since SAX 1.0
* @author David Megginson,
* <a href="mailto:sax@megginson.com">sax@megginson.com</a>
- * @version 2.0r2pre
+ * @version 2.0r2pre w/ JAXP 1.1 signatures
* @see org.xml.sax.SAXParseException
*/
public class SAXException extends Exception {
- /**
- * Create a new SAXException.
- */
- public SAXException ()
- {
- super();
- this.exception = null;
- }
+// /**
+// * Create a new SAXException.
+// */
+// public SAXException ()
+// {
+// super();
+// this.exception = null;
+// }
/**
1.1.2.1 +9 -9 xml-commons/java/external/src/org/xml/sax/SAXNotRecognizedException.java
Index: SAXNotRecognizedException.java
===================================================================
RCS file: /home/cvs/xml-commons/java/external/src/org/xml/sax/SAXNotRecognizedException.java,v
retrieving revision 1.1
retrieving revision 1.1.2.1
diff -u -r1.1 -r1.1.2.1
--- SAXNotRecognizedException.java 2001/05/20 03:12:56 1.1
+++ SAXNotRecognizedException.java 2001/11/15 19:46:10 1.1.2.1
@@ -2,7 +2,7 @@
// Written by David Megginson, sax@megginson.com
// NO WARRANTY! This class is in the Public Domain.
-// $Id: SAXNotRecognizedException.java,v 1.1 2001/05/20 03:12:56 curcuru Exp $
+// $Id: SAXNotRecognizedException.java,v 1.1.2.1 2001/11/15 19:46:10 edwingo Exp $
package org.xml.sax;
@@ -23,19 +23,19 @@
* @since SAX 2.0
* @author David Megginson,
* <a href="mailto:sax@megginson.com">sax@megginson.com</a>
- * @version 2.0r2pre
+ * @version 2.0r2pre w/ JAXP 1.1 signatures
* @see org.xml.sax.SAXNotSupportedException
*/
public class SAXNotRecognizedException extends SAXException
{
- /**
- * Default constructor.
- */
- public SAXNotRecognizedException ()
- {
- super();
- }
+// /**
+// * Default constructor.
+// */
+// public SAXNotRecognizedException ()
+// {
+// super();
+// }
/**
1.1.2.1 +9 -9 xml-commons/java/external/src/org/xml/sax/SAXNotSupportedException.java
Index: SAXNotSupportedException.java
===================================================================
RCS file: /home/cvs/xml-commons/java/external/src/org/xml/sax/SAXNotSupportedException.java,v
retrieving revision 1.1
retrieving revision 1.1.2.1
diff -u -r1.1 -r1.1.2.1
--- SAXNotSupportedException.java 2001/05/20 03:12:56 1.1
+++ SAXNotSupportedException.java 2001/11/15 19:46:10 1.1.2.1
@@ -2,7 +2,7 @@
// Written by David Megginson, sax@megginson.com
// NO WARRANTY! This class is in the Public Domain.
-// $Id: SAXNotSupportedException.java,v 1.1 2001/05/20 03:12:56 curcuru Exp $
+// $Id: SAXNotSupportedException.java,v 1.1.2.1 2001/11/15 19:46:10 edwingo Exp $
package org.xml.sax;
@@ -23,19 +23,19 @@
* @since SAX 2.0
* @author David Megginson,
* <a href="mailto:sax@megginson.com">sax@megginson.com</a>
- * @version 2.0r2pre
+ * @version 2.0r2pre w/ JAXP 1.1 signatures
* @see org.xml.sax.SAXNotRecognizedException
*/
public class SAXNotSupportedException extends SAXException
{
- /**
- * Construct a new exception with no message.
- */
- public SAXNotSupportedException ()
- {
- super();
- }
+// /**
+// * Construct a new exception with no message.
+// */
+// public SAXNotSupportedException ()
+// {
+// super();
+// }
/**
No revision
No revision
1.1.2.1 +4 -3 xml-commons/java/external/src/org/xml/sax/helpers/DefaultHandler.java
Index: DefaultHandler.java
===================================================================
RCS file: /home/cvs/xml-commons/java/external/src/org/xml/sax/helpers/DefaultHandler.java,v
retrieving revision 1.1
retrieving revision 1.1.2.1
diff -u -r1.1 -r1.1.2.1
--- DefaultHandler.java 2001/05/20 03:12:58 1.1
+++ DefaultHandler.java 2001/11/15 19:46:10 1.1.2.1
@@ -2,7 +2,7 @@
// Written by David Megginson, sax@megginson.com
// NO WARRANTY! This class is in the public domain.
-// $Id: DefaultHandler.java,v 1.1 2001/05/20 03:12:58 curcuru Exp $
+// $Id: DefaultHandler.java,v 1.1.2.1 2001/11/15 19:46:10 edwingo Exp $
package org.xml.sax.helpers;
@@ -49,7 +49,7 @@
* @since SAX 2.0
* @author David Megginson,
* <a href="mailto:sax@megginson.com">sax@megginson.com</a>
- * @version 2.0r2pre
+ * @version 2.0r2pre w/ JAXP 1.1 signatures
* @see org.xml.sax.EntityResolver
* @see org.xml.sax.DTDHandler
* @see org.xml.sax.ContentHandler
@@ -86,7 +86,8 @@
* @see org.xml.sax.EntityResolver#resolveEntity
*/
public InputSource resolveEntity (String publicId, String systemId)
- throws IOException, SAXException
+// throws IOException, SAXException
+ throws SAXException
{
return null;
}