Solved applying schema to the document that has no namespace
declaration.