From 86fa951ba99a04edf6a41b04751a1ad679dc2d36 Mon Sep 17 00:00:00 2001 From: jsdelfino Date: Fri, 24 Dec 2010 04:35:53 +0000 Subject: Apply roundtripping fixes from SVN r1052432 to Python and Javascript scripts. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1052445 13f79535-47bb-0310-9956-ffa450edef68 --- sca-cpp/trunk/modules/js/htdocs/atomutil.js | 10 +++++----- sca-cpp/trunk/modules/js/htdocs/elemutil.js | 2 +- sca-cpp/trunk/modules/js/htdocs/xmlutil.js | 11 ++++++++++- 3 files changed, 16 insertions(+), 7 deletions(-) (limited to 'sca-cpp/trunk/modules/js') diff --git a/sca-cpp/trunk/modules/js/htdocs/atomutil.js b/sca-cpp/trunk/modules/js/htdocs/atomutil.js index 3499948083..6b998dceda 100644 --- a/sca-cpp/trunk/modules/js/htdocs/atomutil.js +++ b/sca-cpp/trunk/modules/js/htdocs/atomutil.js @@ -65,11 +65,9 @@ atom.entryValue = function(e) { * Return true if a list of strings represents an ATOM feed. */ atom.isATOMFeed = function(l) { - if (isNil(l)) - return false; - if (car(l).substring(0, 5) != "