The DMR++ parser doesn't see a newline (cr?) as whitepspace.

Description

The DmrppParserSax2 parser fails to see cr/lf/newline as a white space.

This fails:

1 2 3 4 5 6 7 8 9 10 11 <Dataset xmlns="http://xml.opendap.org/ns/DAP/4.0#" xmlns:dmrpp="http://xml.opendap.org/dap/dmrpp/1.0.0#" dapVersion="4.0" dmrVersion="1.0" name="coads_climatology" dmrpp:href="data/dmrpp/coads_climatology.bin"> <Dimension name="COADSX" size="180"/> <Dimension name="COADSY" size="90"/> <Dimension name="TIME" size="12"/>

This works: (Note: The single, additional, space at the beginning of the line beginning with xmlns:dmrpp):

1 2 3 4 5 6 7 8 9 10 11 <Dataset xmlns="http://xml.opendap.org/ns/DAP/4.0#" xmlns:dmrpp="http://xml.opendap.org/dap/dmrpp/1.0.0#" dapVersion="4.0" dmrVersion="1.0" name="coads_climatology" dmrpp:href="data/dmrpp/coads_climatology.bin"> <Dimension name="COADSX" size="180"/> <Dimension name="COADSY" size="90"/> <Dimension name="TIME" size="12"/>

And that's probably a bug in the DMR parser too.

Environment

None

Status

Assignee

Nathan Potter

Reporter

Nathan Potter

Labels

None

Story Points

None

Epic Link

Components

Priority

Medium
Configure