/** * Check that the variable is not already declared, and allocate a slot number */ public void validate() throws XPathException { super.validate(); if (global) { if (!redundant) { slotNumber = getPrincipalStylesheet().allocateGlobalSlot(getVariableQName()); } } }
/** * Check that the variable is not already declared, and allocate a slot number */ public void validate() throws XPathException { super.validate(); if (global) { if (!redundant) { slotNumber = getPrincipalStylesheet().allocateGlobalSlot(getVariableQName()); } } }