private ComparisonState compareProcessingInstructions ( ProcessingInstruction control , XPathContext controlContext , ProcessingInstruction test , XPathContext testContext ) { return compare ( new Comparison ( ComparisonType . PROCESSING_INSTRUCTION_TARGET , control , getXPath ( controlContext ) , control . getTarget ( ) , getParentXPath ( controlContext ) , test , getXPath ( testContext ) , test . getTarget ( ) , getParentXPath ( testContext ) ) ) . andThen ( new Comparison ( ComparisonType . PROCESSING_INSTRUCTION_DATA , control , getXPath ( controlContext ) , control . getData ( ) , getParentXPath ( controlContext ) , test , getXPath ( testContext ) , test . getData ( ) , getParentXPath ( testContext ) ) ) ; }
Compares properties of a processing instruction .