NIEM / NIEM-Releases

Repository for releases of the National Information Exchange Model
https://niem.github.io/niem-releases/
88 stars 23 forks source link

Replace non-breaking spaces in facility codes #133

Closed cdmgtri closed 4 years ago

cdmgtri commented 4 years ago

The OmniClass source for NIEM's 4.0.2 facility codes contained a mixture of break and non-breaking spaces. Non-breaking spaces usually appear like regular spaces in a browser, document editor, spreadsheet program, etc., but are different characters:

<!-- example code value in ASCII with spaces -->
<xs:enumeration value="11-11 14 14">
  <xs:annotation>
    <xs:documentation>Ceremonial Hall</xs:documentation>
  </xs:annotation>
</xs:enumeration>

<!-- example code value in ASCII with non-breaking spaces -->
<xs:enumeration value="11-11&#xa0;11&#xa0;00">
  <xs:annotation>
    <xs:documentation>Convention and Exhibition Facility</xs:documentation>
  </xs:annotation>
</xs:enumeration>

The source of the OmniClass codes, the Construction Specifications Institute (CSI), was contacted and approved an update to the code tables replacing all non-breaking spaces with regular spaces.