[MOBY-guts] biomoby commit
Eddie Kawas
kawas at pub.open-bio.org
Wed Dec 22 14:42:36 UTC 2004
kawas
Wed Dec 22 09:42:36 EST 2004
Update of /home/repository/moby/moby-live/Java/src/main
In directory pub.open-bio.org:/tmp/cvs-serv2117
Modified Files:
retrieveObjectXML.cgi
Log Message:
added the code to strip CDATA from returned xml
moby-live/Java/src/main retrieveObjectXML.cgi,1.1,1.2
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/retrieveObjectXML.cgi,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- /home/repository/moby/moby-live/Java/src/main/retrieveObjectXML.cgi 2004/12/22 14:40:50 1.1
+++ /home/repository/moby/moby-live/Java/src/main/retrieveObjectXML.cgi 2004/12/22 14:42:36 1.2
@@ -15,4 +15,5 @@
print "Content-type: text/plain\n\n";
my $output = $DEFS->{'XML'};
$output =~ s/retrieveObjectDefinition/objectDetails/g;
+ $output =~ s/<!\[CDATA\[((?>[^\]]+))\]\]>/$1/gs;
print $output;
More information about the MOBY-guts
mailing list