You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by am...@apache.org on 2005/12/26 18:33:23 UTC
svn commit: r359082 - /xerces/c/trunk/src/xercesc/internal/IGXMLScanner2.cpp
Author: amassari
Date: Mon Dec 26 09:33:16 2005
New Revision: 359082
URL: http://svn.apache.org/viewcvs?rev=359082&view=rev
Log:
Fix for jira#1533 (default attributes in the definition for an element that is not validated because of errors would be added to the list of attributes even if already present)
Modified:
xerces/c/trunk/src/xercesc/internal/IGXMLScanner2.cpp
Modified: xerces/c/trunk/src/xercesc/internal/IGXMLScanner2.cpp
URL: http://svn.apache.org/viewcvs/xerces/c/trunk/src/xercesc/internal/IGXMLScanner2.cpp?rev=359082&r1=359081&r2=359082&view=diff
==============================================================================
--- xerces/c/trunk/src/xercesc/internal/IGXMLScanner2.cpp (original)
+++ xerces/c/trunk/src/xercesc/internal/IGXMLScanner2.cpp Mon Dec 26 09:33:16 2005
@@ -209,6 +209,7 @@
attWildCard = currType->getAttWildCard();
}
else if (!currDV) { // check explicitly-set wildcard
+ attDef = ((SchemaElementDecl*)elemDecl)->getAttDef(suffPtr, uriId);
attWildCard = ((SchemaElementDecl*)elemDecl)->getAttWildCard();
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xerces.apache.org
For additional commands, e-mail: commits-help@xerces.apache.org