Ticket #16 (new enhancement)
Add XML schema and namespace support for ucum-essence.xml
| Reported by: | braeckel | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Keywords: | Cc: |
Description
Hello,
the current version of the XML portion of the specification (currently at http://aurora.regenstrief.org/~ucum/ucum-essence.xml) could benefit from having an XML schema and a namespace. The schema would provide the ability to ensure that new unit definitions conform properly to the definition grammar, while the namespace would allow for unambiguous element and attribute naming when UCUM is combined with other grammars. Together this would allow for a "common" set of units in the UCUM namespace, and allow these definitions to be extended with domain-specific or application-specific definitions in another XML file as needed.
This requires a very minor change to ucum-essence.xml (2 lines or so near the top), changes to some applications that currently use this XML file without a namespace, and the creation of an XML schema. I have created an initial cut at the ucum-essence.xml file and an associated schema which may be found at http://www.rap.ucar.edu/~braeckel/ucum/. All of my comments and questions on this process are documented in the schema file (ucum.xsd).
Thanks, Aaron Braeckel
