Details
-
Bug
-
Resolution: Done
-
Minor
-
Data Standard v2.0
-
None
-
None
Description
Summary of outcomes for Data Standard 2.1
- Problem Addressed: A DisciplineIncident record includes a weapon reference with an incorrect namespace. The incorrect namespace inappropriately adds an "s" to the end of Weapon (http://www.ed-fi.org/Descriptor/WeaponsDescriptor.xml).
- High-level Reasoning: The sample data will not load with an incorrect namespace. The namespace must be corrected.
- Changes Made: Gratuitous "s" removed from Weapon reference namespace in DisicplineIncident sample data file
Original ticket description follows:
The DisciplineIncident record with id "DISC_21_255901001" in sample data file "StudentDiscipline.xml" has a descriptor reference to the code value "Knife" under the weapon descriptors. The namespace for the reference is incorrectly referenced as "http://www.ed-fi.org/Descriptor/WeaponsDescriptor.xml", when it should be "http://www.ed-fi.org/Descriptor/WeaponDescriptor.xml". This is causing this discipline incident to fail to load with an error of "Validation of 'DisciplineIncident' failed. Unable to resolve value 'http://www.ed-fi.org/Descriptor/WeaponsDescriptor.xml/Knife' to an existing 'WeaponDescriptor' resource.". This is also causing two additional records to fail to load because of references to this discipline incident. Fixing the namespace will resolve the issue for all 3 records.