You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xap-commits@incubator.apache.org by jm...@apache.org on 2007/04/21 00:56:37 UTC

svn commit: r530958 - /incubator/xap/trunk/codebase/src/xap/bridges/basic/XInclude.js

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