You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by mu...@apache.org on 2010/09/24 02:48:31 UTC

svn commit: r1000679 - /xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/xs/XMLAssertPsychopathImpl.java

Author: mukulg
Date: Fri Sep 24 00:48:31 2010
New Revision: 1000679

URL: http://svn.apache.org/viewvc?rev=1000679&view=rev
Log:
committing a slight improvement to attribute node construction for PSVI DOM trees for schema 1.1 assertions.

Modified:
    xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/xs/XMLAssertPsychopathImpl.java

Modified: xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/xs/XMLAssertPsychopathImpl.java
URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/xs/XMLAssertPsychopathImpl.java?rev=1000679&r1=1000678&r2=1000679&view=diff
==============================================================================
--- xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/xs/XMLAssertPsychopathImpl.java (original)
+++ xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/xs/XMLAssertPsychopathImpl.java Fri Sep 24 00:48:31 2010
@@ -167,10 +167,12 @@ public class XMLAssertPsychopathImpl ext
         for (int attIndex = 0; attIndex < attributes.getLength(); attIndex++) {
             String attrUri = attributes.getURI(attIndex);
             String attQName = attributes.getQName(attIndex);
-            String attValue = attributes.getValue(attIndex);
+            String attrLocalName = attributes.getLocalName(attIndex);
+            String attValue = attributes.getValue(attIndex);             
             
             PSVIAttrNSImpl attrNode = new PSVIAttrNSImpl((PSVIDocumentImpl)
-                                          fAssertDocument, attrUri, attQName);
+                                            fAssertDocument, attrUri,
+                                            attQName, attrLocalName);
             attrNode.setNodeValue(attValue);
             
             // set PSVI information for the attribute



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xerces.apache.org
For additional commands, e-mail: commits-help@xerces.apache.org