/** * Process the attributes of this element and all its children */ public void processAllAttributes() throws XPathException { if (isTopLevel() && forwardsCompatibleModeIsEnabled()) { // do nothing } else { super.processAllAttributes(); } }
/** * Recursive walk through the stylesheet to validate all nodes */ public void validateSubtree() throws XPathException { if (isTopLevel() && forwardsCompatibleModeIsEnabled()) { // do nothing } else { super.validateSubtree(); } }
/** * Recursive walk through the stylesheet to validate all nodes */ public void validateSubtree() throws XPathException { if (isTopLevel() && forwardsCompatibleModeIsEnabled()) { // do nothing } else { super.validateSubtree(); } }
public Expression compile(Compilation exec, ComponentDeclaration decl) throws XPathException { if (isTopLevel() || reportingCircumstances == IGNORED_INSTRUCTION) { return null; } // if there are fallback children, compile the code for the fallback elements if (validationError == null) { validationError = new XPathException("Unknown instruction"); } return fallbackProcessing(exec, decl, this); } }
/** * Recursive walk through the stylesheet to validate all nodes * * @param decl * @param excludeStylesheet */ public void validateSubtree(ComponentDeclaration decl, boolean excludeStylesheet) throws XPathException { if (reportingCircumstances == IGNORED_INSTRUCTION || (isTopLevel() && forwardsCompatibleModeIsEnabled())) { // do nothing } else { super.validateSubtree(decl, excludeStylesheet); } }
public Expression compile(Executable exec) throws XPathException { if (isTopLevel()) { return null; } // if there are fallback children, compile the code for the fallback elements if (validationError==null) { validationError = new XPathException("Unknown instruction"); } return fallbackProcessing(exec, this); } }
public Expression compile(Compilation exec, ComponentDeclaration decl) throws XPathException { if (isTopLevel() || reportingCircumstances == IGNORED_INSTRUCTION) { return null; } // if there are fallback children, compile the code for the fallback elements if (validationError == null) { validationError = new XPathException("Unknown instruction"); } return fallbackProcessing(exec, decl, this); } }
/** * Process the attributes of this element and all its children */ public void processAllAttributes() throws XPathException { if (isTopLevel() && forwardsCompatibleModeIsEnabled()) { // do nothing } else { super.processAllAttributes(); } }
public Expression compile(Executable exec) throws XPathException { if (isTopLevel()) { return null; } // if there are fallback children, compile the code for the fallback elements if (validationError==null) { validationError = new XPathException("Unknown instruction"); } return fallbackProcessing(exec, this); } }
/** * Recursive walk through the stylesheet to validate all nodes * * @param decl * @param excludeStylesheet */ public void validateSubtree(ComponentDeclaration decl, boolean excludeStylesheet) throws XPathException { if (reportingCircumstances == IGNORED_INSTRUCTION || (isTopLevel() && forwardsCompatibleModeIsEnabled())) { // do nothing } else { super.validateSubtree(decl, excludeStylesheet); } }
/** * Process the attributes of this element and all its children */ public void processAllAttributes() throws XPathException { if (reportingCircumstances == IGNORED_INSTRUCTION) { return; } if (reportingCircumstances == REPORT_ALWAYS) { throw validationError; } if (isTopLevel() && forwardsCompatibleModeIsEnabled()) { // do nothing } else { super.processAllAttributes(); } }
/** * Process the attributes of this element and all its children */ public void processAllAttributes() throws XPathException { if (reportingCircumstances == IGNORED_INSTRUCTION) { return; } if (reportingCircumstances == REPORT_ALWAYS) { throw validationError; } if (isTopLevel() && forwardsCompatibleModeIsEnabled()) { // do nothing } else { super.processAllAttributes(); } }