You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the current spec, units and dimensions are implicitly treated as references to elements in the current Document. I think it would be better if they were instead treated as first-class "document-level" types and referred to using a Reference elements (or potentially defined inline) within Quantity elements e.g.
Not only would this avoid avoid having to write specific code to handle units and dimensions, as general reference handling code can be reused, but it would also avoid having to check that the correct units and dimensions are present in the document as most common ones could be referenced from the catalog (something that is annoying when editing documents by hand).
The text was updated successfully, but these errors were encountered:
In the current spec, units and dimensions are implicitly treated as references to elements in the current Document. I think it would be better if they were instead treated as first-class "document-level" types and referred to using a Reference elements (or potentially defined inline) within Quantity elements e.g.
Not only would this avoid avoid having to write specific code to handle units and dimensions, as general reference handling code can be reused, but it would also avoid having to check that the correct units and dimensions are present in the document as most common ones could be referenced from the catalog (something that is annoying when editing documents by hand).
The text was updated successfully, but these errors were encountered: