Project

General

Profile

« Previous | Next » 

Revision 3731

Added by Jing Tao about 16 years ago

Add debug info for special charater.

View differences:

DocumentImpl.java
1859 1859
                nodename = rs.getString(5);
1860 1860
                nodeprefix = rs.getString(6);
1861 1861
                nodedata = rs.getString(7);
1862
                logMetacat.debug("Node data in read process before normalize=== "+nodedata);
1862 1863
                nodedata = MetaCatUtil.normalize(nodedata);
1864
                logMetacat.debug("Node data in read process after normalize==== "+nodedata);
1863 1865
                nodedatanumerical = rs.getFloat(8);
1864 1866

  
1865 1867
                // add the data to the node record list hashtable
......
1961 1963
                nodedata = rs.getString(7);
1962 1964
                try
1963 1965
                {
1966
                	logMetacat.debug("Node data in read process before normalize=== "+nodedata);
1964 1967
                	nodedata = MetaCatUtil.normalize(nodedata);
1968
                	logMetacat.debug("Node data in read process after normalize==== "+nodedata);
1965 1969
                } catch (java.lang.StringIndexOutOfBoundsException SIO){
1966 1970
                	logMetacat.warn("StringIndexOutOfBoundsException in normalize() while reading the document");
1967 1971
                }

Also available in: Unified diff