Revision 686
Added by berkley almost 24 years ago
src/edu/ucsb/nceas/metacat/DocumentImpl.java | ||
---|---|---|
410 | 410 |
} |
411 | 411 |
|
412 | 412 |
// Print the final end tag for the root element |
413 |
NodeRecord currentElement = (NodeRecord)openElements.pop(); |
|
414 |
util.debugMessage("\n POPPED: " + currentElement.nodename); |
|
415 |
out.print("</" + currentElement.nodename + ">" ); |
|
413 |
while(!openElements.empty()) |
|
414 |
{ |
|
415 |
NodeRecord currentElement = (NodeRecord)openElements.pop(); |
|
416 |
util.debugMessage("\n POPPED: " + currentElement.nodename); |
|
417 |
out.print("</" + currentElement.nodename + ">" ); |
|
418 |
} |
|
416 | 419 |
out.flush(); |
417 | 420 |
} |
418 | 421 |
|
Also available in: Unified diff
fixed white space problem in toXML that was preventing in line end tags from being popped from the stack.