Skip to content

XmlSchemaParser doesn't handle XML namespace #1

Closed
@donmendelson

Description

@donmendelson

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:
<sbe:messageSchema xmlns:sbe="http://www.fixprotocol.org/ns/simple/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" package="MarketData" version="0" semanticVersion="FIX.5.0" description="Test dictionary" byteOrder="littleEndian" xsi:schemaLocation="http://www.fixprotocol.org/ns/simple/1.0/SimpleBinary1-0.xsd">

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions