ruper2/src/java/core/org/krysalis/ruper2/util/xml XMLHandler.java,1.6,1.7

[email protected]
Newsgroups gmane.comp.krysalis.metamorphosis.cvs
Message-ID <[email protected]>
Update of /cvsroot/metamorphosis/ruper2/src/java/core/org/krysalis/ruper2/util/xml
In directory sc8-pr-cvs1:/tmp/cvs-serv25556/src/java/core/org/krysalis/ruper2/util/xml

Modified Files:
	XMLHandler.java 
Log Message:
parser bug fixed

ruper eclipse browser is up -- needs actions to be added

Index: XMLHandler.java
===================================================================
RCS file: /cvsroot/metamorphosis/ruper2/src/java/core/org/krysalis/ruper2/util/xml/XMLHandler.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** XMLHandler.java	24 Oct 2003 13:56:20 -0000	1.6
--- XMLHandler.java	24 Oct 2003 14:48:22 -0000	1.7
***************
*** 58,67 ****
  				String classAttributeName =
  					attributes.getValue(XMLTagConstants.XML_CLASS_ATTRIBUTE);
  				if (classAttributeName != null
! 					&& !classAttributeName.equals(""))
! 					m_xmlEntryTable.put(tag, classAttributeName);
! 
! 				// find out if the tag - class is defined in the XMLEntryTable
! 				String clazzName = (String) m_xmlEntryTable.get(tag);
  
  				//:TODO: log this?
--- 58,72 ----
  				String classAttributeName =
  					attributes.getValue(XMLTagConstants.XML_CLASS_ATTRIBUTE);
+ 				
+ 				String clazzName = null;
+ 				
+ 				// find out if the tag - class is defined in the ruper.xml / XMLEntryTable
  				if (classAttributeName != null
! 					&& !classAttributeName.equals("")){
! 						clazzName = classAttributeName;
! 				}
! 				else{
! 					clazzName = (String) m_xmlEntryTable.get(tag);
! 				}
  
  				//:TODO: log this?




-------------------------------------------------------
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community?  Make a contribution, and help us add new
features and functionality. Click here: http://sourceforge.net/donate/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.