You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by de...@apache.org on 2007/06/13 05:57:21 UTC
svn commit: r546722 -
/webservices/axis2/trunk/java/modules/adb/src/org/apache/axis2/databinding/utils/reader/ADBXMLStreamReaderImpl.java
Author: deepal
Date: Tue Jun 12 20:57:20 2007
New Revision: 546722
URL: http://svn.apache.org/viewvc?view=rev&rev=546722
Log:
fixing typos
Modified:
webservices/axis2/trunk/java/modules/adb/src/org/apache/axis2/databinding/utils/reader/ADBXMLStreamReaderImpl.java
Modified: webservices/axis2/trunk/java/modules/adb/src/org/apache/axis2/databinding/utils/reader/ADBXMLStreamReaderImpl.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/adb/src/org/apache/axis2/databinding/utils/reader/ADBXMLStreamReaderImpl.java?view=diff&rev=546722&r1=546721&r2=546722
==============================================================================
--- webservices/axis2/trunk/java/modules/adb/src/org/apache/axis2/databinding/utils/reader/ADBXMLStreamReaderImpl.java (original)
+++ webservices/axis2/trunk/java/modules/adb/src/org/apache/axis2/databinding/utils/reader/ADBXMLStreamReaderImpl.java Tue Jun 12 20:57:20 2007
@@ -61,7 +61,7 @@
private Object[] attributes;
private QName elementQName;
- //This is to store the QName which are in the typeTable after setting the corrcet prefix
+ //This is to store the QName which are in the typeTable after setting the correct prefix
private HashMap qnameMap = new HashMap();
//we always create a new namespace context
@@ -117,15 +117,15 @@
this.qualified = qualified;
this.typeTable = typeTable;
if(this.typeTable!=null){
- Map complextTyepMap = this.typeTable.getComplexSchemaMap();
- if(complextTyepMap!=null){
- Iterator keyps = complextTyepMap.keySet().iterator();
- while (keyps.hasNext()) {
- String key = (String) keyps.next();
- QName qname = (QName) complextTyepMap.get(key);
- if(qname!=null){
+ Map complexTypeMap = this.typeTable.getComplexSchemaMap();
+ if(complexTypeMap !=null){
+ Iterator keys = complexTypeMap.keySet().iterator();
+ while (keys.hasNext()) {
+ String key = (String) keys.next();
+ QName qname = (QName) complexTypeMap.get(key);
+ if(qname !=null){
String prefix =qname.getPrefix();
- if(prefix==null&&"".equals(prefix)){
+ if(prefix ==null && "".equals(prefix)){
prefix = OMSerializerUtil.getNextNSPrefix();
}
qname = new QName(qname.getNamespaceURI(),qname.getLocalPart(),prefix);
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org