added stax validation