Project

General

Profile

« Previous | Next » 

Revision 1440

Added by Jing Tao about 21 years ago

Fixed a bug the for comment in xml documents. It cause a Unterminated quoted string problem in psql.

View differences:

src/edu/ucsb/nceas/metacat/DBSAXHandler.java
595 595
     if ( !processingDTD ) {
596 596
       DBSAXNode currentNode = (DBSAXNode)nodeStack.peek();
597 597
       endNodeId = 
598
        currentNode.writeChildNodeToDB("COMMENT", null, new String(ch), docid);
598
        currentNode.writeChildNodeToDB("COMMENT", null, 
599
                                       new String(ch, start, length), docid);
599 600
     }
600 601
   }
601 602

  

Also available in: Unified diff