lenya-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e...@apache.org
Subject cvs commit: cocoon-lenya/src/java/org/apache/lenya/cms/cocoon/acting ValidateAction.java
Date Mon, 01 Mar 2004 09:51:11 GMT
egli        2004/03/01 01:51:11

  Modified:    src/java/org/apache/lenya/cms/cocoon/acting
                        ValidateAction.java
  Log:
  Added some fixmes.
  
  Revision  Changes    Path
  1.7       +4 -2      cocoon-lenya/src/java/org/apache/lenya/cms/cocoon/acting/ValidateAction.java
  
  Index: ValidateAction.java
  ===================================================================
  RCS file: /home/cvs/cocoon-lenya/src/java/org/apache/lenya/cms/cocoon/acting/ValidateAction.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- ValidateAction.java	24 Feb 2004 13:46:43 -0000	1.6
  +++ ValidateAction.java	1 Mar 2004 09:51:11 -0000	1.7
  @@ -130,13 +130,15 @@
   	 * @return The validation error message or null.
   	 */
   	private String validateDocument(File schema, File file) {
  -
  +		// FIXME: what is this method for? It seems to be a lot of hot air and
  +		// some logging around a call to RelaxNG.validate
   		try {
   			File parentFile = file.getParentFile();
   			if (!(parentFile.exists())) {
   				parentFile.mkdir();
   			}
   			String filename = file.getName();
  +			// FIXME: why do we create a file and never use it later?
   			File valFile =
   				IOUtils.createFile(parentFile, filename + ".validate");
   			getLogger().debug("validation file: " + valFile.getAbsolutePath());
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-cvs-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-cvs-help@cocoon.apache.org


Mime
View raw message