Update of /cvsroot/epp-rtk/epp-rtk/java/src/com/tucows/oxrs/epprtk/rtk/xml
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19009/epprtk/rtk/xml
Modified Files:
EPPContactInfo.java EPPHostInfo.java
Log Message:
fix for bug 1475771
Index: EPPContactInfo.java
===================================================================
RCS file: /cvsroot/epp-rtk/epp-rtk/java/src/com/tucows/oxrs/epprtk/rtk/xml/EPPContactInfo.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** EPPContactInfo.java 11 Oct 2005 20:40:04 -0000 1.2
--- EPPContactInfo.java 24 Apr 2006 21:20:25 -0000 1.3
***************
*** 258,262 ****
status.m_value = status_value_node.getNodeValue();
}
! status.m_lang = ((Element)a_node).getAttribute("lang");
if ( ! contact_status_hash_.containsKey( ((Element)a_node).getAttribute("s") ) )
{
--- 258,266 ----
status.m_value = status_value_node.getNodeValue();
}
! String lang = ((Element)a_node).getAttribute("lang");
! if (lang != null && lang.length() > 0)
! {
! status.m_lang = lang;
! }
if ( ! contact_status_hash_.containsKey( ((Element)a_node).getAttribute("s") ) )
{
Index: EPPHostInfo.java
===================================================================
RCS file: /cvsroot/epp-rtk/epp-rtk/java/src/com/tucows/oxrs/epprtk/rtk/xml/EPPHostInfo.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** EPPHostInfo.java 7 Dec 2004 15:53:27 -0000 1.1
--- EPPHostInfo.java 24 Apr 2006 21:20:25 -0000 1.2
***************
*** 236,240 ****
status.m_value = status_value_node.getNodeValue();
}
! status.m_lang = ((Element)a_node).getAttribute("lang");
if ( ! host_status_hash_.containsKey( ((Element)a_node).getAttribute("s") ) )
{
--- 236,244 ----
status.m_value = status_value_node.getNodeValue();
}
! String lang = ((Element)a_node).getAttribute("lang");
! if (lang != null && lang.length() > 0)
! {
! status.m_lang = lang;
! }
if ( ! host_status_hash_.containsKey( ((Element)a_node).getAttribute("s") ) )
{
|