real-logic / simple-binary-encoding

Simple Binary Encoding (SBE) - High Performance Message Codec
Apache License 2.0
3.08k stars 519 forks source link

XmlSchemaParser doesn't handle XML namespace #1

Closed donmendelson closed 10 years ago

donmendelson commented 10 years ago

We normally generate message schema with an XML namespace declaration for the SBE XML schema and prefix on the root element. However, the parser fails to parse it in that case. It does work if all namespaces are stripped out.

Example:

An issue with this is that the XSD is not actually accessible at the schemaLocation. However, removing that attribute does not resolve the problem. The parser should not depend on accessing the XSD via the internet.
mjpt777 commented 10 years ago

Removed awareness for xml namespacing from xml parsing. All namespaces should now be supported with the consequence that xinclude is no longer supported.