You are viewing a plain text version of this content. The canonical link for it is here.
Posted to crimson-cvs@xml.apache.org by ed...@apache.org on 2001/01/26 04:14:56 UTC
cvs commit: xml-crimson/src/org/apache/crimson/jaxp SAXParserImpl.java
edwingo 01/01/25 19:14:56
Modified: src/org/apache/crimson/jaxp SAXParserImpl.java
Log:
Fix SAXParser.[sg]etProperty() methods
Revision Changes Path
1.3 +4 -4 xml-crimson/src/org/apache/crimson/jaxp/SAXParserImpl.java
Index: SAXParserImpl.java
===================================================================
RCS file: /home/cvs/xml-crimson/src/org/apache/crimson/jaxp/SAXParserImpl.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- SAXParserImpl.java 2001/01/24 23:50:54 1.2
+++ SAXParserImpl.java 2001/01/26 03:14:55 1.3
@@ -1,5 +1,5 @@
/*
- * $Id: SAXParserImpl.java,v 1.2 2001/01/24 23:50:54 edwingo Exp $
+ * $Id: SAXParserImpl.java,v 1.3 2001/01/26 03:14:55 edwingo Exp $
*
* The Apache Software License, Version 1.1
*
@@ -78,7 +78,7 @@
/**
* @author Rajiv Mordani
- * @version $Revision: 1.2 $
+ * @version $Revision: 1.3 $
*/
/**
@@ -174,7 +174,7 @@
public void setProperty(String name, Object value)
throws SAXNotRecognizedException, SAXNotSupportedException
{
- throw new SAXNotRecognizedException("Feature: " + name);
+ xmlReader.setProperty(name, value);
}
/**
@@ -184,7 +184,7 @@
public Object getProperty(String name)
throws SAXNotRecognizedException, SAXNotSupportedException
{
- throw new SAXNotRecognizedException("Feature: " + name);
+ return xmlReader.getProperty(name);
}