Validating an xml schema Adult cougars chat
Validation fails, even though the document IS valid and the command line tool xmllint confirms this (even with libxml 2.6.32, so this must be a problem with DOM). Warning: DOMDocument::schema Validate() [domdocument.schemavalidate]: Element 'Your Root Element Name': No matching global declaration available for the validation root.
Copyright © 1993, 2019, Oracle and/or its affiliates.
Sure, creating a temporary file is not a nice solution, but unless this bug is fixed, this workaround should do just fine.