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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]