}
private function validate( $reader ) {
-
// First, move through anything that isn't an element, and
// handle any processing instructions with the callback
do {
// NOTATION, or XML_DECLARATION
// xml_parse didn't send these to the filter, so we won't.
}
-
} while ( $this->readNext( $reader ) );
if ( $this->stackDepth !== 0 ) {
} elseif ( $this->wellFormed === null ) {
$this->wellFormed = true;
}
-
}
/**
$this->stackDepth++;
}
- /**
- */
private function elementClose() {
list( $name, $attribs ) = array_pop( $this->elementDataContext );
$data = array_pop( $this->elementData );