cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stef...@locus.apache.org
Subject cvs commit: xml-cocoon/src/org/apache/cocoon/processor/xsp/library/fp fpResource.java
Date Fri, 21 Jul 2000 23:39:22 GMT
stefano     00/07/21 16:39:22

  Modified:    src/org/apache/cocoon/processor/xsp/library/fp
                        fpResource.java
  Log:
  SAX2 and Xerces require systemID as fully resolved URIs
  
  Revision  Changes    Path
  1.2       +1 -1      xml-cocoon/src/org/apache/cocoon/processor/xsp/library/fp/fpResource.java
  
  Index: fpResource.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon/src/org/apache/cocoon/processor/xsp/library/fp/fpResource.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- fpResource.java	2000/07/21 20:12:53	1.1
  +++ fpResource.java	2000/07/21 23:39:22	1.2
  @@ -444,7 +444,7 @@
   		DOMParser parser = new DOMParser();
   		try {
   			//System.out.println("about to parse Document");
  -			InputSource is = new InputSource(f.toString());
  +			InputSource is = new InputSource("file:" + f.toString());
   			String enc = is.getEncoding();
   			if (enc != "") {
   				workEncoding = enc;
  
  
  

Mime
View raw message