bring back removal of XML prolog.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@5501 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -84,6 +84,8 @@
|
||||
var out = format.write(
|
||||
format.getElementsByTagNameNS(doc,
|
||||
"http://namespace.openlayers.org","root")[0]);
|
||||
out = out.replace(/[\r\n]/g, '');
|
||||
out = out.replace( /<\?.*\?>/, '')
|
||||
t.eq(out, expected,
|
||||
"correctly writes an XML DOM node");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user