Project

General

Profile

Revision 950

Added by Jing Tao about 19 years ago

In method transformXMLDocument, if no style sheet registered was found for the input document, the document will be send back, rather than use util.DebugMessge to print.

View differences:

src/edu/ucsb/nceas/metacat/DBTransform.java
166 166
    } else {
167 167
      // No stylesheet registered form this document type, so just return the 
168 168
      // XML stream we were passed
169
      util.debugMessage(doc);
169
      pw.write(doc);
170 170
    }
171 171
  }
172 172
  

Also available in: Unified diff