You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by mr...@apache.org on 2008/04/03 22:59:56 UTC
svn commit: r644489 -
/xerces/java/trunk/src/org/apache/xerces/impl/xs/traversers/SchemaContentHandler.java
Author: mrglavas
Date: Thu Apr 3 13:59:55 2008
New Revision: 644489
URL: http://svn.apache.org/viewvc?rev=644489&view=rev
Log:
Fixing a bug. We weren't reseting the NamespaceContext which can cause all sorts
of problems including the loss of some namespace decls on XSAnnotation components.
Modified:
xerces/java/trunk/src/org/apache/xerces/impl/xs/traversers/SchemaContentHandler.java
Modified: xerces/java/trunk/src/org/apache/xerces/impl/xs/traversers/SchemaContentHandler.java
URL: http://svn.apache.org/viewvc/xerces/java/trunk/src/org/apache/xerces/impl/xs/traversers/SchemaContentHandler.java?rev=644489&r1=644488&r2=644489&view=diff
==============================================================================
--- xerces/java/trunk/src/org/apache/xerces/impl/xs/traversers/SchemaContentHandler.java (original)
+++ xerces/java/trunk/src/org/apache/xerces/impl/xs/traversers/SchemaContentHandler.java Thu Apr 3 13:59:55 2008
@@ -102,6 +102,7 @@
*/
public void startDocument() throws SAXException {
fNeedPushNSContext = true;
+ fNamespaceContext.reset();
try {
fSchemaDOMParser.startDocument(fSAXLocatorWrapper, null, fNamespaceContext, null);
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xerces.apache.org
For additional commands, e-mail: commits-help@xerces.apache.org