3229. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 6/9/2017 3:49:58 PM Eastern Daylight Time. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.

3229.1 Files compared

# Location File Last Modified
1 Fri Jun 9 19:49:58 2017 UTC
2 eHealth_Exch (eHealth Exchange Enhancements) Build 3 docs & code_May_2017.zip\VAP_CIF_CODE0502.zip\VAP_CIF_CODE0502\VAP_CIF_CODE0502\nvap-common\src\main\java\gov\va\nvap\common\transformer\xsl XMLtoXML.java Fri Apr 21 20:03:26 2017 UTC

3229.2 Comparison summary

Description Between
Files 1 and 2
Text Blocks Lines
Unchanged 0 0
Changed 0 0
Inserted 1 37
Removed 0 0

3229.3 Comparison options

Whitespace
Character case Differences in character case are significant
Line endings Differences in line endings (CR and LF characters) are ignored
CR/LF characters Not shown in the comparison detail

3229.4 Active regular expressions

No regular expressions were active.

3229.5 Comparison detail

        1   package go v.va.nvap. common.tra nsformer.x sl;
        2  
        3   import gov .va.nvap.c ommon.tran sformer.Tr ansformer;
        4   import gov .va.nvap.c ommon.tran sformer.Tr ansformerE xception;
        5   import gov .va.nvap.c ommon.vali dation.Nul lChecker;
        6  
        7   import jav ax.xml.tra nsform.dom .DOMResult ;
        8   import jav ax.xml.tra nsform.dom .DOMSource ;
        9  
        10   import org .w3c.dom.D ocument;
        11  
        12   /**
        13    * Simple  XML to XML  transform er using a  resource.
        14    */
        15   public cla ss XMLtoXM L extends  DefaultXSL Transforme r implemen ts
        16                    Tran sformer<Do cument, Do cument> {
        17  
        18           @O verride
        19           pu blic final  Document  transform( final Docu ment sourc eMessage)
        20                             throws  Transform erExceptio n {
        21  
        22                    try  {
        23                             final  DOMSource  source = n ew DOMSour ce(sourceM essage);
        24                             Docume nt result;
        25                             DOMRes ult target  = new DOM Result();
        26                             target  = (DOMRes ult) super .transform (source, t arget);
        27                             result  = (Docume nt) target .getNode() ;
        28                             if (Nu llChecker. isEmpty(re sult)) {
        29                                      throw ne w Transfor merExcepti on("Empty  output fro m transfor mer!");
        30                             }
        31                             return  result;
        32  
        33                    } ca tch (final  javax.xml .transform .Transform erExceptio n ex) {
        34                             throw  new Transf ormerExcep tion(ex);
        35                    }
        36           }
        37   }