jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ju...@apache.org
Subject svn commit: r478970 - /jackrabbit/branches/1.1/jackrabbit/src/main/java/org/apache/jackrabbit/core/xml/DocViewImportHandler.java
Date Fri, 24 Nov 2006 20:01:06 GMT
Author: jukka
Date: Fri Nov 24 12:01:05 2006
New Revision: 478970

URL: http://svn.apache.org/viewvc?view=rev&rev=478970
Log:
1.1: Merged revision 472523 (JCR-620)

Modified:
    jackrabbit/branches/1.1/jackrabbit/src/main/java/org/apache/jackrabbit/core/xml/DocViewImportHandler.java

Modified: jackrabbit/branches/1.1/jackrabbit/src/main/java/org/apache/jackrabbit/core/xml/DocViewImportHandler.java
URL: http://svn.apache.org/viewvc/jackrabbit/branches/1.1/jackrabbit/src/main/java/org/apache/jackrabbit/core/xml/DocViewImportHandler.java?view=diff&rev=478970&r1=478969&r2=478970
==============================================================================
--- jackrabbit/branches/1.1/jackrabbit/src/main/java/org/apache/jackrabbit/core/xml/DocViewImportHandler.java
(original)
+++ jackrabbit/branches/1.1/jackrabbit/src/main/java/org/apache/jackrabbit/core/xml/DocViewImportHandler.java
Fri Nov 24 12:01:05 2006
@@ -173,6 +173,11 @@
 
             ArrayList props = new ArrayList(atts.getLength());
             for (int i = 0; i < atts.getLength(); i++) {
+                if (atts.getURI(i).equals(QName.NS_XMLNS_URI)) {
+                    // skip namespace declarations reported as attributes
+                    // see http://issues.apache.org/jira/browse/JCR-620#action_12448164
+                    continue;
+                }
                 QName propName = new QName(atts.getURI(i), atts.getLocalName(i));
                 // decode property name
                 propName = ISO9075.decode(propName);



Mime
View raw message