Making XmlSchemaElementValidator a package-protected class.

Bug fixes for XmlDatumWriter.