Ignore:
Timestamp:
02/09/10 18:26:36 (21 months ago)
Author:
Stephen Rankin
Message:

Added save results feature and single file checking (NXDL). Update of Javadocs. ref#236.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/applications/NXvalidate/src/org/nexusformat/nxvalidate/ValidatorUtils.java

    r1511 r1520  
    4444    private File nxconvertFile = null; 
    4545 
    46     public ValidatorUtils(File nxconvertFile) { 
     46 
     47    public ValidatorUtils(File nxsFile, File nxconvertFile) { 
    4748 
    4849        this.nxconvertFile = nxconvertFile; 
    49  
     50        this.nxsFile = nxsFile; 
    5051    } 
    5152 
     
    157158 
    158159            // create the validation setup 
    159             NXschematron schematron = new NXschematron(reduced, 
     160            NXschematron schematron = new NXschematron(nxsFile, reduced, 
    160161                    schematronFile, keepTemp); 
    161162 
     
    165166                Logger.getLogger(ValidatorUtils.class.getName()).log(Level.SEVERE, 
    166167                        "While creating validation report"); 
    167                 throw new NXvalidateException("While creating validation report"); 
     168                throw new NXvalidateException("While creating validation report", e); 
    168169            } 
    169170        } 
Note: See TracChangeset for help on using the changeset viewer.