-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Possibly bug/breaking change in parent items regular expression #30
Comments
Thanks! It looks like a bug. |
I believe this should be IDType. The rationale behind the NCNameIDType was to restrict component names so that elements and attributes generated in data structure specific schemas would be valid. I am not sure if there was ever a scenario where a code from a dimension code list would have been generated as an element/attribute in a data message (maybe the old cross sectional formats). But that may be why this was in there to begin with and just ended up being over looked. In any case, either code identifier or this parent code reference is the wrong type. I suspect the latter. |
Ready to merge into Develop branch (branch patch-v3.0.1). |
Hello,
Just in case it is a bug, It seems that the item Parent restriction doesn't accept values starting with a number, e.g. CL_REF_AREA.
https://github.com/sdmx-twg/sdmx-ml/blob/master/schemas/SDMXStructureCodelist.xsd#L77
sdmx-ml/schemas/SDMXCommonReferences.xsd
Line 1597 in 29f1a3d
But at the same time it is allowed to have a code that starts with a number
https://github.com/sdmx-twg/sdmx-ml/blob/master/schemas/SDMXStructureBase.xsd#L49
The text was updated successfully, but these errors were encountered: