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

create blacklist of prefixes for new namespace-prefix property #337

Closed grechaw closed 6 years ago

grechaw commented 7 years ago

In 9.0-3, there are no restrictions on the prefixes that developers choose for entity models.

The spec mentions "es", but there are others to avoid, and validation should alert about use of:

"es", "xs", "xml", "xsi", "xsd", "json"

grechaw commented 7 years ago

I have implemented this task and updated the specification. I'll edit the issue to match implementation.

bsrikan commented 7 years ago

Tested and have tests ready for checkin. Waiting for another issue referenced in PR #354 comments section, to be fixed before checkin together.

bsrikan commented 7 years ago

Test added for this enhancement. Will ship after few runs in regression.

bsrikan commented 7 years ago

Test running ok. Shipping the issue.