marklogic / entity-services

Data modeling and code scaffolding for data integration in MarkLogic
https://docs.marklogic.com/guide/entity-services
Apache License 2.0
7 stars 10 forks source link

A model with duplicate namespace URI but unique prefix should throw an error #355

Closed bsrikan closed 6 years ago

bsrikan commented 6 years ago

Run model-validate() on an xml/json model with duplicate namespace URI but unique prefix. This should throw an error. Current implementation wont it seems apparently.

Issue created from test case(107) review of 9.0-4 test plan.

grechaw commented 6 years ago

well, that was quick.

bsrikan commented 6 years ago

Now we get an error, but the logic has false positives and false negatives as commented in #354 . Will ship once that is fixed.

bsrikan commented 6 years ago

Added test that verifies this fix. Good to ship.

bsrikan commented 6 years ago

Test running ok. Shipping the issue.