incubator-xap-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmarga...@apache.org
Subject svn commit: r530958 - /incubator/xap/trunk/codebase/src/xap/bridges/basic/XInclude.js
Date Sat, 21 Apr 2007 00:56:37 GMT
Author: jmargaris
Date: Fri Apr 20 17:56:36 2007
New Revision: 530958

URL: http://svn.apache.org/viewvc?view=rev&rev=530958
Log:
For dgennaco: https://issues.apache.org/jira/browse/XAP-388

Modified:
    incubator/xap/trunk/codebase/src/xap/bridges/basic/XInclude.js

Modified: incubator/xap/trunk/codebase/src/xap/bridges/basic/XInclude.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/codebase/src/xap/bridges/basic/XInclude.js?view=diff&rev=530958&r1=530957&r2=530958
==============================================================================
--- incubator/xap/trunk/codebase/src/xap/bridges/basic/XInclude.js (original)
+++ incubator/xap/trunk/codebase/src/xap/bridges/basic/XInclude.js Fri Apr 20 17:56:36 2007
@@ -22,6 +22,7 @@
 Xap.require("xap.taghandling.AbstractTagImpl");
 Xap.require("xap.xml.ParserFactory");
 Xap.require("xap.util.Exception");
+Xap.require("xap.requestservice.RequestService");
 
 /**
  * @fileoverview
@@ -77,7 +78,7 @@
 		}
 		else{
 			var parser = xap.xml.ParserFactory.getParser();
-	  		var document =  parser.parse( text );
+	  		var document =  parser.parse( text, xap.requestservice.RequestService.urlToPath(url)
);
 	  		newChild = document.childNodes[0];
 	  		
 	  		//TODO what about fragments? Should we handle that? spec allows it with



Mime
View raw message