[YANGTOOLS-772] Same namespaces alloved in build-time Created: 21/Apr/17  Updated: 10/Apr/22  Resolved: 24/Apr/17

Status: Resolved
Project: yangtools
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug
Reporter: Jan Srnicek Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


Issue Links:
Duplicate
duplicates YANGTOOLS-756 Yang parser fails with cryptic messag... Resolved
External issue ID: 8273

 Description   

Namespace duplicity collisions are checked only on runtime ,showing warning like

2017-04-21 08:35:27.789 CEST [main] WARN o.o.y.y.p.util.ModuleDependencySort - Error while sorting module [vpp-routing-ra, Wed Mar 15 00:00:00 CET 2017]: module with same namespace (urn:ietf:params:xml:ns:yang:vpp-routing) already loaded: [vpp-routing, Wed Dec 14 00:00:00 CET 2016]

But if such combination is invalid(according to yangtools team it is) , it should fail at build time, not just show some warning in runtime


Generated at Wed Feb 07 20:54:16 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.