Skip to content
This repository has been archived by the owner on Nov 24, 2017. It is now read-only.

Dft namespace fix #4

Merged
merged 1 commit into from
Nov 17, 2014
Merged

Dft namespace fix #4

merged 1 commit into from
Nov 17, 2014

Conversation

doolse
Copy link

@doolse doolse commented Nov 17, 2014

Fixes the case where:

<manifest xmlns="http://www.imsglobal.org/xsd/imscp_v1p1" xmlns:eps="http://eps.pearson.com/xsd/item-metadata">
 <xml xmlns="http://eps.pearson.com/xsd/item-metadata"/>
</manifest>

comes out as:

<manifest xmlns="http://www.imsglobal.org/xsd/imscp_v1p1" xmlns:eps="http://eps.pearson.com/xsd/item-metadata">
 <xml/>
</manifest>

because the non-prefixed namespace matched the uri of an parent prefixed namespace. It should only ignore the namespace if declaration if it matches exactly.

hamnis added a commit that referenced this pull request Nov 17, 2014
@hamnis hamnis merged commit 46412d3 into arktekk:master Nov 17, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants