You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mina.apache.org by ng...@apache.org on 2010/05/04 17:03:41 UTC
svn commit: r940888 -
/mina/vysper/trunk/nbxml/src/test/java/org/apache/vysper/xml/sax/impl/DefaultAsyncXMLReaderTestCase.java
Author: ngn
Date: Tue May 4 15:03:41 2010
New Revision: 940888
URL: http://svn.apache.org/viewvc?rev=940888&view=rev
Log:
Fix broken test now that we support reporting namespace prefixes
Modified:
mina/vysper/trunk/nbxml/src/test/java/org/apache/vysper/xml/sax/impl/DefaultAsyncXMLReaderTestCase.java
Modified: mina/vysper/trunk/nbxml/src/test/java/org/apache/vysper/xml/sax/impl/DefaultAsyncXMLReaderTestCase.java
URL: http://svn.apache.org/viewvc/mina/vysper/trunk/nbxml/src/test/java/org/apache/vysper/xml/sax/impl/DefaultAsyncXMLReaderTestCase.java?rev=940888&r1=940887&r2=940888&view=diff
==============================================================================
--- mina/vysper/trunk/nbxml/src/test/java/org/apache/vysper/xml/sax/impl/DefaultAsyncXMLReaderTestCase.java (original)
+++ mina/vysper/trunk/nbxml/src/test/java/org/apache/vysper/xml/sax/impl/DefaultAsyncXMLReaderTestCase.java Tue May 4 15:03:41 2010
@@ -108,7 +108,7 @@ public class DefaultAsyncXMLReaderTestCa
public void testSetNotSupportedFeature() throws SAXNotRecognizedException {
DefaultNonBlockingXMLReader reader = new DefaultNonBlockingXMLReader();
try {
- reader.setFeature("http://xml.org/sax/features/namespace-prefixes", true);
+ reader.setFeature("http://xml.org/sax/features/namespaces", false);
fail("Must throw SAXNotSupportedException");
} catch (SAXNotSupportedException e) {
// OK