You are viewing a plain text version of this content. The canonical link for it is here.
Posted to doxia-commits@maven.apache.org by vs...@apache.org on 2008/10/26 13:30:41 UTC

svn commit: r707981 - /maven/doxia/doxia/trunk/doxia-core/src/test/java/org/apache/maven/doxia/xsd/AbstractXmlValidatorTest.java

Author: vsiveton
Date: Sun Oct 26 05:30:40 2008
New Revision: 707981

URL: http://svn.apache.org/viewvc?rev=707981&view=rev
Log:
o excluded communication error

Modified:
    maven/doxia/doxia/trunk/doxia-core/src/test/java/org/apache/maven/doxia/xsd/AbstractXmlValidatorTest.java

Modified: maven/doxia/doxia/trunk/doxia-core/src/test/java/org/apache/maven/doxia/xsd/AbstractXmlValidatorTest.java
URL: http://svn.apache.org/viewvc/maven/doxia/doxia/trunk/doxia-core/src/test/java/org/apache/maven/doxia/xsd/AbstractXmlValidatorTest.java?rev=707981&r1=707980&r2=707981&view=diff
==============================================================================
--- maven/doxia/doxia/trunk/doxia-core/src/test/java/org/apache/maven/doxia/xsd/AbstractXmlValidatorTest.java (original)
+++ maven/doxia/doxia/trunk/doxia-core/src/test/java/org/apache/maven/doxia/xsd/AbstractXmlValidatorTest.java Sun Oct 26 05:30:40 2008
@@ -136,7 +136,8 @@
                     if ( message.length() != 0 )
                     {
                         // Exclude some xhtml errors
-                        if ( message.indexOf( "Message: cvc-complex-type.4: Attribute 'alt' must appear on element 'img'." ) == -1
+                        if ( message.indexOf( "schema_reference.4: Failed to read schema document 'http://www.w3.org/2001/xml.xsd'" ) == -1
+                            && message.indexOf( "Message: cvc-complex-type.4: Attribute 'alt' must appear on element 'img'." ) == -1
                             && message.indexOf( "Message: cvc-complex-type.2.4.a: Invalid content starting with element" ) == -1
                             && message.indexOf( "Message: cvc-complex-type.2.4.a: Invalid content was found starting with element" ) == -1
                             && message.indexOf( "Message: cvc-datatype-valid.1.2.1:" ) == -1  // Doxia allow space