The answer is simple:
what you call XML is not XML. A fragment of valid XML is not XML.
To understand this error, you need to understand how XML namespaces work. Here, you have the "prefix not bound with namespace" situation. You need the namespace declarations, such as
<rdf:RDF
xmlns ="http://www.w3.org/TR/2004/REC-owl-guide-20040210/wine#"
xmlns:owl ="http://www.w3.org/2002/07/owl#"
xmlns:rdf ="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
...
>
<!- ... -->
</rdf:RDF>
Please see:
http://www.w3.org/TR/owl-guide[
^].
Note that prefixes themselves means nothing, the can be any valid unique prefix names matching namespace declarations. Please see:
http://www.w3.org/TR/REC-xml-names[
^].
—SA