<?xml version="1.0" encoding="UTF-8"?>
<metanorma xmlns="https://www.metanorma.org/ns/standoc" type="semantic" version="2.9.1" schema-version="v2.3.0" flavor="cc">
<bibdata type="standard">
<title language="en" type="main">AsciiUnits syntax specification</title>
<docidentifier primary="true" type="CalConnect">CC/CD 36810:2025</docidentifier><docnumber>36810</docnumber><date type="published"><on>2025-03-14</on></date><date type="updated"><on>2025-03-14</on></date><contributor><role type="author"/><organization>
<name>CalConnect</name>
</organization></contributor><contributor><role type="author"/><person>
<name><completename>Ronald Tse</completename></name>
<affiliation><organization>
<name>Ribose Inc.</name>
</organization></affiliation></person></contributor><contributor><role type="author"/><person>
<name><completename>Nick Nicholas</completename></name>
<affiliation><organization>
<name>Ribose Inc.</name>
</organization></affiliation></person></contributor><contributor><role type="author"><description>committee</description></role><organization>
<name>CalConnect</name>
<subdivision type="Technical committee">
<name>UnitsML</name>
</subdivision></organization></contributor><contributor><role type="publisher"/><organization>
<name>CalConnect</name>
</organization></contributor><edition>1</edition><version>2025-03-14</version><language>en</language><script>Latn</script><status><stage>committee-draft</stage></status><copyright><from>2025</from><owner><organization>
<name>CalConnect</name>
</organization></owner></copyright><ext><doctype>standard</doctype><flavor>cc</flavor></ext></bibdata><metanorma-extension><semantic-metadata><stage-published>false</stage-published></semantic-metadata>
<presentation-metadata><toc-heading-levels>2</toc-heading-levels><html-toc-heading-levels>2</html-toc-heading-levels><doc-toc-heading-levels>2</doc-toc-heading-levels><pdf-toc-heading-levels>2</pdf-toc-heading-levels></presentation-metadata></metanorma-extension>
<boilerplate><copyright-statement>

<clause id="_c5cf428e-e58e-91ce-8fad-9c8b81e242c4" obligation="normative"><p id="_97b8accc-ca32-3e7a-2038-4fa6f2698c15">© 2025 The Calendaring and Scheduling Consortium, Inc.</p>
</clause>
</copyright-statement>

<license-statement>

<clause id="_c4364fd8-2f9b-8fdb-cf27-c7a37bb0b74a" obligation="normative">
<title id="_5ad8fb30-fcae-1072-87a2-407e6b4939ec">Warning for Drafts</title>
<p id="_0426ba5a-69d0-b41e-5aa5-7bdbfb2f6938">This document is not a CalConnect Standard. It is distributed for review and         comment, and is subject to change without notice and may not be referred to as         a Standard. Recipients of this draft are invited to submit, with their         comments, notification of any relevant patent rights of which they are aware         and to provide supporting documentation.</p>
</clause>
</license-statement>

<legal-statement>

<clause id="_30bb02f9-a03f-937c-b3bb-0058ec7c185d" obligation="normative"><p id="_4997ac1f-fe23-c399-660a-4ca594a6abda">All rights reserved. Unless otherwise specified, no part of this         publication may be reproduced or utilized otherwise in any form or by any         means, electronic or mechanical, including photocopying, or posting on the         internet or an intranet, without prior written permission. Permission can         be requested from the address below.</p>
</clause>
</legal-statement>

<feedback-statement>

<clause id="_525641bf-9235-cdcb-5b80-9232a01ea9cc" obligation="normative"><p id="_9c7e0878-01cd-c6a2-8060-5caf3135b547" anchor="boilerplate-name">The Calendaring and Scheduling Consortium, Inc.</p>

<p id="_851786db-d5f1-a086-bdb1-3bd48dc4f17c" anchor="boilerplate-address">4390 Chaffin Lane<br/> McKinleyville<br/> California 95519<br/> United States of America<br/> <br/> <link target="mailto:copyright@calconnect.org"/><br/> <link target="https://www.calconnect.org">www.calconnect.org</link></p>
</clause>
</feedback-statement>
</boilerplate><preface><foreword id="_dd0847ad-f32e-78d9-3039-6e62dcfc8aed" obligation="informative">
<title id="_41c9fad3-d4c1-eecc-4fad-f91704acc026">Foreword</title>
<p id="_f3b75505-c791-a798-1b85-9a7ab3880dd4">The Calendaring and Scheduling Consortium (“CalConnect”) is a global non-profit organization with the aim to facilitate interoperability of collaborative technologies and tools through open standards.</p>

<p id="_cd726b9f-d859-b9a7-cb85-77eed11f1bbb">CalConnect works closely with international and regional partners, of which the full list is available on our website (<link target="https://www.calconnect.org/about/liaisons-and-relationships"/>).</p>

<p id="_e821e1fe-2cf4-934e-4567-582480580b1d">The procedures used to develop this document and those intended for its further maintenance are described in the CalConnect Directives.</p>

<p id="_a315c6da-6756-cb39-fc17-d5455e1864c0">In particular the different approval criteria needed for the different types of CalConnect documents should be noted. This document was drafted in accordance with the editorial rules of the CalConnect Directives.</p>

<p id="_7b196501-b14c-50b1-b186-1bd9cb1811e8">Attention is drawn to the possibility that some of the elements of this document may be the subject of patent rights. CalConnect shall not be held responsible for identifying any or all such patent rights. Details of any patent rights identified during the development of the document will be provided in the Introduction.</p>

<p id="_882b2a20-4eba-ae6e-3dc1-2ffc96683fc9">Any trade name used in this document is information given for the convenience of users and does not constitute an endorsement.</p>

<p id="_30fe0540-3d21-3c26-56d4-605f284bd94a">This document was prepared by Technical Committee <em>UnitsML</em>.</p>
</foreword><introduction id="_d154470f-42f0-cb3b-6892-c2a32b474c9b" obligation="informative">
<title id="_2b2e98d1-114a-3da4-8556-01ae0a724280">Introduction</title>
<clause id="_7fbbb0d6-3755-613b-1042-0022cdf1510e" obligation="informative">
<title id="_b82725b2-8829-fc90-ba08-738fff20cdac">General</title>
<p id="_e3b28332-0d66-dde5-77d5-c37cb9ea57df">UnitsML is a suite of technologies that facilitate digital processing of units of measurement and measurement quantities.</p>

<p id="_2e218ea9-0d6e-2574-2beb-520fadf559a8">AsciiUnits is a text-based syntax for representing units of measurement in a compact and human-readable format, designed to be fully compatible with and interoperable with the UnitsML XML language.</p>
</clause>

<clause id="_2bea4d13-c4e6-2518-f931-a88a133215a9" obligation="informative">
<title id="_3decf6d9-837b-48d8-154e-e6f152177e3c">Purpose</title>
<p id="_f30df4fd-2e49-8796-2e1e-6075ed34af2d">Key features of AsciiUnits include:</p>

<dl id="_1d5072c3-4bc2-5ae9-8d85-e5825fc4467e"><dt>Automatic prefix parsing</dt>
<dd id="_fd02bccb-ac18-68c9-41dd-661ee65977a3"><p id="_9f7eb1a5-bac7-6b97-1feb-956861550232">Prefixes attached to unit codes are automatically recognized and processed.</p>
</dd>
<dt>Automatic dimension calculation</dt>
<dd id="_9b944726-cd03-8abb-b7c1-713a5a7e73bb"><p id="_d1c95e18-6bc6-a3b0-fb45-c27b9240e09f">Dimensions are automatically calculated based on the prefixes and units represented.</p>
</dd>
<dt>Mathematical operations</dt>
<dd id="_374ca9ee-eef7-ecfd-0e50-073d3e804bbf"><p id="_1fbe6f90-bfa8-f7e6-acb1-7e674ebf017f">Support for mathematical operations on units and dimensions such as addition, subtraction, division, exponentiation, square root, grouping and parentheses.</p>
</dd>
<dt>Metadata support</dt>
<dd id="_da6bc7c9-dd2d-635c-010e-ec5a4dd88af4"><p id="_bee47e7b-fb7a-d016-b275-2c3ce07d9875">Ability to add additional information such as quantity references, custom symbols, and names.</p>
</dd>
<dt>UnitsML UnitsDB integration</dt>
<dd id="_d3653220-b539-a094-3ccc-1e76254c958d"><p id="_5edd8abd-e1f6-8269-595c-d4aeb2ec8a1f">The UnitsML UnitsDB database is the basis used by AsciiUnits to define the units and prefixes available for various applications.</p>
</dd>
</dl>
</clause>

<clause id="_fb223fc2-bec5-5031-fb70-f0af9683c5f5" obligation="informative">
<title id="_90af974b-ccc2-1b82-7299-d1396eb7d49e">Differences with other technologies</title>
<clause id="_138ee567-3a7b-0fb6-5159-6fde38730b69" obligation="informative">
<title id="_d8d665b4-4530-982d-d3f0-8fb249281228">UCUM</title>
<p id="_2a1e12b1-95b0-fb2c-9261-57ff07c699db">UCUM is a compact coding system for the representation of units of measurement, primarily designed for electronic data interchange in clinical and healthcare contexts. Originally developed by the Regenstrief Institute and adopted by HL7, UCUM is widely used in electronic health records and clinical information systems.</p>

<p id="_20b95fb2-a973-eebf-ce66-97da05ea09ea">While AsciiUnits and UCUM (Unified Code for Units of Measure) are both text-based systems for representing units of measurement, they differ in several key aspects.</p>

<table id="_ca1f2039-569c-0fd2-76fd-5f57beca7084"><thead><tr id="_18f70199-6048-478f-9418-52b26b1ed33b"><th id="_7e5ad17f-312a-f9ee-7332-9530b7c64ccc" valign="top" align="left">Feature</th>
<th id="_4587284a-b5f3-97a5-b4f8-0c2884e5c3c5" valign="top" align="left">AsciiUnits</th>
<th id="_1d24d4e4-f47a-857a-690e-6049ba822836" valign="top" align="left">UCUM</th>
</tr></thead>
<tbody><tr id="_ad858a84-c4a0-ee91-df45-439c6f01796f"><td id="_37ac080e-710d-f181-016b-bb8dfcd757a2" valign="top" align="left">Syntax approach</td>
<td id="_ac29be6e-5b64-9b6b-ff69-bef76d674f01" valign="top" align="left">Uses intuitive mathematical operators (<tt>*</tt>, <tt>/</tt>, <tt>^</tt>)</td>
<td id="_87832e54-7c99-0280-8c41-4f64bb8f59b3" valign="top" align="left">Uses special characters (<tt>.</tt> for multiplication, <tt>/</tt> for division)</td>
</tr><tr id="_1c33d6ee-f144-5965-9a58-00ffa52e8817"><td id="_ccdcaaeb-383c-4f94-e757-cebf9b22444d" valign="top" align="left">Readability</td>
<td id="_1625ce01-4b0f-c426-de60-f935554f5532" valign="top" align="left">Designed for human readability and ease of typing</td>
<td id="_151357fe-575e-f9c6-14a1-6c1af1d9315e" valign="top" align="left">Optimized for compactness and machine processing</td>
</tr><tr id="_e0baf7d5-7862-f572-f312-59a66bab5f75"><td id="_32c8604a-3cfa-e062-aae6-73e7cbe49748" valign="top" align="left">XML integration</td>
<td id="_975a59de-7449-918c-056e-79d0e257599d" valign="top" align="left">Direct mapping to UnitsML XML</td>
<td id="_879a0dae-ae41-69e1-5d04-b256668875ff" valign="top" align="left">No built-in XML representation</td>
</tr><tr id="_9096d195-ccae-cea5-3fe0-15a96aff6c68"><td id="_b4d7f62a-7561-5eed-1c88-9a9cc53c317b" valign="top" align="left">Metadata support</td>
<td id="_5c12261a-2608-3a98-fb1c-e68454700a8a" valign="top" align="left">Supports additional metadata (quantity references, custom symbols)</td>
<td id="_c35b9b1a-0bf3-cf8e-6d04-8d0cb8075af7" valign="top" align="left">No metadata support</td>
</tr><tr id="_56ebe493-e0af-8f3d-c7f1-9e77a2eb21f8"><td id="_0fdadb14-8039-4edb-e35a-cdaee15aca16" valign="top" align="left">Dimensional analysis</td>
<td id="_b33f9989-330f-5208-bd94-098861c66d3d" valign="top" align="left">Automatic dimension calculation</td>
<td id="_984625ae-44e8-5d8a-24bc-243aec5e0a17" valign="top" align="left">No built-in dimensional analysis</td>
</tr></tbody>
</table>

<example id="_12d386d4-a4b5-5259-10e0-4c1be2e37736">
<name id="_5c85a50f-7a09-d49a-1927-1a0eaab08d10">Example comparison between AsciiUnits and UCUM</name>
<table id="_4a33ed7d-6e35-c8d6-2a71-df4ba7962b63"><colgroup><col width="33.3333%"/><col width="33.3333%"/><col width="33.3334%"/></colgroup><thead><tr id="_e6c4cca1-dd67-8f16-a590-b39ff0f0bd21"><th id="_e6419ff8-b7ed-47ea-554a-2e2ba07a58e8" valign="top" align="left">Unit</th>
<th id="_5f5de0b3-6c5f-162f-737a-22bbf532a755" valign="top" align="left">AsciiUnits</th>
<th id="_73f3240b-607c-24ca-8a87-172768ce431f" valign="top" align="left">UCUM</th>
</tr></thead>
<tbody><tr id="_ab65295f-2264-005a-fbaa-0a2c7f64c4e6"><td id="_9cc2c655-983f-9ba4-c990-e608ffa682f8" valign="top" align="left">Meter</td>
<td id="_d314b748-638e-cd20-0be5-bdbf90ca48bf" valign="top" align="left"><tt>m</tt></td>
<td id="_f06e9f9e-356c-ff1a-ab35-f472860f67fe" valign="top" align="left"><tt>m</tt></td>
</tr><tr id="_e4c0dd1c-bf2b-9a54-6618-26b552b27a9b"><td id="_d8e0c2cf-dc7f-3e01-c0e9-56e9728e8082" valign="top" align="left">Square meter</td>
<td id="_73884415-5e8d-88a8-a4ed-cb678eadc8bd" valign="top" align="left"><tt>m^2</tt></td>
<td id="_e38630c9-e2ac-7ced-f813-edae4e21890d" valign="top" align="left"><tt>m2</tt></td>
</tr><tr id="_14610fbd-b4d7-4d94-8cec-cdad240e3a5b"><td id="_c9a1d11e-7779-3aa9-8bc0-a3d9d36ec965" valign="top" align="left">Meter per second</td>
<td id="_71741f7d-97ed-7af0-4a13-09df8e8c8072" valign="top" align="left"><tt>m/s</tt></td>
<td id="_003a5689-fd2a-30a9-2baf-fab226e38df4" valign="top" align="left"><tt>m/s</tt></td>
</tr><tr id="_f8c71a00-1212-2e4b-1560-27c97eb649bb"><td id="_cba9ba77-79de-337b-8584-22941cb5c01a" valign="top" align="left">Kilogram meter per second squared</td>
<td id="_5bd86f19-dc63-a7d1-c5b7-11523632ec30" valign="top" align="left"><tt>kg*m/s^2</tt></td>
<td id="_fc9ca5a5-767d-d189-20c4-dcaf4767d1b4" valign="top" align="left"><tt>kg.m/s2</tt></td>
</tr><tr id="_24d16d6c-5d83-5e23-4c31-8571e55815db"><td id="_87c14eb0-39a7-628c-94af-0b1734f844bf" valign="top" align="left">Millimole per liter</td>
<td id="_d868d9ce-6ac0-f860-9e1b-ae8a2348b6a7" valign="top" align="left"><tt>mmol/L</tt></td>
<td id="_38dd90c4-72f7-03fd-0c53-4f289d753db3" valign="top" align="left"><tt>mmol/l</tt></td>
</tr></tbody>
</table>
</example>
</clause>

<clause id="_3f70efde-1823-66ba-1e98-859df991995b" obligation="informative">
<title id="_86bf9587-d78f-c35d-5406-fc6b9670a89e">QUDT</title>
<p id="_cfd8b5f2-3216-1eb7-f548-1f061cc718e7">QUDT (Quantities, Units, Dimensions and Types) is a semantic web framework for representing quantities, units, dimensions, and types in a consistent and interoperable manner based on RDF (Resource Description Framework) and OWL (Web Ontology Language).</p>

<p id="_c6376c14-3261-d18b-cdf7-5fd85d4a828f">QUDT is designed to support the semantic web and linked data applications, enabling interoperability between different systems and applications.</p>

<p id="_a7bc5715-0ab3-14eb-e98b-92686c47a506">While AsciiUnits and QUDT share some similarities, they differ in their focus and implementation.</p>

<p id="_ed46f660-98db-b67d-fd78-49c0929b666e">QUDT relies on RDF and OWL for its representation and does not provide a text-based syntax for representing units of measurement. AsciiUnits allows for accessible encoding of units in documents and text files, making it possible for authors to represent measurement quantities in a clear and concise manner.</p>

<p id="_93ff01fc-1648-8122-27f6-330d4ad69a20">AsciiUnits being a text-based syntax, is allows for conversion to and from UnitsML XML, which is a more structured and machine-readable format. This makes AsciiUnits suitable for applications where human readability and ease of typing are important, while QUDT is more focused on semantic web applications.</p>
</clause>

<clause id="_b31b59e8-3678-7ef3-b47b-13f5dce45bfb" obligation="informative">
<title id="_0e2e22b8-585d-186f-8d61-1902047ec461">Digital SI framework</title>
<p id="_36348a2b-15cd-5e05-be3f-3a6d26ee177c">The Digital SI framework is an initiative to modernize the International System of Units (SI) by providing a digital representation of SI units and their relationships. It aims to enhance the accessibility and usability of SI units in digital applications, including scientific computing, data analysis, and machine learning.</p>

<p id="_aae71f0e-28fa-c0b7-d0e4-2dad205695b6">The Digital SI framework provides a comprehensive set of tools and resources for representing SI units, including a digital representation of SI base and derived units, as well as a set of guidelines for using SI units in digital applications.</p>

<p id="_d305fab5-70c0-2abf-355c-5c35b57b9f7b">While AsciiUnits is designed to be a text-based syntax for representing units of measurement, the Digital SI framework focuses on providing a digital representation of SI units and their relationships. AsciiUnits can be used in conjunction with the Digital SI framework to provide a human-readable representation of SI units and their relationships, making it easier for users to work with SI units in digital applications.</p>
</clause>

<clause id="_5e0be320-8db1-b289-8fbf-c1f386a6cf78" obligation="informative">
<title id="_b397ffab-20f9-5924-5f2a-bcd5c88aff6b">Other technologies</title>
<p id="_653fc581-6494-df10-bc47-baca1173e50b">AsciiUnits is designed to be compatible with and interoperable with other technologies for representing units of measurement, including UCUM, QUDT, and the Digital SI framework. It can be used in conjunction with these technologies to provide a comprehensive solution for representing units of measurement in scientific and engineering applications.</p>
</clause>
</clause>
</introduction></preface><sections>

<clause id="_51c9a788-a89b-701c-6823-3d13d3d60b96" type="scope" obligation="normative">
<title id="_f70b6ff6-6131-0e24-81e1-850dbe94b63d">Scope</title>
<p id="_71408b2d-6921-d877-036d-2c0f7cf22d5b">AsciiUnits syntax is designed to be simple and intuitive, allowing users to express complex unit expressions using a straightforward notation.</p>
</clause>



<terms id="_7bc9fd2d-2def-6a41-7955-1e034e03b15c" obligation="normative">
<title id="_dfb2eab2-f980-6365-3c47-81d0eb272962">Terms and definitions</title><p id="_1fbc7bf1-a8de-c3eb-ee88-3b4cf950e61b">For the purposes of this document, the following terms and definitions apply.</p>
<term id="_95dfb8dc-76cf-1b7b-2b4b-7bf647aa0eda" anchor="term-unit"><preferred><expression>
<name>unit</name>
</expression>
</preferred>
<definition id="_d91d7e4b-5727-cd28-b6cc-53d7a6d9efd6"><verbal-definition id="_efdc2861-4d81-e730-45af-5586be842572"><p id="_eb567ac6-778c-c5b3-cf47-cb33fbfbdd46">standard quantity used to express a physical quantity</p></verbal-definition></definition>
 </term>

<term id="_f4e63449-50b6-8b4b-9485-298266d24ca1" anchor="term-basic-unit"><preferred><expression>
<name>basic unit</name>
</expression>
</preferred>
<definition id="_ef90d8cc-a673-e38e-c1e0-85764f6b44e6"><verbal-definition id="_23d38f18-35d5-8113-bb3a-1b5a2b80028a"><p id="_b7d8bbd3-2cc6-b924-6fd8-15375567780d">unit not derived from other units</p></verbal-definition></definition>
 </term>

<term id="_777bbb96-ac34-4693-b332-2428d0350b31" anchor="term-composite-unit"><preferred><expression>
<name>composite unit</name>
</expression>
</preferred>
<definition id="_16e8febe-546a-ac44-c9fc-c2503f7e866e"><verbal-definition id="_d2560113-ee5b-706b-0799-dafe43ef6e07"><p id="_d15f494f-845c-bcae-43e6-a1dd422135fb">unit derived from two or more basic units conjoined by multiplication or division</p></verbal-definition></definition>
 </term>

<term id="_435fda97-de8b-7002-7e95-a65f95c297a8" anchor="term-prefix"><preferred><expression>
<name>prefix</name>
</expression>
</preferred>
<definition id="_214b8905-e0cf-729c-5d2c-606a0cbf6c02"><verbal-definition id="_62d804b7-6141-6d83-f4e5-d0ee6a49f17d"><p id="_530849e7-4fed-6c63-6fa4-8a73f0d06f8e">modifier to a unit with a fixed factor</p></verbal-definition></definition>
 </term>

<term id="_fdb9da81-9ae2-39b6-2cdb-5ac694e5196c" anchor="term-quantity"><preferred><expression>
<name>quantity</name>
</expression>
</preferred>
<definition id="_5997bd13-4f0f-40b0-cc59-78c884815944"><verbal-definition id="_dca25d99-c4d5-5336-9bb9-de2ac1b7e070"><p id="_fd570ce1-6d5e-b0dd-2cb8-4acf41991f0e">type of measurement that is represented by a unit</p></verbal-definition></definition>


 <termexample id="_a1099457-86fd-a1b0-f29f-948412825a53"><p id="_9593bb2f-0323-1bde-0bbe-903dfbf7a75c">distance, moment of force, temperature, energy.</p>
</termexample></term>

<term id="_4cc54863-36b0-1f1e-8a51-edb6a3d5fb5a" anchor="term-dimension"><preferred><expression>
<name>dimension</name>
</expression>
</preferred>
<definition id="_7bfc08fc-2e43-0c55-f95c-49a6532db876"><verbal-definition id="_9e6f7240-97aa-a0de-3ec6-441b857fafeb"><p id="_fe05a134-2ca7-868a-f74e-555215f2a674">basic physical quantity that can be expressed in terms of fundamental quantities</p></verbal-definition></definition>


 <termexample id="_7d11319d-f516-c3e7-ac80-00adab3327af"><p id="_b1ff7ba1-6c94-a70a-7e9d-577ffa276677">length, mass, time, plane angle.</p>
</termexample></term>

<term id="_589563b1-4b75-ab03-00c4-2005c524163d" anchor="term-unit-name"><preferred><expression>
<name>unit name</name>
</expression>
</preferred>
<definition id="_d43e6f75-8f57-cc6d-606f-febbe649e423"><verbal-definition id="_708b6ab7-bb2f-47e0-addd-967b6ee09040"><p id="_308793aa-5e2b-978b-b40b-aa94825bad01">name of a unit</p></verbal-definition></definition>
 </term>

<term id="_f3f5e8e8-8faa-1bf0-96bb-ed7269dd870f" anchor="term-unit-symbol"><preferred><expression>
<name>unit symbol</name>
</expression>
</preferred>
<definition id="_a7879ce0-7cd9-4a2d-8167-c59e2011f0f9"><verbal-definition id="_3be6e2fa-884b-08d4-9c2c-1ab815427cdd"><p id="_cc22d83a-25b4-7d9c-bb9f-c7f365348e73">abbreviated representation of a unit</p></verbal-definition></definition>
 </term>

<term id="_ec4b45fe-ce5c-9f82-568a-97630ee7d4b7" anchor="term-unit-reference"><preferred><expression>
<name>unit reference</name>
</expression>
</preferred>
<definition id="_e83df075-c03d-1d98-63a9-088aba1714c3"><verbal-definition id="_c25d4687-b413-295e-3163-294aff427f17"><p id="_bc1e70a7-cc3b-5bbd-d132-b40ac91ae8df">reference identifier to a unit in a database</p></verbal-definition></definition>
 </term>

<term id="_b757f613-0d7f-db51-75c7-11768b75a18c" anchor="term-unit-dimensions"><preferred><expression>
<name>unit dimensions</name>
</expression>
</preferred>
<definition id="_eec6bda1-96e9-9960-eaad-db85dbe1ac43"><verbal-definition id="_3124ef4e-b88a-e111-559b-64ab47b0fd6f"><p id="_4323abb9-30c9-ccb8-72d7-0d170118951d">fundamental quantities to which the unit applies</p></verbal-definition></definition>
 </term>
</terms>

<clause id="_ddf7c2cf-7173-d17d-fb5c-c30da80fc8c5" obligation="normative">
<title id="_67e51104-2c5e-3193-d9ad-48f3d9d61cd1">Principles</title>
<p id="_e349751f-5218-49a4-ab88-3ff75f2b6870">AsciiUnits follows the following key principles to ensure clarity and usability in representing units.</p>

<dl id="_0ddfbd87-e7da-dc19-2e6d-bcb46555020e"><dt>Typability</dt>
<dd id="_c25b4c9d-8082-f239-46f8-ab0769e158c6"><p id="_cad54a45-3822-031d-15f4-a16e51dc3c44">Symbols are meant to be easily typed on standard keyboards, avoiding complex characters or symbols.</p>
</dd>
<dt>Non-ambiguous</dt>
<dd id="_40d5a278-822f-05c7-efdf-ad618f833fc6"><p id="_45ddf7b9-ce03-3903-b827-b8ba278373c9">Unit representation and composure syntax should lead to exactly one interpretation, ensuring that each expression has an unambiguous meaning.</p>
</dd>
<dt>Extensible</dt>
<dd id="_733527ee-071c-c8f2-205c-ac10360308d7"><p id="_32e4d3a9-f9ca-9868-3494-57e22e322eae">New units and new prefixes can be added to the system without changing the syntax.</p>
</dd>
</dl>
</clause>

<clause id="_626bda67-aad1-d19b-2fbc-381e6e8f06ed" obligation="normative">
<title id="_33e63476-9ab5-2806-2897-64de5a6988d7">Representable elements</title>
<clause id="_fa0c7620-0bcc-48bd-1541-0bdb47e75413" obligation="normative">
<title id="_0175f76d-716b-304d-d5e0-55b2c2c71130">General</title>
<p id="_31b0b404-a74b-97fd-a733-3ef81b70d44a">AsciiUnits allows for the encoding of the following types of elements:</p>

<ul id="_636ff59b-3f70-cd5a-01bf-7d244f9063f9"><li><p id="_9dac46c4-7a13-8da9-f5cd-de17d8d2c99e">Unit systems</p>
</li>
<li><p id="_6e9bf3c2-3c88-2fc0-1796-e8d57af950ce">Units</p>
</li>
<li><p id="_9b5e5199-499f-519c-f0bb-af9c5d979dc8">Dimensions</p>
</li>
<li><p id="_7c5054e3-86ed-e75f-2a5a-4fdb5b055a93">Quantities</p>
</li>
<li><p id="_10ee1c7e-b82a-cb61-3fde-39549956cee9">Prefixes in conjunction with units</p>
</li>
</ul>
</clause>

<clause id="_1245b024-9458-7bcb-410d-b4dea85be056" obligation="normative">
<title id="_c0f77752-fc26-9656-34e2-7588dd3a71b5">Unit systems</title>
<p id="_e2eb69f6-368c-726e-754c-d48beec0f283">A unit system is a collection of units of measure that forms a coherent framework for converting between different units of measurement.</p>

<p id="_1c60e7e4-7693-6023-33d4-71099e4e25e6">UnitsML defines the following unit systems.</p>

<table id="_f612da90-a4ea-b454-40fb-b667ac33475c">
<name id="_e32f1581-38ae-915c-47d4-53253d59e41e">UnitsML unit systems</name>
<thead><tr id="_ea7b1558-5892-f4d0-9518-3a75ea25c5ed"><th id="_314ef669-8439-c7c8-82bc-ddd58f3a3a3c" valign="top" align="left">ID</th>
<th id="_89b75d37-f004-de55-f112-9fc1115e3d42" valign="top" align="left">Name</th>
<th id="_c9727236-90b1-4814-762b-d49c1c194a46" valign="top" align="left">Acceptable to be used in the SI system</th>
</tr></thead>
<tbody><tr id="_e7aeeeba-a829-0499-4070-73f1f2e11089"><td id="_92551c00-89a5-4a8d-31e3-85a618f22b86" valign="top" align="left"><tt>SI_base</tt></td>
<td id="_2330b2dd-a75b-f49e-dd21-a46eafa881d3" valign="top" align="left">SI</td>
<td id="_b78f4cad-10ac-98b3-8624-beea5873add5" valign="top" align="left">true</td>
</tr><tr id="_4b801fce-8bf8-3d90-bcea-95fcada0f850"><td id="_ceb1e25d-63f3-0f12-3016-b9c9cfad2dca" valign="top" align="left"><tt>SI_derived_special</tt></td>
<td id="_07d1c36e-f981-420a-65a0-6673af4cab37" valign="top" align="left">SI-derived special</td>
<td id="_025c57af-c267-4abb-af72-4d658c2af912" valign="top" align="left">true</td>
</tr><tr id="_64b5f6f2-a46c-2f76-a946-ba68f41687f9"><td id="_4d15a5db-6ab0-5ee3-1996-3cd757bae7b5" valign="top" align="left"><tt>SI_derived_non-special</tt></td>
<td id="_586a9b25-4e20-51e9-703f-d61973d142fe" valign="top" align="left">SI-derived non-special</td>
<td id="_17f68e1e-0686-92ec-2365-8f34934ada16" valign="top" align="left">true</td>
</tr><tr id="_78f20cf5-dcb8-34d1-1281-45db0928aa4b"><td id="_ea97cdcc-52c0-5d9a-f57c-5aa3d3283bfc" valign="top" align="left"><tt>non-SI_acceptable</tt></td>
<td id="_f332c293-475a-db8e-98c1-e617b9e93626" valign="top" align="left">non-SI but acceptable to be used together</td>
<td id="_b06fba4d-7940-bb41-f110-7c15127c4600" valign="top" align="left">true</td>
</tr><tr id="_3473dff4-2ce8-204a-4316-f31c35a307b1"><td id="_0cdb0601-53a3-08c0-ff41-b9ce0b53a5ff" valign="top" align="left"><tt>non-SI_not_acceptable</tt></td>
<td id="_9b945cda-c5e0-f9a9-3e02-05a6948fa62b" valign="top" align="left">non-SI and unacceptable to be used together</td>
<td id="_e0fb70e6-6dcb-2006-5d76-cc7752cf05c6" valign="top" align="left">false</td>
</tr></tbody>
</table>

<p id="_7ce4c38e-07ad-7ebe-5006-fc6e91adde2a">Each unit in UnitsML belongs to exactly one unit system.</p>
</clause>

<clause id="_9f1ece42-24e7-6d19-7068-1637126207ce" obligation="normative">
<title id="_21792a49-28bb-2edb-532f-9f76cadb4f55">Units</title>
<p id="_37234279-aac3-184a-ed33-dc5f08acf1bc">The AsciiUnits syntax is designed to represent a wide range of units of measurement and their combinations.</p>

<p id="_fe6049b1-8d7e-4312-8fdb-7e58dc13315f">It includes:</p>

<ul id="_e64ea44e-1e23-ef0e-9b67-f5efae3cbead"><li><p id="_a00219a4-60bb-3716-28ea-1d1c611b2a86">Basic units: Simple units and prefixed units</p>
</li>
<li><p id="_9f347b42-4748-f04a-c9da-aace54860312">Composite units: Units formed by combining basic units through mathematical operations</p>
</li>
</ul>

<p id="_bf8b48f0-6885-88c4-e2a2-7a818a94877d">Basic units available to AsciiUnits are sourced from UnitsDB.</p>

<p id="_04d3a2a6-983c-c6d4-076c-1388b594dca8">UnitsDB is a comprehensive database of units of measurement and their relationships, which
is used to define the units and prefixes available in AsciiUnits for various applications.<note id="_b8343036-41c1-4a31-2631-3a373e0f95dd"><p id="_85501e9b-4d05-3037-4645-31ef67bac7d0">UnitsDB is a part of the UnitsML project and is maintained by CalConnect TC UNITS.</p>
</note></p>


</clause>

<clause id="_ccb3762c-e8b6-f38b-79de-4d96ed4d7f2d" anchor="si-prefixes" obligation="normative">
<title id="_bf0bb3d9-6b6f-252b-e5cb-f1181d13679e">Prefixes</title>
<p id="_2e743b92-215c-8165-623a-e35b9d357be8">A prefix is a modifier to a unit that indicates a fixed factor by which the unit is multiplied.</p>

<p id="_fe1cd04a-653e-50cb-c8f6-7b05c48c30c8">Prefixes can be used in conjunction with units to create prefixed units.</p>

<p id="_b453102b-f3e4-7aef-4f0d-fbfbba24e662">The BIPM SI prefixes are used in AsciiUnits, which include the following:</p>

<table id="_476fec6c-4c80-7bf1-be69-b6bf6fef9e55">
<name id="_ec99b3ee-b551-797e-f511-a9c2338fb8f9">SI prefixes in base 10</name>
<tbody><tr id="_8ccd1c31-d38e-2523-673d-73fd8612544a"><td id="_1fb72429-158f-df14-e90c-143358e41156" valign="top" rowspan="2" align="left">Prefix</td>
<td id="_7ab56a85-be2d-fecb-c110-b36a1c3abd37" valign="top" rowspan="2" align="left">Symbol</td>
<td id="_2cb948ff-e879-343a-d1f3-8e87ce725c94" valign="top" rowspan="2" align="left">Factor</td>
<td id="_e0cbc271-79f7-ba5a-8d6f-80c502533d43" colspan="5" valign="top" align="left">Representations</td>
</tr><tr id="_7e363ef4-e201-2dce-3dc6-d2e4f4eccba3"><td id="_3cefe022-8433-743d-0f54-b93e2c02dc93" valign="top" align="left">ASCII</td>
<td id="_124900c7-2e36-0cc6-e16e-2951ee632078" valign="top" align="left">MathML</td>
<td id="_84aef528-a859-a118-886d-563259d5d63a" valign="top" align="left">HTML</td>
<td id="_aaf774c5-dbfe-0261-e65a-a500e71ca864" valign="top" align="left">LaTeX</td>
<td id="_7f8c7c11-4676-0cb9-71da-ef17e2ade43e" valign="top" align="left">Unicode</td>
</tr><tr id="_4d90563d-c281-980e-366c-a8f56fd0f341"><td id="_68e5d0c5-f584-ed21-7cf6-13acb16ceef6" valign="top" align="left">quetta</td>
<td id="_0a968e9d-aa6b-fbaa-8eb9-5f914039176f" valign="top" align="left"><tt>&lt;mi&gt;Q&lt;/mi&gt;</tt></td>
<td id="_ee7a4000-486a-17d7-d24c-b4afd08d14e3" valign="top" align="left">Q</td>
<td id="_20d751ec-4713-c45a-9958-24c45aa03dd0" valign="top" align="left">10^30</td>
<td id="_6143da11-f148-3f96-06c9-ffdc1133060b" valign="top" align="left"><tt>Q</tt></td>
<td id="_8409b9ba-1ce4-7763-7414-97eb11bbb5a4" valign="top" align="left"><tt>Q</tt></td>
<td id="_93d57d02-ce31-2c3c-3768-c50e9c07a4e1" valign="top" align="left"><tt>Q</tt></td>
<td id="_491fb870-dc2a-4325-2400-f832226fc115" valign="top" align="left"><tt>Q</tt></td>
</tr><tr id="_0569c7a4-ab78-8569-6c56-bebd78ccb850"><td id="_f319613f-dba8-3e54-54fb-60a6e4124309" valign="top" align="left">ronna</td>
<td id="_f459ebb6-3e25-c0c7-f72b-2d82406bb487" valign="top" align="left"><tt>&lt;mi&gt;R&lt;/mi&gt;</tt></td>
<td id="_dae093e2-cd04-1243-13e5-8cdd0ea14317" valign="top" align="left">R</td>
<td id="_c539917f-b9ba-65af-b260-2fa0fe3ea40d" valign="top" align="left">10^27</td>
<td id="_1ccd3e0b-27f9-9b43-07b0-c82f3a234c89" valign="top" align="left"><tt>R</tt></td>
<td id="_0ea466f5-82b5-83cf-a091-50a9ca9a6bc4" valign="top" align="left"><tt>R</tt></td>
<td id="_64172c47-40be-5781-7175-64ae60626c60" valign="top" align="left"><tt>R</tt></td>
<td id="_a09d8863-7ff6-926f-56a6-ce1c79aa2d13" valign="top" align="left"><tt>R</tt></td>
</tr><tr id="_53eb3968-1823-7356-3ee7-81bd262cbebf"><td id="_13d3a284-4496-7b5c-26b2-526da2571e37" valign="top" align="left">yotta</td>
<td id="_11a69e83-5e81-588e-ee48-7399c1a33d05" valign="top" align="left"><tt>&lt;mi&gt;Y&lt;/mi&gt;</tt></td>
<td id="_95bf8128-3b54-65b6-ff78-49bb749c5007" valign="top" align="left">Y</td>
<td id="_50a49848-1a95-c13d-c863-013cb7a63e3e" valign="top" align="left">10^24</td>
<td id="_8261e95f-548f-7ed2-3cde-85a15941a9b2" valign="top" align="left"><tt>Y</tt></td>
<td id="_04e24d03-a0db-8fdd-96b1-072c4b1e14d3" valign="top" align="left"><tt>Y</tt></td>
<td id="_bc30d2b2-ac9d-a40f-860e-7b13450002d3" valign="top" align="left"><tt>Y</tt></td>
<td id="_9381a2ee-b334-9dc3-8a66-bd64b9999c9e" valign="top" align="left"><tt>Y</tt></td>
</tr><tr id="_8f38e231-41f7-635b-ea06-30fc1b32616d"><td id="_b7ab7d46-7904-e55d-4792-26c8b87bbe3d" valign="top" align="left">zetta</td>
<td id="_c71d7029-5315-6d39-cbdc-aac523cfee91" valign="top" align="left"><tt>&lt;mi&gt;Z&lt;/mi&gt;</tt></td>
<td id="_ae776ebf-01eb-148f-2bcd-5dd837e32405" valign="top" align="left">Z</td>
<td id="_d349eebc-1b37-4284-3ea6-addcd88d7c36" valign="top" align="left">10^21</td>
<td id="_96f8ccd7-8605-b12f-219c-836f3cf80628" valign="top" align="left"><tt>Z</tt></td>
<td id="_b1c3f408-3b67-1977-3225-c037012148b8" valign="top" align="left"><tt>Z</tt></td>
<td id="_a8b16ea5-4aeb-a182-6d35-4b90230e2f49" valign="top" align="left"><tt>Z</tt></td>
<td id="_be1c34ea-c721-c383-e2ee-08332d1c05ce" valign="top" align="left"><tt>Z</tt></td>
</tr><tr id="_dc048eb4-9620-666c-85d4-ac094c890e3b"><td id="_216fcac1-e26d-2e8f-200f-10b4f8164886" valign="top" align="left">exa</td>
<td id="_826430d5-657a-d5ff-ecf5-27a2ed6112e1" valign="top" align="left"><tt>&lt;mi&gt;E&lt;/mi&gt;</tt></td>
<td id="_93ce42bb-cd07-d2e1-80e3-0e58713f0e28" valign="top" align="left">E</td>
<td id="_666c483e-a3f8-f21b-397d-ed1c56d04e5b" valign="top" align="left">10^18</td>
<td id="_5dd50866-861e-1e3b-75f5-a33de533d90a" valign="top" align="left"><tt>E</tt></td>
<td id="_ed1ebd58-2513-4334-fb3f-cd64d29d8abb" valign="top" align="left"><tt>E</tt></td>
<td id="_3b93f682-6aae-fb70-dc23-3e4edb784ab5" valign="top" align="left"><tt>E</tt></td>
<td id="_a157be8c-fd0e-18f0-d01a-193cb0208980" valign="top" align="left"><tt>E</tt></td>
</tr><tr id="_f0cb1278-25b6-c6ec-d208-3ccf42a9d33d"><td id="_df862a4b-c8ac-86fd-c86f-41daccd1257c" valign="top" align="left">peta</td>
<td id="_ff23058a-df0d-8ac9-de09-5f34aed26eb4" valign="top" align="left"><tt>&lt;mi&gt;P&lt;/mi&gt;</tt></td>
<td id="_ffe7e154-fc9c-09a1-59e3-c7e9740915fd" valign="top" align="left">P</td>
<td id="_5d932e0b-69c5-35e6-d7bd-616a715d6625" valign="top" align="left">10^15</td>
<td id="_08c3eaa7-ea5e-ed05-c819-70c4d8af64ca" valign="top" align="left"><tt>P</tt></td>
<td id="_16651912-fe5f-de82-af0a-21e1bb837663" valign="top" align="left"><tt>P</tt></td>
<td id="_cdfe5023-7fde-d103-e903-4f860269e3c0" valign="top" align="left"><tt>P</tt></td>
<td id="_a97e7c37-4c03-a1b7-9f98-6268ccf9506a" valign="top" align="left"><tt>P</tt></td>
</tr><tr id="_29853f55-51ba-152e-6b98-7a67f4ab20e5"><td id="_09d935b8-b15b-6ba3-ab77-344f4ce26c46" valign="top" align="left">tera</td>
<td id="_6a4a109a-ae68-8d4a-721d-8689a9a90b29" valign="top" align="left"><tt>&lt;mi&gt;T&lt;/mi&gt;</tt></td>
<td id="_c1832584-7911-0662-8d0f-8fae4d3ac81d" valign="top" align="left">T</td>
<td id="_9d1c7c2d-b6c0-8b8c-a9d9-e8beec944f7d" valign="top" align="left">10^12</td>
<td id="_e9706a91-92c4-9faf-9a82-b426ba6c80fe" valign="top" align="left"><tt>T</tt></td>
<td id="_092c055e-c077-6277-4f11-b88d03af7a85" valign="top" align="left"><tt>T</tt></td>
<td id="_2694bae5-744d-2d41-56e8-6ef0d3e6582e" valign="top" align="left"><tt>T</tt></td>
<td id="_abf418ae-837c-0749-2590-4c218576cd10" valign="top" align="left"><tt>T</tt></td>
</tr><tr id="_59135595-5387-5eb7-b63d-52ddf7c4ac84"><td id="_c65b5eb4-43a9-d2b4-3e90-6dea2f4d9772" valign="top" align="left">giga</td>
<td id="_7d2777f8-7856-05b2-de1c-f822c4a0d2bd" valign="top" align="left"><tt>&lt;mi&gt;G&lt;/mi&gt;</tt></td>
<td id="_4eacbc1f-a16f-0787-de72-a435269c453b" valign="top" align="left">G</td>
<td id="_6003d7bf-7240-bcc0-b4b5-f83eb280f460" valign="top" align="left">10^9</td>
<td id="_25dd640b-b90e-a66f-bfe4-669b585a2c36" valign="top" align="left"><tt>G</tt></td>
<td id="_ec12d390-3ae1-9167-464a-d2babd12a31b" valign="top" align="left"><tt>G</tt></td>
<td id="_bc176b2a-9874-03b9-f03f-f7e0b4fe0a58" valign="top" align="left"><tt>G</tt></td>
<td id="_2885506e-9366-e3d9-c09d-e7e4969ade3a" valign="top" align="left"><tt>G</tt></td>
</tr><tr id="_2611bb03-45b6-2d73-a122-b292ca4c122f"><td id="_9ce0e33d-ef31-2f6f-9828-240ee1928fe4" valign="top" align="left">mega</td>
<td id="_49695d59-e049-d271-764c-e1d0f8186809" valign="top" align="left"><tt>&lt;mi&gt;M&lt;/mi&gt;</tt></td>
<td id="_4c754e61-64e6-69bc-2263-e2c334f1136b" valign="top" align="left">M</td>
<td id="_61411f8b-0f1a-7a16-bd60-4421f522739f" valign="top" align="left">10^6</td>
<td id="_8eb637f5-51a4-d973-8d43-f02ca1458e1f" valign="top" align="left"><tt>M</tt></td>
<td id="_c86cc330-cc45-764a-6957-bd67b492b225" valign="top" align="left"><tt>M</tt></td>
<td id="_58db8e80-1330-08fb-034c-10da2090e74f" valign="top" align="left"><tt>M</tt></td>
<td id="_7fa4417b-ac4a-d3f1-f344-a9e8a8b9c00a" valign="top" align="left"><tt>M</tt></td>
</tr><tr id="_2125b257-870b-3372-76f0-81b7196aeb32"><td id="_b41e0018-77c3-065b-2517-4231b3ad539e" valign="top" align="left">kilo</td>
<td id="_926e2bdf-c972-62ee-dc55-862f1cbd3222" valign="top" align="left"><tt>&lt;mi&gt;k&lt;/mi&gt;</tt></td>
<td id="_09dcfa72-2818-9fbe-977a-947d69db7427" valign="top" align="left">k</td>
<td id="_bbf94296-eee2-94b9-6bd6-348fbdd84dd5" valign="top" align="left">10^3</td>
<td id="_52bb6113-3272-6e4a-80de-08072dc31940" valign="top" align="left"><tt>k</tt></td>
<td id="_7290f872-67fa-f334-31f8-70c9c6a475f1" valign="top" align="left"><tt>k</tt></td>
<td id="_cd2f47df-4f7a-abba-5870-9e6e07cb6a81" valign="top" align="left"><tt>k</tt></td>
<td id="_bce4b9f9-56f9-fafe-4e5d-cb2ca959ee81" valign="top" align="left"><tt>k</tt></td>
</tr><tr id="_f10aba01-831d-4c93-536a-a6e9653476fc"><td id="_dad28f15-09fe-03b3-48d6-c32d2d439f85" valign="top" align="left">hecto</td>
<td id="_b93650e2-ea89-af36-8627-1e8faa09ee93" valign="top" align="left"><tt>&lt;mi&gt;h&lt;/mi&gt;</tt></td>
<td id="_38def04a-53cf-dc9c-c6be-530096ddb94e" valign="top" align="left">h</td>
<td id="_74b27fc7-51ba-ed06-cbd9-c4ff31cd9d01" valign="top" align="left">10^2</td>
<td id="_4e2450ee-c6e7-4633-885d-9569424b18e9" valign="top" align="left"><tt>h</tt></td>
<td id="_cbce431a-93c7-dd1a-1146-70790d427185" valign="top" align="left"><tt>h</tt></td>
<td id="_c0669ca0-7ea9-9347-d45f-5752428885d2" valign="top" align="left"><tt>h</tt></td>
<td id="_82f84b27-11b0-8971-bbac-a4ddca65e7cd" valign="top" align="left"><tt>h</tt></td>
</tr><tr id="_a854eb5c-fddb-9087-a752-859cf0f123f2"><td id="_83405ab1-d13c-5a22-9e6c-a6ddf74c1b08" valign="top" align="left">deka</td>
<td id="_b1d6af19-1bc2-1e2e-9e25-50ff9eb7d7f7" valign="top" align="left"><tt>&lt;mi&gt;da&lt;/mi&gt;</tt></td>
<td id="_d0d92210-675a-fd9a-884d-5fe05b0f9244" valign="top" align="left">da</td>
<td id="_b4766eca-db33-0015-3286-edaf5b8e6232" valign="top" align="left">10^1</td>
<td id="_777a6b62-6ce3-1298-e65a-1c54151909cf" valign="top" align="left"><tt>da</tt></td>
<td id="_9c6fdeaa-5e9f-d7e1-0c1f-167170605ca1" valign="top" align="left"><tt>da</tt></td>
<td id="_0345b68c-0c96-4df4-52f3-ae2c12aa98bd" valign="top" align="left"><tt>da</tt></td>
<td id="_774eeba6-b3cb-5754-4495-81b3a143493f" valign="top" align="left"><tt>da</tt></td>
</tr><tr id="_49b38f1a-00d4-177d-62ae-8c7814b7f549"><td id="_f0f7d666-be41-a232-1205-74fef812a2ef" valign="top" align="left">deci</td>
<td id="_38f335b3-751a-287f-97eb-fd34dae0fb20" valign="top" align="left"><tt>&lt;mi&gt;d&lt;/mi&gt;</tt></td>
<td id="_19f9b28a-6df6-8715-b0d7-97a96e732fe6" valign="top" align="left">d</td>
<td id="_979ff3f3-5db6-25ad-4f34-977d74e7a711" valign="top" align="left">10^-1</td>
<td id="_7df023bc-3fc6-0c23-3b50-e1fa47e6af4b" valign="top" align="left"><tt>d</tt></td>
<td id="_10baabf9-6a7a-950b-a113-16e2c73ad4e3" valign="top" align="left"><tt>d</tt></td>
<td id="_cfa9233f-2782-3e50-dc9e-bf5330c5465d" valign="top" align="left"><tt>d</tt></td>
<td id="_8c8d2e3a-56c1-b4ea-c642-50a635d40c9f" valign="top" align="left"><tt>d</tt></td>
</tr><tr id="_d5704e8b-d3bf-9d95-f1f8-1faee226a48f"><td id="_f610b03f-fa05-237e-b0c7-977028fc6a8d" valign="top" align="left">centi</td>
<td id="_18e86277-6304-b1bc-c0f8-d9599fe4d1e8" valign="top" align="left"><tt>&lt;mi&gt;c&lt;/mi&gt;</tt></td>
<td id="_0fadee1a-3f04-9240-faea-fc0ba33b77fe" valign="top" align="left">c</td>
<td id="_f9ad3a1a-6e01-8978-b7cf-8a10b3325b5f" valign="top" align="left">10^-2</td>
<td id="_6a1b5829-a14b-9120-45d2-422d7b8de538" valign="top" align="left"><tt>c</tt></td>
<td id="_8808b8a6-3b65-9403-946b-51b718e7e5f0" valign="top" align="left"><tt>c</tt></td>
<td id="_61a96aea-6aaa-b44b-da13-6a55cd57ecb5" valign="top" align="left"><tt>c</tt></td>
<td id="_f444e46b-51bf-97f8-7901-df8e494bada4" valign="top" align="left"><tt>c</tt></td>
</tr><tr id="_134bc834-543a-c8a4-b385-59d18144b8a4"><td id="_c5130eb9-737b-b6e8-a21d-8d29a693408d" valign="top" align="left">milli</td>
<td id="_6cd615d4-d49a-8d36-322f-0522fe015e37" valign="top" align="left"><tt>&lt;mi&gt;m&lt;/mi&gt;</tt></td>
<td id="_95adb2ed-870c-54f1-ce2e-1310e2bfcbfb" valign="top" align="left">m</td>
<td id="_3c18639d-d211-aefc-7e21-b97ee07a24ac" valign="top" align="left">10^-3</td>
<td id="_316dd1fd-234f-c208-b107-537505705695" valign="top" align="left"><tt>m</tt></td>
<td id="_880c879d-21e7-5d38-7413-810f7589190a" valign="top" align="left"><tt>m</tt></td>
<td id="_56e74af4-97c5-998d-338e-2d8381843168" valign="top" align="left"><tt>m</tt></td>
<td id="_2c5649b2-71f6-fe11-15cb-12adec1befcf" valign="top" align="left"><tt>m</tt></td>
</tr><tr id="_f0eaee35-894c-3952-93fb-5bc8da2b2dd1"><td id="_c92d658a-d747-9da1-27c9-96523bd90d89" valign="top" align="left">micro</td>
<td id="_589dc4ab-acc5-33fa-48d7-ac2fe411b62b" valign="top" align="left"><tt>&lt;mi&gt;u&lt;/mi&gt;</tt></td>
<td id="_6910b1ac-9d53-c059-ae14-310cea458669" valign="top" align="left">u</td>
<td id="_84a8c99c-8763-ba1d-dcbb-e7c132a706f4" valign="top" align="left">10^-6</td>
<td id="_72940fe1-31b4-d434-92d9-ce0976448156" valign="top" align="left"><tt>u</tt></td>
<td id="_daa84dc9-45fd-3e2c-4b66-99db8f30ee83" valign="top" align="left"><tt>&amp;#xb5;</tt></td>
<td id="_c9d3aa73-395f-f12c-5970-08224d1d14d1" valign="top" align="left"><tt>$mu$</tt></td>
<td id="_dd9ed24f-30ac-e05a-0378-5fa1db821d9d" valign="top" align="left"><tt>μ</tt></td>
</tr><tr id="_606f7154-7c2c-ea33-d7b0-76124189d7e0"><td id="_482cb5af-b900-3846-df5c-88b26b434d3b" valign="top" align="left">nano</td>
<td id="_160d2b2b-3052-02f8-4cd0-87d05e7b25b4" valign="top" align="left"><tt>&lt;mi&gt;n&lt;/mi&gt;</tt></td>
<td id="_44fc625c-e64b-5501-fbc2-ead62490454c" valign="top" align="left">n</td>
<td id="_a0a1870c-d5e8-996e-29e5-00e90e43fa22" valign="top" align="left">10^-9</td>
<td id="_1eb97ece-1619-a82c-b442-52882ccb1eb7" valign="top" align="left"><tt>n</tt></td>
<td id="_e7bf6387-2e14-0e31-9352-df0807ea1a6f" valign="top" align="left"><tt>n</tt></td>
<td id="_0db36388-e5a0-b70e-a632-4fe6d6c695d9" valign="top" align="left"><tt>n</tt></td>
<td id="_25ea0a15-ab06-d92e-6e7a-1003e18a43a7" valign="top" align="left"><tt>n</tt></td>
</tr><tr id="_cc7f599f-46a7-3fe0-02a5-3906c5968740"><td id="_4aeea3b2-e5d2-065f-a2b0-c963677d967e" valign="top" align="left">pico</td>
<td id="_09838af7-feab-520e-2ac0-da51e2a41ba2" valign="top" align="left"><tt>&lt;mi&gt;p&lt;/mi&gt;</tt></td>
<td id="_05bdf40b-667a-e425-9a10-45833db13cad" valign="top" align="left">p</td>
<td id="_7c5dafb5-cdf1-b0ad-7250-3bc195e2b498" valign="top" align="left">10^-12</td>
<td id="_16c69fff-e9b4-6103-c742-46a3fe4b586e" valign="top" align="left"><tt>p</tt></td>
<td id="_2a5da317-4856-fdb9-0dea-77b5f10c102f" valign="top" align="left"><tt>p</tt></td>
<td id="_c13c4a69-73cf-d562-b596-d5686ec3e4ea" valign="top" align="left"><tt>p</tt></td>
<td id="_9fc42350-2830-04cd-2710-f825a078974d" valign="top" align="left"><tt>p</tt></td>
</tr><tr id="_70f551bd-9283-6db1-cb9a-bcbedd6b50be"><td id="_bc54aedd-1dd5-49c2-7cd5-d7ec3cda467f" valign="top" align="left">femto</td>
<td id="_edf6e01d-d5b4-5a15-07e2-912150fac839" valign="top" align="left"><tt>&lt;mi&gt;f&lt;/mi&gt;</tt></td>
<td id="_6b887def-c7da-9408-9629-1e6c62bc81d1" valign="top" align="left">f</td>
<td id="_244314b7-a78d-5825-e807-3ad689ea243f" valign="top" align="left">10^-15</td>
<td id="_41024756-e77a-f7e2-bd12-666524cfd7f0" valign="top" align="left"><tt>f</tt></td>
<td id="_d6aba912-c2e8-719d-8aed-a46ac4cc9b28" valign="top" align="left"><tt>f</tt></td>
<td id="_c4dfdaa5-330a-4c02-c55d-a63e39521aed" valign="top" align="left"><tt>f</tt></td>
<td id="_6b98bdab-5813-9465-1b6d-caae579beee7" valign="top" align="left"><tt>f</tt></td>
</tr><tr id="_dcbf01b8-81ea-148e-f0b7-558069bd1b64"><td id="_051f2b14-395c-670e-d456-72e9ba58a857" valign="top" align="left">atto</td>
<td id="_c9b4c9fb-9003-3146-e615-5055da540eee" valign="top" align="left"><tt>&lt;mi&gt;a&lt;/mi&gt;</tt></td>
<td id="_24719371-3422-a679-8b31-05ced0db8753" valign="top" align="left">a</td>
<td id="_f9e5d656-08b4-3805-c364-0d9fdf57c013" valign="top" align="left">10^-18</td>
<td id="_137e5c38-2b53-6fce-540e-56ed38a0c79d" valign="top" align="left"><tt>a</tt></td>
<td id="_7285f19f-915d-1f13-ad0c-9e8da9b02de6" valign="top" align="left"><tt>a</tt></td>
<td id="_e2b4ecd0-e1d3-12fc-9b23-42166b3c7be2" valign="top" align="left"><tt>a</tt></td>
<td id="_6c21b9b6-9673-0e2a-e6cc-ac92f002fc93" valign="top" align="left"><tt>a</tt></td>
</tr><tr id="_f129ad49-4ae2-d9cf-cf6e-e3160c779073"><td id="_f3be90fa-c167-6b64-f43d-557ea7a4c08f" valign="top" align="left">zepto</td>
<td id="_e274dd3c-f608-cd7b-dd67-f9a535c293e5" valign="top" align="left"><tt>&lt;mi&gt;z&lt;/mi&gt;</tt></td>
<td id="_6554bffc-b0fe-e144-363e-8af14919cba6" valign="top" align="left">z</td>
<td id="_0713fb89-b128-bfa9-c5cb-6ec034e4af81" valign="top" align="left">10^-21</td>
<td id="_fabf3768-6e84-bdd4-a7c4-bdb8804a01c8" valign="top" align="left"><tt>z</tt></td>
<td id="_dec11598-6473-b22c-e0cf-94a623b8804a" valign="top" align="left"><tt>z</tt></td>
<td id="_867794ca-0fe5-9046-dcea-a1356e0dbafc" valign="top" align="left"><tt>z</tt></td>
<td id="_e98e7723-3975-53d3-dc9a-6d445483822f" valign="top" align="left"><tt>z</tt></td>
</tr><tr id="_bf9ab134-ddd6-a50b-3e07-6a2affb027bb"><td id="_1f1309b3-245b-7735-0217-a0a18e9b879a" valign="top" align="left">yocto</td>
<td id="_147565a1-3b41-429c-8deb-5060eecd69ba" valign="top" align="left"><tt>&lt;mi&gt;y&lt;/mi&gt;</tt></td>
<td id="_7c66156c-8995-3f8a-b12f-3f7ca07d53a8" valign="top" align="left">y</td>
<td id="_94ed493a-3f29-a792-43df-f4f717d1e944" valign="top" align="left">10^-24</td>
<td id="_fdb9b287-5fc5-cbce-2fed-0afd8db3106e" valign="top" align="left"><tt>y</tt></td>
<td id="_6a2a630e-3525-e664-c4b7-2cab98ce87b2" valign="top" align="left"><tt>y</tt></td>
<td id="_aa27cb13-7aaf-5944-f9fe-130ba82bda54" valign="top" align="left"><tt>y</tt></td>
<td id="_c3a1535f-08c6-6641-40b1-ab28bc59d647" valign="top" align="left"><tt>y</tt></td>
</tr><tr id="_29d80a2c-1ddb-8a15-c0b8-c4047eff3ef4"><td id="_e6c7c00c-57ee-b62f-126c-c00a80d6e66e" valign="top" align="left">ronto</td>
<td id="_3eecbd6f-b1cb-ab16-374a-60f57c0b47e8" valign="top" align="left"><tt>&lt;mi&gt;r&lt;/mi&gt;</tt></td>
<td id="_239efc73-4e03-128a-230e-8ee2c96231e6" valign="top" align="left">r</td>
<td id="_e141db3f-ebfb-b518-af14-3fcbbee20a58" valign="top" align="left">10^-27</td>
<td id="_cbf6b02d-4316-7083-b58c-7f3fb904ef6c" valign="top" align="left"><tt>r</tt></td>
<td id="_798d4307-0e6e-97c4-6cee-6013c41fe4ae" valign="top" align="left"><tt>r</tt></td>
<td id="_9c8be989-6a6b-6d0d-41e9-eb2bde63d761" valign="top" align="left"><tt>r</tt></td>
<td id="_fc83abc5-d3a1-fc66-c1d5-d7bcad2da266" valign="top" align="left"><tt>r</tt></td>
</tr><tr id="_b6faa9e0-3c01-de37-5fbb-b33cb86cc616"><td id="_85990f2c-5b69-d0ec-6eb2-418b655a3bb0" valign="top" align="left">quecto</td>
<td id="_574882ea-308e-dbff-4294-38e05a7fac21" valign="top" align="left"><tt>&lt;mi&gt;q&lt;/mi&gt;</tt></td>
<td id="_563d55a1-0b1b-b194-bd48-1fc1de5ce266" valign="top" align="left">q</td>
<td id="_f705afe4-ea80-a084-9bb4-9f74bcd4bbbd" valign="top" align="left">10^-30</td>
<td id="_8536a993-2ec2-8ea6-d8f2-9b02960a9271" valign="top" align="left"><tt>q</tt></td>
<td id="_897a98f0-573e-0b30-095e-ebbef317ac47" valign="top" align="left"><tt>q</tt></td>
<td id="_c54e7053-e4c9-a18e-5264-44d0f8759c79" valign="top" align="left"><tt>q</tt></td>
<td id="_b5f7148f-32d5-f8a4-4dac-5a1b30b9d015" valign="top" align="left"><tt>q</tt></td>
</tr></tbody>
</table>

<table id="_ba3106fc-9dd5-c841-aa9b-e2dc0f23b141">
<name id="_cd56627a-a829-b61d-2420-c12e773c0c1e">SI prefixes in binary</name>
<tbody><tr id="_888ec3c2-3c66-9347-f5f9-251945d83031"><td id="_6f7d493b-dc73-7e75-cd5a-c20aee5e6eb8" valign="top" rowspan="2" align="left">Prefix</td>
<td id="_5e154969-c878-2e03-8d00-a28f0bbf3612" valign="top" rowspan="2" align="left">Symbol</td>
<td id="_c174e620-6da8-abd5-355e-e954dc97f8b0" valign="top" rowspan="2" align="left">Factor</td>
<td id="_eb0853aa-1547-bf01-548b-7d3625aa46ab" colspan="5" valign="top" align="left">Representations</td>
</tr><tr id="_d4cd7c11-6644-9e15-2163-e467364a1f5e"><td id="_fef11039-fba4-fd56-9da4-c3c752a903ef" valign="top" align="left">ASCII</td>
<td id="_82616aa8-8904-5c75-3322-7f2719662c6d" valign="top" align="left">MathML</td>
<td id="_92fb0a67-153a-a0fc-b5c9-032e305b4840" valign="top" align="left">HTML</td>
<td id="_b4c9e7a2-ed01-c150-a8d0-0a396ddde473" valign="top" align="left">LaTeX</td>
<td id="_850d7f97-017a-d294-df7c-2228105a3afe" valign="top" align="left">Unicode</td>
</tr><tr id="_ab411e75-ca03-2511-836c-19a81d809a68"><td id="_9fc405f6-49a8-1893-8d3c-6d76378a993d" valign="top" align="left">kibi</td>
<td id="_1ca3855d-c729-c3e3-d7c0-39f81fa0fd7e" valign="top" align="left"><tt>&lt;mi&gt;Ki&lt;/mi&gt;</tt></td>
<td id="_e061b247-dee2-1342-343e-712806bdc09c" valign="top" align="left">Ki</td>
<td id="_aaa588f2-2052-d378-1dd6-0932edf1be10" valign="top" align="left">2^10</td>
<td id="_20f14cc6-a7b2-ee9e-a49a-7492fea41136" valign="top" align="left"><tt>Ki</tt></td>
<td id="_bbcbc9b5-23b5-9944-6d14-85f8c7caa9a0" valign="top" align="left"><tt>Ki</tt></td>
<td id="_47ded2ae-b851-4969-fcc7-0249e1f2bf10" valign="top" align="left"><tt>Ki</tt></td>
<td id="_63e59e5a-0757-c6c0-a164-fb76fd1810d1" valign="top" align="left"><tt>Ki</tt></td>
</tr><tr id="_223bd3a8-f6e7-e0df-0971-9cc38327682e"><td id="_7fb0fddb-a4b2-c660-60a1-bb97a9a1ed78" valign="top" align="left">mebi</td>
<td id="_4fb30710-a902-9633-8ee1-72d99c8431a3" valign="top" align="left"><tt>&lt;mi&gt;Mi&lt;/mi&gt;</tt></td>
<td id="_d2931142-135e-8987-4554-2026eccc0c6a" valign="top" align="left">Mi</td>
<td id="_74e49309-930c-9c98-013c-5c1fa828ee84" valign="top" align="left">2^20</td>
<td id="_9ce9bab0-be05-c18b-1ef3-38e767a261f8" valign="top" align="left"><tt>Mi</tt></td>
<td id="_beb6adf6-0523-e0d7-5cab-8b9fc90d6fc7" valign="top" align="left"><tt>Mi</tt></td>
<td id="_eedbd92f-0e24-0097-106e-b6c36838277e" valign="top" align="left"><tt>Mi</tt></td>
<td id="_ec2d57c4-e171-6e3c-9d5a-e989e1a2cfbb" valign="top" align="left"><tt>Mi</tt></td>
</tr><tr id="_25ca7791-ca67-a867-c4b5-2e3903249028"><td id="_4b3ec16b-f19a-fe47-57a8-c60bdcc3162f" valign="top" align="left">gibi</td>
<td id="_b981cced-53bf-e0f2-8502-06de1576a41b" valign="top" align="left"><tt>&lt;mi&gt;Gi&lt;/mi&gt;</tt></td>
<td id="_4092e657-6f46-5859-d964-d7bf6bfc4022" valign="top" align="left">Gi</td>
<td id="_4f358541-64d7-333f-61c3-818f7519d879" valign="top" align="left">2^30</td>
<td id="_f9f89f82-c890-de41-2346-7b51321be90d" valign="top" align="left"><tt>Gi</tt></td>
<td id="_e4ab2712-8265-4ae2-49ea-f57ae708ce63" valign="top" align="left"><tt>Gi</tt></td>
<td id="_99f3db58-e0f9-26f7-9ab8-678d0deeaa81" valign="top" align="left"><tt>Gi</tt></td>
<td id="_44eda6ac-56fb-db8d-21a1-d724b1ae9387" valign="top" align="left"><tt>Gi</tt></td>
</tr><tr id="_0ee5a570-5d48-0be2-22c5-86848b6c980c"><td id="_cae0dbbf-db18-9b46-6057-a26a0c7cf208" valign="top" align="left">tebi</td>
<td id="_6a553be0-8997-8886-4399-a465cf46b0ee" valign="top" align="left"><tt>&lt;mi&gt;Ti&lt;/mi&gt;</tt></td>
<td id="_4ba19da5-54d4-db39-27d2-f0c2d51eb24d" valign="top" align="left">Ti</td>
<td id="_78b057ba-5360-aba0-dcda-88a8cd85c84a" valign="top" align="left">2^40</td>
<td id="_2b6866ed-83da-8b75-7c43-08a0b29f06eb" valign="top" align="left"><tt>Ti</tt></td>
<td id="_8833c59f-9d63-a1ff-ebc8-06fda518dfec" valign="top" align="left"><tt>Ti</tt></td>
<td id="_90458a51-27a8-70a3-4ea8-854b742a5e10" valign="top" align="left"><tt>Ti</tt></td>
<td id="_dbe2b80b-0f95-0e3b-d1c3-4b48fbadba09" valign="top" align="left"><tt>Ti</tt></td>
</tr><tr id="_b2941831-9b95-57d2-e1a7-938333058c82"><td id="_da1d6a08-a9a8-0cdc-d659-7693bbdd6db2" valign="top" align="left">pebi</td>
<td id="_0f610b17-b80c-80d7-35bd-98cb2062861b" valign="top" align="left"><tt>&lt;mi&gt;Pi&lt;/mi&gt;</tt></td>
<td id="_b5367be5-ebd2-3ee2-b825-60828b8e0caf" valign="top" align="left">Pi</td>
<td id="_584b92dc-f862-7156-de93-852323f4a921" valign="top" align="left">2^50</td>
<td id="_28d8b074-2598-da78-a72c-69060e367fe9" valign="top" align="left"><tt>Pi</tt></td>
<td id="_93caea7c-5653-ded4-404b-a2ebe98a9e4b" valign="top" align="left"><tt>Pi</tt></td>
<td id="_be280ef4-2293-8787-567b-a8560331414e" valign="top" align="left"><tt>Pi</tt></td>
<td id="_c022a902-db7a-923c-fdd2-38641f76fdc4" valign="top" align="left"><tt>Pi</tt></td>
</tr><tr id="_b00f12a7-18e9-f0dd-6c45-1de9f83ef685"><td id="_a31b4071-8f09-4c95-1b30-abf09d8cf6f4" valign="top" align="left">exbi</td>
<td id="_78f5839c-d2cf-38e0-e2c4-e66bc3e84ac8" valign="top" align="left"><tt>&lt;mi&gt;Ei&lt;/mi&gt;</tt></td>
<td id="_1de33a7c-ef7f-529f-93be-2e7a819b001a" valign="top" align="left">Ei</td>
<td id="_b52c1030-5835-0227-4362-10a52e92ba29" valign="top" align="left">2^60</td>
<td id="_5dae8af8-75c8-dfac-3619-70037cea9575" valign="top" align="left"><tt>Ei</tt></td>
<td id="_63305d57-21e0-88d1-d08a-4d79af163110" valign="top" align="left"><tt>Ei</tt></td>
<td id="_a87014a1-f16a-c5c6-88f4-6c5e4bb0e7df" valign="top" align="left"><tt>Ei</tt></td>
<td id="_a7aea875-34a6-573b-be46-c9b9378a5dca" valign="top" align="left"><tt>Ei</tt></td>
</tr><tr id="_cefbeaee-044d-73ac-27e1-21baf66700e5"><td id="_c40aa086-ca85-3d01-e0df-15426f992c9a" valign="top" align="left">zebi</td>
<td id="_de269cd8-8824-6711-cbd9-d753496331b8" valign="top" align="left"><tt>&lt;mi&gt;Zi&lt;/mi&gt;</tt></td>
<td id="_5b1c8523-02e1-1603-2dce-c35c2cde01bd" valign="top" align="left">Zi</td>
<td id="_a17a24a0-6f5c-d47f-b971-e5701536005e" valign="top" align="left">2^70</td>
<td id="_022f72bc-6b3b-6321-5528-f0ead2131ef8" valign="top" align="left"><tt>Zi</tt></td>
<td id="_8f2e0b9c-9871-d9f8-09a4-b2a3dfe61a66" valign="top" align="left"><tt>Zi</tt></td>
<td id="_dad02ac3-7af4-3aca-8b4e-68ee7814694a" valign="top" align="left"><tt>Zi</tt></td>
<td id="_4d5aea13-0147-2b41-d554-6d3d557f0a75" valign="top" align="left"><tt>Zi</tt></td>
</tr><tr id="_041aeb05-5b2f-89d1-5a18-8cf174cf1457"><td id="_f7322c9f-b8aa-edba-dd37-671f54344044" valign="top" align="left">yobi</td>
<td id="_75f1c49b-a056-98e3-20a7-2e4f20282dd0" valign="top" align="left"><tt>&lt;mi&gt;Yi&lt;/mi&gt;</tt></td>
<td id="_cca33d9a-f4b2-f40f-8c94-55e36ea180f2" valign="top" align="left">Yi</td>
<td id="_d44f42f8-71a4-b165-807c-d0da621948a3" valign="top" align="left">2^80</td>
<td id="_7538321f-abf4-036d-3019-fd6450d0c4e6" valign="top" align="left"><tt>Yi</tt></td>
<td id="_9fb5901f-eb6f-6ec9-42e4-5712c1c6a6a7" valign="top" align="left"><tt>Yi</tt></td>
<td id="_bccc8bc2-b11e-55a6-5445-ab2ea80df421" valign="top" align="left"><tt>Yi</tt></td>
<td id="_895621bc-6726-a7f5-9797-c3b7b9e50c7a" valign="top" align="left"><tt>Yi</tt></td>
</tr></tbody>
</table>
</clause>

<clause id="_633b81f2-5044-5824-0223-e6016444049e" obligation="normative">
<title id="_b8f2c3f3-3b5e-813c-f554-e65d604a6744">Dimensions</title>
<p id="_e106fc59-8daa-2eb9-9555-5cbed04dd788">A dimension is a physical quantity that can be expressed in terms of fundamental quantities.</p>

<p id="_148254c1-dba3-b427-8c9c-b5c2b629be95">Basic dimensions are described with only one quantity. More complex dimensions require multiple quantities to be expressed.</p>

<p id="_5400d3ba-3275-46ba-3b1e-62669e17ca94">Dimensions are represented in AsciiUnits using the <tt>dim_</tt> prefix followed by the dimension name.</p>

<p id="_d3af686f-8265-b714-1ec7-d881104c0bde">The collection of dimensions is defined in the UnitsDB database. Each dimension is represented by a unique identifier in the database, of the pattern  <tt>NISTd{n}</tt>.</p>
</clause>

<clause id="_542b105b-8581-21f9-63cb-b29120590dd5" obligation="normative">
<title id="_bb0dcbde-49ad-6587-3da2-032872ce109e">Quantities</title>
<p id="_329aa403-3c43-8afa-a4c7-31a1759e23b1">A quantity is a type of measurement that is represented by a unit.</p>

<p id="_4ebd2e6c-19b5-0adf-459f-5bdc88bf842b">Each quantity is associated with one or more quantity names, exactly one dimension, and one or more units of measurement.</p>

<p id="_d838bed2-6c6d-5b79-b980-9b5d78de7faf">The collection of quantities is defined in the UnitsDB database. Each quantity is represented by a unique identifier in the database, of the pattern  <tt>NISTq{n}</tt>.</p>
</clause>
</clause>

<clause id="_38bbcfac-10e4-4304-9dcb-e92db0bf598b" obligation="normative">
<title id="_e97fc590-1056-c1ce-f2fe-abdb4876695d">Architecture</title>
<clause id="_26a99914-94fa-a9bd-c74f-48588914beca" obligation="normative">
<title id="_24abdf30-6d12-8734-45d3-cd1948186a03">General</title>
<p id="_b1704704-96af-dd17-b1d5-5a92fd25d384">AsciiUnits is a text-based syntax for representing units of measurement.</p>

<p id="_437c39db-1366-cfe6-1d16-e7534c15031d">There are two types of representable forms in AsciiUnits:</p>

<ul id="_68ee667d-e74f-1ade-d104-0fc06a465e46"><li><p id="_22610e59-78ab-9aa7-4ea7-5e3b641ae2a1">Units</p>
</li>
<li><p id="_76fbc770-3362-baa8-c017-d5608a7b6b01">Values of units</p>
</li>
</ul>
</clause>

<clause id="_7b7fc0d8-7c21-46ae-c1ab-43aa28641ac4" obligation="normative">
<title id="_25434c3e-d60e-9892-c18f-feb90a4a77df">Statement</title>
<p id="_23fc2450-747d-edde-ea82-8b4337a41a69">An AsciiUnits statement is a sequence of characters that represents a unit or a value of a unit.</p>

<example id="_1e17bfcf-4de4-4991-fbac-a0906f389487"><sourcecode id="_f7dad145-5136-4157-f4ff-43b032b8f784"><body>kg # kilogram
um # micrometer (meter + prefix of micro)
degK # degree kelvin</body></sourcecode> </example>
</clause>

<clause id="_1e7541fb-7f90-b02d-5b60-19d4317a156e" obligation="normative">
<title id="_b19ccec5-61b5-61d3-c6e6-1fc86017168c">Units</title>
<p id="_787c7cc9-1754-29f7-0184-6811a36a0ad3">A unit statement represented in the AsciiUnits language is composed of up to 3 types of elements in the UnitsML model structure.</p>

<ul id="_746bece9-212a-7f17-7495-f92932612542"><li><p id="_c44fc2bc-6ae5-fbee-c474-a67077567052"><tt>Unit</tt>, which represents the unit itself</p>
</li>
<li><p id="_3aac7545-e00f-b749-3564-1602b9d64151"><tt>Dimension</tt>, which represents the dimension of the unit</p>
</li>
<li><p id="_35fb5e82-2554-a937-6bee-4e2c2b408bdc"><tt>Quantity</tt>, which represents the quantity being described</p>
</li>
</ul>
</clause>

<clause id="_bc71525d-f743-7c61-5caf-b6bb03be624e" obligation="normative">
<title id="_47a7ce60-d8a6-fe8d-137d-a4bfd8e2cd66">Values of units</title>
<p id="_b6e00835-79a6-8e48-ab59-16e8ffd9f76d">A value of a unit is a number that represents a measurement in that unit.</p>

<p id="_ee4c883b-17c6-ca85-2be2-972761c81b8f">A value consists of a numerical component and a unit. For example, in “2.3 kg,” “2.3” is the value representing the quantity and “kg” is the unit.</p>

<example id="_f5116cf4-4067-1ff2-f845-32c0ba5849d3"><sourcecode id="_08482528-5fac-3ac6-c1ef-0b8ba49e4b06"><body>1.5 m # 1.5 meters
2.3 kg # 2.3 kilograms
3.0 m/s # 3.0 meters per second</body></sourcecode> </example>

<p id="_f520deb0-a4ae-995f-58d2-4ea456f70aca">AsciiUnits 1.0 does not support encoding of values of units. This may be added in a future version.</p>
</clause>
</clause>

<clause id="_0e1ffd5c-136b-ddb0-633d-49d700b80560" obligation="normative">
<title id="_9d7e8560-0482-525e-357e-ca490e4c6a85">AsciiUnits prefixes</title>
<p id="_db1220a0-d9fb-892f-ba25-3fb3c44aad46">AsciiUnits statements support the use of prefixes as standalone elements.</p>

<p id="_ef44381f-22de-4386-b7a1-577fbdb0cca4">Prefixes elements are indicated with a prefix of <tt>-</tt> after the prefix code.</p>

<p id="_ce724687-ead7-b01b-27d6-0597f7157096">Syntax:</p>

<sourcecode id="_1af08bee-3e67-e6d2-5c87-1c3694950ddc"><body>{prefix-code}-</body></sourcecode>


<p id="_ec6f8465-5b18-e995-f693-47022d562726">Where,</p>

<dl id="_6d9161c1-d9fd-8fe9-9b1a-9a8abc6f2386"><dt><tt>{prefix-code}</tt></dt>
<dd id="_ff01937b-d1b4-3e9c-8cee-0f3d4efee047"><p id="_9dd01612-3a01-76d8-9626-034049bd41d8">is the prefix code</p>
</dd>
<dt><tt>-</tt></dt>
<dd id="_25c77629-bd81-0f2e-7e22-790ac1a89c25"><p id="_d215bd1e-31ca-dbb5-7807-13c6b8d8107e">indicates that there is no unit associated with the prefix</p>
</dd>
</dl>

<example id="_1d964a90-7a71-29b9-f2c1-19107c1109ec"><p id="_b5645d1f-6829-2aba-0a0b-b48d81e593af">AsciiUnits statement (for deci):</p>

<sourcecode id="_52df09a0-1670-68a5-0ac2-b624d6ebaaa8"><body>d-</body></sourcecode>


<p id="_0360e909-3788-3228-870f-27408f094852">XML:</p>

<sourcecode id="_1604dff8-8246-057b-bc8a-a112840a38d2" lang="xml"><body>&lt;Prefix xmlns="https://schema.unitsml.org/unitsml/1.0" prefixBase="10" prefixPower="-1" xml:id="NISTp10_-1"&gt;
  &lt;PrefixName xml:lang="en"&gt;deci&lt;/PrefixName&gt;
  &lt;PrefixSymbol type="ASCII"&gt;d&lt;/PrefixSymbol&gt;
  &lt;PrefixSymbol type="unicode"&gt;d&lt;/PrefixSymbol&gt;
  &lt;PrefixSymbol type="LaTeX"&gt;d&lt;/PrefixSymbol&gt;
  &lt;PrefixSymbol type="HTML"&gt;d&lt;/PrefixSymbol&gt;
&lt;/Prefix&gt;</body></sourcecode>

</example>

<example id="_543530ef-a92d-f286-caa0-fc0113658db6"><p id="_1dcef3dd-c7df-bbf3-ca0d-3d7e1ed212e9">AsciiUnits statement (for deca):</p>

<sourcecode id="_dd10b8a6-3d29-e43c-fa4e-48b29289ace7"><body>da-</body></sourcecode>


<p id="_78d74c57-ba31-127b-5d59-383ca1d3e40c">XML:</p>

<sourcecode id="_13cda3d5-0707-7615-868d-e381456c9601" lang="xml"><body>&lt;Prefix xmlns="https://schema.unitsml.org/unitsml/1.0" prefixBase="10" prefixPower="1" xml:id="NISTp10_1"&gt;
  &lt;PrefixName xml:lang="en"&gt;deka&lt;/PrefixName&gt;
  &lt;PrefixSymbol type="ASCII"&gt;da&lt;/PrefixSymbol&gt;
  &lt;PrefixSymbol type="unicode"&gt;da&lt;/PrefixSymbol&gt;
  &lt;PrefixSymbol type="LaTeX"&gt;da&lt;/PrefixSymbol&gt;
  &lt;PrefixSymbol type="HTML"&gt;da&lt;/PrefixSymbol&gt;
&lt;/Prefix&gt;</body></sourcecode>

</example>
</clause>

<clause id="_64c023ba-691c-797a-a22b-0039e66dc225" obligation="normative">
<title id="_bcc22e62-8f16-9a6d-ac9f-d3f4d1cc0581">AsciiUnits dimensions</title>
<clause id="_172146d4-89ee-e215-ee4d-df9c5e74c8d0" obligation="normative">
<title id="_5f4b6e39-1b0d-5578-3593-0f263f988427">General</title>
<p id="_923610f2-8b35-7965-f132-e035201eb894">AsciiUnits statements support the use of dimensions as standalone elements, that are not associated with any unit.</p>
</clause>

<clause id="_a09fd6df-9e78-4875-a6c1-9edaf7da8720" obligation="normative">
<title id="_9ca184dd-0965-df1d-7fb4-3af52e6fc909">Basic dimensions</title>
<p id="_909d2b37-54bb-abef-8286-02b19b364e9c">Dimensions elements are indicated with a prefix of <tt>dim_</tt>.</p>

<p id="_46b0fb25-7db5-c381-41a7-eea3d76e7aa3">Syntax:</p>

<sourcecode id="_428782c5-0ccf-ae3a-2eba-eda2b11a6e81"><body>dim_{dimension-code}</body></sourcecode>


<p id="_f0b6c7e7-5a0d-0b14-4837-40c8158c9f0e">Where,</p>

<dl id="_d7e7e096-cc37-f053-2859-4a628292ccf4"><dt><tt>{dimension-code}</tt></dt>
<dd id="_8027c92b-4f72-5223-7624-f07c2b50ab8d"><p id="_23f738cf-7d88-bcdd-a17b-1b46888e143f">is the dimension code</p>
</dd>
</dl>

<example id="_5ff7221c-0feb-bee0-1d3d-207dc7c96445"><sourcecode id="_e175aa54-4b76-5f7f-86a5-a66d6109e549"><body>dim_L       # length dimension
dim_Theta   # temperature dimension
dim_T       # time dimension</body></sourcecode> </example>

<example id="_d3f34d50-ae64-9721-f62d-c1217bbc0784"><p id="_14f4ff48-b8c9-3633-3a77-e4fe45e3acff">AsciiUnits statement (for length):</p>

<sourcecode id="_acc6cfcd-5d17-42b3-462e-08b047e71dc5"><body>dim_L       # length dimension</body></sourcecode>


<p id="_cd42ad6b-26b2-a97a-bc0c-2d270482e58c">XML:</p>

<sourcecode id="_d94ca381-1a68-b783-f2fc-54435c6161e0" lang="xml"><body>&lt;Dimension xmlns="https://schema.unitsml.org/unitsml/1.0" xml:id="D_L"&gt;
  &lt;Length symbol="L" powerNumerator="1"/&gt;
&lt;/Dimension&gt;</body></sourcecode>

</example>
</clause>

<clause id="_fac0e662-69f4-8327-d21a-88da8f271cb5" obligation="normative">
<title id="_4378d382-222b-fd52-51af-916e6cb4f610">Dimensions with mathematical operations</title>
<p id="_e23b8f3f-0ba7-1e44-8002-2abbb7038be4">Dimension elements can be expressed with mathematic operation adjustments.</p>

<p id="_4fb40be6-281f-ae8a-3058-0b2995694a1e">The supported operations are:</p>

<ul id="_6f7fbee4-ab11-30c1-ae19-ef09e1567d15"><li><p id="_9ddf3776-a573-1017-1904-f4762ed89d33"><tt>*</tt> for addition</p>
</li>
<li><p id="_5f477f63-1a97-30ec-77d1-17ea0096194e"><tt>/</tt> for subtraction</p>
</li>
<li><p id="_dd40a8c0-ed8f-b49c-96b1-505a2166ce26"><tt>^</tt> for power</p>
</li>
<li><p id="_e5166749-c8d4-5860-b3de-0b0c5f06fd5e"><tt>sqrt()</tt> for square root</p>
</li>
</ul>

<example id="_0f01ff6f-d8fe-5c5e-9208-4b914ff8f347"><sourcecode id="_e7972cb4-0e60-9962-ca2e-bb89fd7159d6"><body>dim_L^2         # squared length dimension
dim_Theta^10    # temperature dimension to power 10
sqrt(dim_Theta) # square root of temperature dimension</body></sourcecode> </example>

<example id="_770646f8-9dfe-af6f-92c1-fe73767ea196"><p id="_d085aab2-221a-0412-004f-f945ac4a25bc">AsciiUnits statement (for squared length):</p>

<sourcecode id="_d0d1a350-cb51-a6f1-6a57-ae32bbfabf07"><body>dim_L^2</body></sourcecode>


<p id="_75e1f4c3-feb5-4134-8ca1-d5dfd8ff3d1d">XML:</p>

<sourcecode id="_2cb6e745-744f-5408-ed9f-11f8df7ee2bd" lang="xml"><body>&lt;Dimension xmlns="https://schema.unitsml.org/unitsml/1.0" xml:id="D_L2"&gt;
  &lt;Length symbol="L" powerNumerator="2"/&gt;
&lt;/Dimension&gt;</body></sourcecode>

</example>

<example id="_5f60d5ab-30ae-b7be-aea6-b29ac2981b6c"><p id="_42a0f5d1-62da-fc0a-75c5-cdfc2d8a3ca0">AsciiUnits statement (for square root of temperature):</p>

<sourcecode id="_3c0f444c-c6ed-8634-ae42-b36a1855daae"><body>sqrt(dim_Theta)</body></sourcecode>


<p id="_b45ebfc7-2d0a-c401-4203-cf88caac602a">XML:</p>

<sourcecode id="_779de5ae-78c1-0a05-3ae4-5f78c015b123" lang="xml"><body>&lt;Dimension xmlns="https://schema.unitsml.org/unitsml/1.0" xml:id="D_Theta0.5"&gt;
  &lt;ThermodynamicTemperature symbol="Theta" powerNumerator="0.5"/&gt;
&lt;/Dimension&gt;</body></sourcecode>

</example>
</clause>

<clause id="_55fc620c-e8e8-6b97-34c4-de1e813426d4" obligation="normative">
<title id="_ce6fbdeb-8783-9790-67f6-ad37a505cce4">Composed dimensions</title>
<p id="_db5af039-36ed-e1ad-021e-b04106e057e3">Composed dimensions are formed by combining more than one basic dimensions through mathematical operations.</p>

<example id="_bb44160c-da3e-1c2e-dbf3-841e9f7bf46f"><sourcecode id="_c67b38aa-06a8-55e5-bec2-ff915f5d6887"><body>dim_Theta*dim_L^2</body></sourcecode> </example>

<example id="_e5b1fb2a-6fbc-cb34-ada4-dbbe27b2f602"><p id="_5ac63faf-5266-2da0-d2d5-1844db72f275">AsciiUnits statement (for temperature times squared length):</p>

<sourcecode id="_ee2c55c8-76d5-82b0-84f5-6f6d4d5d7081"><body>dim_Theta*dim_L^2</body></sourcecode>


<p id="_b30a922d-fa0e-f476-f855-26ef1b7081ee">XML:</p>

<sourcecode id="_05db0f45-0632-53a2-5f5e-368a0a52877b" lang="xml"><body>&lt;Dimension xmlns="https://schema.unitsml.org/unitsml/1.0" xml:id="D_L2Theta"&gt;
  &lt;Length symbol="L" powerNumerator="2"/&gt;
  &lt;ThermodynamicTemperature symbol="Theta" powerNumerator="1"/&gt;
&lt;/Dimension&gt;</body></sourcecode>

</example>
</clause>
</clause>

<clause id="_bfc276f7-0fb9-5ade-4c3f-b8c8709a0540" anchor="asciiunits-units" obligation="normative">
<title id="_f5bffc4a-904a-86a9-1fe0-0cc85f49254f">AsciiUnits units</title>
<clause id="_6c00d95f-3d56-79b5-5844-011ec4e41df7" obligation="normative">
<title id="_d0fe7de5-6e1e-b142-ea53-7c3704ee5df1">General</title>
<p id="_96fec1af-24df-5e53-181e-53085c926f2f">AsciiUnits supports a wide range of units, including basic units, prefixed units, and composite units.</p>
</clause>

<clause id="_6fd08f1b-17be-6fa1-4e4c-d082f1129e9d" obligation="normative">
<title id="_6e1dd210-55db-32b9-a353-c6c314884732">Basic units</title>
<p id="_c8305cf6-bc40-665c-b77e-a15934c8790d">Basic units are the fundamental units of measurement that are not derived from other units.</p>

<p id="_df7ef00a-d485-1d68-8fc4-a13146b82ef9">These units have the following characteristics:</p>

<ul id="_a521e32d-4dfc-37da-3845-782d8b80ace2"><li><p id="_52bb6fee-ba55-bb28-cc60-1c2504314e80">They are defined as individual entries in the UnitsDB database.</p>
</li>
<li><p id="_9fd00b14-ab6e-e70b-e853-6182648e60aa">Their <tt>RootUnit</tt> element contains a single <tt>EnumeratedRootUnit</tt> element, which represents the unit itself, with the  <tt>unit</tt> attribute set to the unit name, with  <tt>powerNumerator</tt> and <tt>powerDenominator</tt> set to 1.</p>
</li>
</ul>

<p id="_d4151afe-7907-961c-3a6b-ba3434b63a10">Syntax:</p>

<sourcecode id="_7b60526b-ff06-e053-6fd7-e3d92cb42a25"><body>{unit-code}</body></sourcecode>


<p id="_8431a9ee-c326-9208-1b00-83c88dd3940d">Where,</p>

<dl id="_fe351747-a4b4-d327-2b60-7308782d03c7"><dt><tt>{unit-code}</tt></dt>
<dd id="_e12976a9-b1b0-cb29-8f3b-77a6cd7d1fb2"><p id="_6bd79925-f3fb-dc83-70e5-969e10ed94de">is the unit code</p>
</dd>
</dl>

<example id="_424f08c5-7eb1-415d-1b8d-13ad2cc3112e">
<name id="_dbc4a06c-435a-bc91-6aff-e958c7a81565">Examples of basic units</name>
<sourcecode id="_7896f955-136d-18c4-edab-d4487d5cbd97"><body>m       # meter
s       # second
Hz      # hertz
K       # kelvin
rad     # radian</body></sourcecode>

</example>

<p id="_994df087-7c65-40be-571f-2df791bdc222">The XML representation of an AsciiUnits basic unit is demonstrated below.</p>

<ul id="_9486d1e3-3e46-e32f-8f99-c5a9a2917668"><li><p id="_1be477b0-f8fa-6c4f-cf71-60e2aa024bdc">Basic units will not have a <tt>&lt;Prefix&gt;</tt> element since they are not prefixed units.</p>
</li>
<li><p id="_44755071-0389-f9ba-3129-9334edce8432">The <tt>&lt;Dimension&gt;</tt> element is automatically generated based on the unit code.</p>
</li>
</ul>

<example id="_3de418dd-98cd-d832-1fb8-3ea7bceb4a5a">
<name id="_dd14fb4c-46e5-548b-224c-066556fd653f">AsciiUnits representation for <tt>m</tt></name>
<p id="_74271628-3ca8-1e1f-85fd-59dc4ee06f50">AsciiUnits statement:</p>

<sourcecode id="_e79c6940-d3cf-e23e-aa34-1ee2d400efde" lang="ascii"><body>m</body></sourcecode>


<p id="_7c745583-93a9-60b6-b725-410cc13a621c">XML:</p>

<sourcecode id="_09d554d8-b881-b79c-9455-19b967a5bec4" lang="xml"><body>&lt;Unit xmlns="https://schema.unitsml.org/unitsml/1.0" xml:id="U_NISTu1" dimensionURL="#NISTd1"&gt;
  &lt;UnitSystem name="SI" type="SI_derived" xml:lang="en-US"/&gt;
  &lt;UnitName xml:lang="en"&gt;meter&lt;/UnitName&gt;
  &lt;UnitSymbol type="HTML"&gt;m&lt;/UnitSymbol&gt;
  &lt;UnitSymbol type="MathMl"&gt;
    &lt;math xmlns="http://www.w3.org/1998/Math/MathML" display="block"&gt;
      &lt;mi mathvariant="normal"&gt;m&lt;/mi&gt;
    &lt;/math&gt;
  &lt;/UnitSymbol&gt;
&lt;/Unit&gt;

&lt;Dimension xmlns="https://schema.unitsml.org/unitsml/1.0" xml:id="NISTd1"&gt;
  &lt;Length symbol="L" powerNumerator="1"/&gt;
&lt;/Dimension&gt;</body></sourcecode>

</example>

<example id="_4d816f79-8351-f682-d609-157f43ccff72">
<name id="_185d530f-440d-3f9e-0cce-7a611f341240">AsciiUnits representation for <tt>Hz</tt></name>
<p id="_54c7436c-16f9-7c7c-5196-20252a735dee">AsciiUnits statement:</p>

<sourcecode id="_3cc86df7-2c84-5403-ddb9-ca508359678b" lang="ascii"><body>Hz</body></sourcecode>


<p id="_7a896958-b643-8b8b-f70b-8404763b669e">XML:</p>

<sourcecode id="_febc4300-bf07-ef6a-b070-2b8d93657bcb" lang="xml"><body>&lt;Unit xmlns="https://schema.unitsml.org/unitsml/1.0" xml:id="U_NISTu31" dimensionURL="#NISTd24"&gt;
  &lt;UnitSystem name="SI" type="SI_derived" xml:lang="en-US"/&gt;
  &lt;UnitName xml:lang="en"&gt;hertz&lt;/UnitName&gt;
  &lt;UnitSymbol type="HTML"&gt;Hz&lt;/UnitSymbol&gt;
  &lt;UnitSymbol type="MathMl"&gt;
    &lt;math xmlns="http://www.w3.org/1998/Math/MathML" display="block"&gt;
      &lt;mi mathvariant="normal"&gt;Hz&lt;/mi&gt;
    &lt;/math&gt;
  &lt;/UnitSymbol&gt;
&lt;/Unit&gt;

&lt;Dimension xmlns="https://schema.unitsml.org/unitsml/1.0" xml:id="NISTd24"&gt;
  &lt;Time symbol="T" powerNumerator="-1"/&gt;
&lt;/Dimension&gt;

&lt;Quantity xmlns="https://schema.unitsml.org/unitsml/1.0" xml:id="NISTq45" quantityType="base" dimensionURL="#NISTd24"&gt;
  &lt;QuantityName xml:lang="en-US"&gt;frequency&lt;/QuantityName&gt;
&lt;/Quantity&gt;</body></sourcecode>

</example>
</clause>

<clause id="_30c740c3-6b5e-1823-19d3-049114501e3b" obligation="normative">
<title id="_70fc8197-f5b6-06d3-468c-ee2899cdd31a">Prefixed units</title>
<p id="_e5af8b06-e0be-cbf0-8003-ff0e98bbe289">A prefixed unit is a unit that has a prefix attached to it, indicating a fixed factor by which the unit is multiplied.</p>

<p id="_3a557fad-5ba7-2a06-346c-57a393196e8d">Prefixes are defined in the UnitsDB database and are represented in the XML
representation of the unit.<note id="_7cb72750-8c8a-36da-0aea-f003fa6260fd"><p id="_885c7c5b-1c69-9459-ea85-7c081d4f9822">AsciiUnits only support prefixes defined by the BIPM in the SI Brochure, as described in  <xref target="si-prefixes"/>.</p>
</note></p>



<p id="_b3f0f787-6550-11d7-0412-a93a00c200ba">Prefixes are automatically parsed in AsciiUnits.</p>

<p id="_a6ccc6ac-423f-33ff-4f0b-b14fc1d8d8c3">Syntax:</p>

<sourcecode id="_1530d290-2b6a-8ee7-3547-0209a53380b0"><body>{prefix-code}{unit-code}</body></sourcecode>


<p id="_d6946c9b-1e5a-cc0d-6e1d-c5bef424540e">Where,</p>

<dl id="_5ac15798-6e5b-99ef-384f-f9aa31b0ebfa"><dt><tt>{prefix-code}</tt></dt>
<dd id="_18bfe5b0-af13-b07a-bb74-fb576c32ddeb"><p id="_d363d578-e5c3-2db6-d549-271f19566530">is the prefix code</p>
</dd>
<dt><tt>{unit-code}</tt></dt>
<dd id="_45adfe10-3dd0-1d0f-bc6b-05b01bcfc8d1"><p id="_436fd0be-c08e-e809-1584-65dd7e1c99db">is the unit code</p>
</dd>
</dl>

<sourcecode id="_6405896d-8248-7da7-581e-da57a96e1c4a"><body>kg      # kilogram
mm      # millimeter
mW      # milliwatt</body></sourcecode>


<p id="_baa0649d-8601-426f-4bcb-f5ba391a18db">The XML representation of an AsciiUnits prefixed unit is demonstrated below.</p>

<ul id="_947981d6-6674-0368-3e20-d0623fbb786e"><li><p id="_a85ca621-2a45-7c5b-0ad0-777a256fd6cf">Prefixed units will have a <tt>&lt;Prefix&gt;</tt> element since they are prefixed.</p>
</li>
<li><p id="_4a3f8d3a-01ed-5a76-257e-bd262752200c">The <tt>&lt;Dimension&gt;</tt> element is automatically generated based on the unit and the prefix.</p>
</li>
</ul>

<example id="_6b2dc403-2043-ae11-89c4-d3dac894fa0d">
<name id="_9862e457-44af-8d4d-2d3d-b1d2be112870">AsciiUnits representation for <tt>kg</tt></name>
<p id="_ec66476b-0a50-629d-ffba-d8fb743b4a68">AsciiUnits statement:</p>

<sourcecode id="_ea9360ed-ab39-85bd-00c0-fd21d23897dd" lang="ascii"><body>kg</body></sourcecode>


<p id="_8088148e-ba6a-6fb7-f678-b3b4c2c668e6">XML:</p>

<sourcecode id="_604aa94b-e8f6-fac5-dbe9-144ad2dadaec" lang="xml"><body>&lt;Unit xmlns="https://schema.unitsml.org/unitsml/1.0" xml:id="U_NISTu2" dimensionURL="#NISTd2"&gt;
  &lt;UnitSystem name="SI" type="SI_base" xml:lang="en-US"/&gt;
  &lt;UnitName xml:lang="en"&gt;kilogram&lt;/UnitName&gt;
  &lt;UnitSymbol type="HTML"&gt;kg&lt;/UnitSymbol&gt;
  &lt;UnitSymbol type="MathMl"&gt;
    &lt;math xmlns="http://www.w3.org/1998/Math/MathML" display="block"&gt;
      &lt;mi mathvariant="normal"&gt;kg&lt;/mi&gt;
    &lt;/math&gt;
  &lt;/UnitSymbol&gt;
  &lt;RootUnits&gt;
    &lt;EnumeratedRootUnit unit="gram" prefix="k"/&gt;
  &lt;/RootUnits&gt;
&lt;/Unit&gt;

&lt;Prefix xmlns="https://schema.unitsml.org/unitsml/1.0" prefixBase="10" prefixPower="3" xml:id="NISTp10_3"&gt;
  &lt;PrefixName xml:lang="en"&gt;kilo&lt;/PrefixName&gt;
  &lt;PrefixSymbol type="ASCII"&gt;k&lt;/PrefixSymbol&gt;
  &lt;PrefixSymbol type="unicode"&gt;k&lt;/PrefixSymbol&gt;
  &lt;PrefixSymbol type="LaTeX"&gt;k&lt;/PrefixSymbol&gt;
  &lt;PrefixSymbol type="HTML"&gt;k&lt;/PrefixSymbol&gt;
&lt;/Prefix&gt;

&lt;Dimension xmlns="https://schema.unitsml.org/unitsml/1.0" xml:id="NISTd2"&gt;
  &lt;Mass symbol="M" powerNumerator="1"/&gt;
&lt;/Dimension&gt;

&lt;Quantity xmlns="https://schema.unitsml.org/unitsml/1.0" xml:id="NISTq2" quantityType="base" dimensionURL="#NISTd2"&gt;
  &lt;QuantityName xml:lang="en-US"&gt;mass&lt;/QuantityName&gt;
&lt;/Quantity&gt;</body></sourcecode>

</example>
</clause>

<clause id="_13d70cc0-12f6-74cd-4aea-e434813bbb4c" obligation="normative">
<title id="_e505976e-69d4-209c-645b-f458b793ab85">Composite units</title>
<clause id="_19c9affa-d332-a468-98dd-2250891b1223" obligation="normative">
<title id="_9b785778-77fa-acb6-6409-40cf8f7f5522">General</title>
<p id="_23605d75-bc6a-a8df-8e7c-62235f8a0a38">Composite units are units that are derived from two or more basic units conjoined by a mathematical operation.</p>

<p id="_62b2bc4a-6b6d-f610-7555-d1bf8e6611ca">Mathematical operations are represented in AsciiUnits using the following symbols:</p>

<ul id="_d5e564c3-a72e-e254-afee-65fd93f24c25"><li><p id="_685df87a-90c2-0f36-85cd-16c4952f66b0"><tt>*</tt> for multiplication</p>
</li>
<li><p id="_cfc9ae64-43e5-c514-ac6b-efee7cd15d70"><tt>/</tt> for division</p>
</li>
<li><p id="_4cc4c811-7d1b-36af-f40a-cd8983113fa8"><tt>^</tt> for exponentiation</p>
</li>
<li><p id="_cc287046-8da1-b651-4cf7-83c10394044b"><tt>sqrt()</tt> for square root</p>
</li>
<li><p id="_a3c63e4e-9019-8a8b-08ae-bd66a00c5fd9"><tt>()</tt> for grouping</p>
</li>
</ul>

<p id="_c8183a21-8689-47d0-da2e-f7fdda6ebcac">The XML representation of an AsciiUnits composite unit:</p>

<ul id="_20ff536c-d45c-fab9-165d-a7129a9141ee"><li><p id="_161a13d1-400f-bfbc-a288-6700ae05cc39">Prefixed units inside the composite will have a <tt>&lt;Prefix&gt;</tt> element.</p>
</li>
<li><p id="_ecf89e76-1980-6604-eebe-c67518cc64e5">The <tt>&lt;Dimension&gt;</tt> element is automatically generated based on the final mathematical evaluation of the involved units and prefixes.</p>
</li>
</ul>
</clause>

<clause id="_efb2482a-f20a-4914-031c-3688c9191e81" obligation="normative">
<title id="_653f0a1a-e4ae-8fd2-76eb-c01ba105d63a">Multiplication</title>
<p id="_e59aff89-459c-a9b0-ec9b-d8417672587e">Units are multiplied using <tt>*</tt></p>

<example id="_b9a63d52-8632-d8ee-5750-c0805552fbb2"><sourcecode id="_dcc8b588-4fdc-b843-d30e-095b6ca94635"><body>kg*m    # kilogram times meter</body></sourcecode> </example>

<example id="_807c10ba-db63-d51b-ead5-a0ea683e2f95"><p id="_553f85c5-e489-6bf6-b5aa-138618a4bbac">AsciiUnits statement (for ampere times coulomb):</p>

<sourcecode id="_8ed2282a-5337-5b43-7ad3-512f9047d7d0"><body>A*C</body></sourcecode>


<p id="_16fb2c7b-f184-776c-78d4-de6ede831f93">XML:</p>

<sourcecode id="_4afc8bd9-1231-cbad-2a28-544bf697f86c" lang="xml"><body>&lt;Unit xmlns="https://schema.unitsml.org/unitsml/1.0" xml:id="U_A.C" dimensionURL="#D_M3I4"&gt;
  &lt;UnitSystem name="SI" type="SI_derived" xml:lang="en-US"/&gt;
  &lt;UnitName xml:lang="en"&gt;A*C&lt;/UnitName&gt;
  &lt;UnitSymbol type="HTML"&gt;A&amp;#x22c5;C&lt;/UnitSymbol&gt;
  &lt;UnitSymbol type="MathMl"&gt;
    &lt;math xmlns="http://www.w3.org/1998/Math/MathML" display="block"&gt;
      &lt;mi mathvariant="normal"&gt;A&lt;/mi&gt;
      &lt;mo&gt;&amp;#x22c5;&lt;/mo&gt;
      &lt;mi mathvariant="normal"&gt;C&lt;/mi&gt;
    &lt;/math&gt;
  &lt;/UnitSymbol&gt;
  &lt;RootUnits&gt;
    &lt;EnumeratedRootUnit unit="ampere"/&gt;
    &lt;EnumeratedRootUnit unit="coulomb" powerNumerator="1"/&gt;
  &lt;/RootUnits&gt;
&lt;/Unit&gt;

&lt;Dimension xmlns="https://schema.unitsml.org/unitsml/1.0" xml:id="D_M3I4"&gt;
  &lt;Mass symbol="M" powerNumerator="1"/&gt;
  &lt;ElectricCurrent symbol="I" powerNumerator="4"/&gt;
&lt;/Dimension&gt;</body></sourcecode>

</example>
</clause>

<clause id="_60b88663-2ff2-0ecb-b6d4-2363ccd16297" obligation="normative">
<title id="_1fa7acce-ba24-9581-d0e6-7666aa790757">Division</title>
<p id="_c0e63255-17d3-5551-5f2f-728dd12b74ac">Units are divided using <tt>/</tt></p>

<example id="_58499d4a-33b4-0d64-1b17-48a463761acf"><p id="_81a4caec-e7f9-643b-59ba-2b9781799739">AsciiUnits statement (for GHz per volt):</p>

<sourcecode id="_b03cd693-64c0-8d92-d3ba-72d0931ba4fb"><body>GHz//V</body></sourcecode>


<p id="_2b906795-7988-65d0-dc5e-b03be10bf197">XML:</p>

<sourcecode id="_af840d37-8887-07c8-3093-b9f15f2ad847" lang="xml"><body>&lt;Unit xmlns="https://schema.unitsml.org/unitsml/1.0" xml:id="U_GHz.V-1" dimensionURL="#D_L-2M-1T2I"&gt;
  &lt;UnitSystem name="SI" type="SI_derived" xml:lang="en-US"/&gt;
  &lt;UnitName xml:lang="en"&gt;GHz*V^-1&lt;/UnitName&gt;
  &lt;UnitSymbol type="HTML"&gt;GHz&amp;#x22c5;V&lt;sup&gt;&amp;#x2212;1&lt;/sup&gt;&lt;/UnitSymbol&gt;
  &lt;UnitSymbol type="MathMl"&gt;
    &lt;math xmlns="http://www.w3.org/1998/Math/MathML" display="block"&gt;
      &lt;mi mathvariant="normal"&gt;GHz&lt;/mi&gt;
      &lt;mo&gt;&amp;#x22c5;&lt;/mo&gt;
      &lt;msup&gt;
        &lt;mrow&gt;
          &lt;mi mathvariant="normal"&gt;V&lt;/mi&gt;
        &lt;/mrow&gt;
        &lt;mrow&gt;
          &lt;mo&gt;&amp;#x2212;&lt;/mo&gt;
          &lt;mn&gt;1&lt;/mn&gt;
        &lt;/mrow&gt;
      &lt;/msup&gt;
    &lt;/math&gt;
  &lt;/UnitSymbol&gt;
  &lt;RootUnits&gt;
    &lt;EnumeratedRootUnit unit="hertz" prefix="G"/&gt;
    &lt;EnumeratedRootUnit unit="volt" powerNumerator="-1"/&gt;
  &lt;/RootUnits&gt;
&lt;/Unit&gt;

&lt;Prefix xmlns="https://schema.unitsml.org/unitsml/1.0" prefixBase="10" prefixPower="9" xml:id="NISTp10_9"&gt;
  &lt;PrefixName xml:lang="en"&gt;giga&lt;/PrefixName&gt;
  &lt;PrefixSymbol type="ASCII"&gt;G&lt;/PrefixSymbol&gt;
  &lt;PrefixSymbol type="unicode"&gt;G&lt;/PrefixSymbol&gt;
  &lt;PrefixSymbol type="LaTeX"&gt;G&lt;/PrefixSymbol&gt;
  &lt;PrefixSymbol type="HTML"&gt;G&lt;/PrefixSymbol&gt;
&lt;/Prefix&gt;

&lt;Dimension xmlns="https://schema.unitsml.org/unitsml/1.0" xml:id="D_L-2M-1T2I"&gt;
  &lt;Length symbol="L" powerNumerator="-2"/&gt;
  &lt;Mass symbol="M" powerNumerator="-1"/&gt;
  &lt;Time symbol="T" powerNumerator="2"/&gt;
  &lt;ElectricCurrent symbol="I" powerNumerator="1"/&gt;
&lt;/Dimension&gt;</body></sourcecode>

</example>
</clause>

<clause id="_afab6f4b-9942-8a96-4b04-376415e007ce" obligation="normative">
<title id="_52397e82-1286-270a-f3ac-3fceb9d44cc2">Grouping</title>
<p id="_8a768d8f-79de-ecbc-4dcb-82439cc57423">Parentheses define order of operations</p>

<sourcecode id="_ba9c226b-944d-3800-1eb5-763a4d8f65c1"><body>K/(kg*m)    # kelvin divided by (kilogram times meter)
J/(kg*K)    # joule per (kilogram kelvin)</body></sourcecode>


<example id="_c0508cb0-f88a-c969-e1a3-0e0620d52cb0"><p id="_bbf8f7af-87d4-9ed2-94fd-5b24d8081c3f">AsciiUnits statement (for joule per kilogram kelvin):</p>

<sourcecode id="_ce9f4069-f639-3bb5-3eb6-6881b5dfaed2"><body>unitsml(m^(-2))</body></sourcecode>


<p id="_e55b8f42-309d-2c6a-9f03-bc62abe75c8a">XML:</p>

<sourcecode id="_4b398852-68c8-ebc1-c48a-c9394275a618" lang="xml"><body>&lt;Unit xmlns="https://schema.unitsml.org/unitsml/1.0" xml:id="U_m-2" dimensionURL="#D_L-2"&gt;
  &lt;UnitSystem name="SI" type="SI_derived" xml:lang="en-US"/&gt;
  &lt;UnitName xml:lang="en"&gt;m^-2&lt;/UnitName&gt;
  &lt;UnitSymbol type="HTML"&gt;m&lt;sup&gt;&amp;#x2212;2&lt;/sup&gt;&lt;/UnitSymbol&gt;
  &lt;UnitSymbol type="MathMl"&gt;
    &lt;math xmlns="http://www.w3.org/1998/Math/MathML" display="block"&gt;
      &lt;msup&gt;
        &lt;mrow&gt;
          &lt;mi mathvariant="normal"&gt;m&lt;/mi&gt;
        &lt;/mrow&gt;
        &lt;mrow&gt;
          &lt;mo&gt;&amp;#x2212;&lt;/mo&gt;
          &lt;mn&gt;2&lt;/mn&gt;
        &lt;/mrow&gt;
      &lt;/msup&gt;
    &lt;/math&gt;
  &lt;/UnitSymbol&gt;
&lt;/Unit&gt;

&lt;Dimension xmlns="https://schema.unitsml.org/unitsml/1.0" xml:id="D_L-2"&gt;
  &lt;Length symbol="L" powerNumerator="-2"/&gt;
&lt;/Dimension&gt;</body></sourcecode>

</example>
</clause>

<clause id="_29591321-1a78-62df-12d3-929ade76dfd8" obligation="normative">
<title id="_6111f932-faa8-2e07-0436-671b55171638">Exponents</title>
<p id="_c3ec327f-334f-6711-9108-6f73fb785b9c">Syntax:</p>

<sourcecode id="_99533fec-9994-3914-f1e0-336cd5994442"><body>{unit-code}^{exponent}</body></sourcecode>


<p id="_bbbfa03d-133f-08fa-16b0-7400dba1bd34">Where,</p>

<dl id="_9d84bdb6-c21b-1c06-3a2c-c0c987147a74"><dt><tt>{unit-code}</tt></dt>
<dd id="_8182dcea-f4a7-cadb-906d-f44f932b885d"><p id="_f10f1ff9-1667-4e20-d216-45a80c5be9e2">is the unit code</p>
</dd>
<dt><tt>{exponent}</tt></dt>
<dd id="_4d0dd403-1da0-6096-fb5d-2b48d8b3760e"><p id="_2f69987f-4ac0-2417-0ae9-bdd5cf7a802a">is the exponent</p>
</dd>
</dl>

<example id="_484bd103-3168-45c4-a40c-36c45309018b"><sourcecode id="_469b3a7a-d1a3-6e45-9611-b1cceb797561"><body>m^2     # square meter</body></sourcecode>


<p id="_4884c042-955b-353e-cd2c-130934c3a7b4">XML:</p>

<sourcecode id="_1e2c9482-5b53-9346-c57d-15f8872b84e1" lang="xml"><body>&lt;Unit xmlns="https://schema.unitsml.org/unitsml/1.0" xml:id="U_m2" dimensionURL="#D_L2"&gt;
  &lt;UnitSystem name="SI" type="SI_derived" xml:lang="en-US"/&gt;
  &lt;UnitName xml:lang="en"&gt;m^2&lt;/UnitName&gt;
  &lt;UnitSymbol type="HTML"&gt;m&lt;sup&gt;&amp;#x2212;2&lt;/sup&gt;&lt;/UnitSymbol&gt;
  &lt;UnitSymbol type="MathMl"&gt;
    &lt;math xmlns="http://www.w3.org/1998/Math/MathML" display="block"&gt;
      &lt;msup&gt;
        &lt;mrow&gt;
          &lt;mi mathvariant="normal"&gt;m&lt;/mi&gt;
        &lt;/mrow&gt;
        &lt;mrow&gt;
          &lt;mo&gt;&amp;#x2212;&lt;/mo&gt;
          &lt;mn&gt;2&lt;/mn&gt;
        &lt;/mrow&gt;
      &lt;/msup&gt;
    &lt;/math&gt;
  &lt;/UnitSymbol&gt;
&lt;/Unit&gt;

&lt;Dimension xmlns="https://schema.unitsml.org/unitsml/1.0" xml:id="D_L2"&gt;
  &lt;Length symbol="L" powerNumerator="2"/&gt;
&lt;/Dimension&gt;</body></sourcecode>

</example>

<p id="_d03add93-ffda-ef24-9d00-4923425163e2">Negative exponents are allowed.</p>

<example id="_e52fd77a-0df7-f5b0-3c90-c496aaceb22a"><sourcecode id="_c67b6c7e-e152-1704-7e87-d6ddd6a6a9db"><body>kg^-2     # per kilogram
kg^(-2)   # per kilogram with group</body></sourcecode>


<p id="_c1ab8b29-d93e-4d70-4487-6b7ab9d7c1c6">XML:</p>

<sourcecode id="_d1942b45-fdba-6f41-470d-8434376ef399" lang="xml"><body>&lt;Unit xmlns="https://schema.unitsml.org/unitsml/1.0" xml:id="U_kg-2" dimensionURL="#D_M-2"&gt;
  &lt;UnitSystem name="SI" type="SI_base" xml:lang="en-US"/&gt;
  &lt;UnitName xml:lang="en"&gt;kg^-2&lt;/UnitName&gt;
  &lt;UnitSymbol type="HTML"&gt;kg&lt;sup&gt;&amp;#x2212;2&lt;/sup&gt;&lt;/UnitSymbol&gt;
  &lt;UnitSymbol type="MathMl"&gt;
    &lt;math xmlns="http://www.w3.org/1998/Math/MathML" display="block"&gt;
      &lt;msup&gt;
        &lt;mrow&gt;
          &lt;mi mathvariant="normal"&gt;kg&lt;/mi&gt;
        &lt;/mrow&gt;
        &lt;mrow&gt;
          &lt;mo&gt;&amp;#x2212;&lt;/mo&gt;
          &lt;mn&gt;2&lt;/mn&gt;
        &lt;/mrow&gt;
      &lt;/msup&gt;
    &lt;/math&gt;
  &lt;/UnitSymbol&gt;
  &lt;RootUnits&gt;
    &lt;EnumeratedRootUnit unit="gram" prefix="k" powerNumerator="-2"/&gt;
  &lt;/RootUnits&gt;
&lt;/Unit&gt;

&lt;Prefix xmlns="https://schema.unitsml.org/unitsml/1.0" prefixBase="10" prefixPower="3" xml:id="NISTp10_3"&gt;
  &lt;PrefixName xml:lang="en"&gt;kilo&lt;/PrefixName&gt;
  &lt;PrefixSymbol type="ASCII"&gt;k&lt;/PrefixSymbol&gt;
  &lt;PrefixSymbol type="unicode"&gt;k&lt;/PrefixSymbol&gt;
  &lt;PrefixSymbol type="LaTeX"&gt;k&lt;/PrefixSymbol&gt;
  &lt;PrefixSymbol type="HTML"&gt;k&lt;/PrefixSymbol&gt;
&lt;/Prefix&gt;

&lt;Dimension xmlns="https://schema.unitsml.org/unitsml/1.0" xml:id="D_M-2"&gt;
  &lt;Mass symbol="M" powerNumerator="-2"/&gt;
&lt;/Dimension&gt;</body></sourcecode>

</example>
</clause>

<clause id="_db05d478-94c6-434c-2731-d40db863113c" obligation="normative">
<title id="_7543d2af-4c78-d0d4-0d90-dda69461d928">Square root</title>
<p id="_636b9c1e-37b5-621b-d220-10904beefaa1">Using <tt>sqrt()</tt> function.</p>

<example id="_abefb645-1793-9b72-6452-5341ac9ef4c0">
<name id="_3a66bddb-cdcc-5f1a-88a2-92da21c21332">Statement with square root on a basic unit</name>
<p id="_784eea22-786e-1a10-6ddd-43bfc60d5ced">AsciiUnits statement (for square root of hertz):</p>

<sourcecode id="_c1f6a8c5-b47b-c036-3fa9-567da4e1282d"><body>sqrt(Hz)</body></sourcecode>


<p id="_f9a0cbec-9186-090b-e4ed-c4b88b14be86">XML:</p>

<sourcecode id="_7bc65a71-3ee3-a29f-e634-02636935cfe1" lang="xml"><body>&lt;Unit xmlns="https://schema.unitsml.org/unitsml/1.0" xml:id="U_Hz0.5" dimensionURL="#D_T-0.5"&gt;
  &lt;UnitSystem name="SI" type="SI_derived" xml:lang="en-US"/&gt;
  &lt;UnitName xml:lang="en"&gt;Hz^0.5&lt;/UnitName&gt;
  &lt;UnitSymbol type="HTML"&gt;Hz&lt;sup&gt;0.5&lt;/sup&gt;&lt;/UnitSymbol&gt;
  &lt;UnitSymbol type="MathMl"&gt;
    &lt;math xmlns="http://www.w3.org/1998/Math/MathML" display="block"&gt;
      &lt;msup&gt;
        &lt;mrow&gt;
          &lt;mi mathvariant="normal"&gt;Hz&lt;/mi&gt;
        &lt;/mrow&gt;
        &lt;mrow&gt;
          &lt;mn&gt;0.5&lt;/mn&gt;
        &lt;/mrow&gt;
      &lt;/msup&gt;
    &lt;/math&gt;
  &lt;/UnitSymbol&gt;
&lt;/Unit&gt;

&lt;Dimension xmlns="https://schema.unitsml.org/unitsml/1.0" xml:id="D_T-0.5"&gt;
  &lt;Time symbol="T" powerNumerator="-0.5"/&gt;
&lt;/Dimension&gt;</body></sourcecode>

</example>

<example id="_2ebea43c-a884-c5f7-2f76-84cda73fc42d">
<name id="_350f09e4-46df-94b8-7a04-e77f063fdcd9">Statement with square root on a prefixed unit</name>
<p id="_0b2e476f-b8d1-e8ea-bf57-0842578c86a9">AsciiUnits statement (for square root of millimeter):</p>

<sourcecode id="_694a387d-0c6a-2b39-cafd-b89521269e76"><body>sqrt(mm)</body></sourcecode>


<p id="_9a453991-fbf8-bdf4-11f9-41e7870775f1">XML:</p>

<sourcecode id="_5f132d41-3dcc-94e9-fd73-1053c9fe6f6d" lang="xml"><body>&lt;Unit xmlns="https://schema.unitsml.org/unitsml/1.0" xml:id="U_mm0.5" dimensionURL="#D_L0.5"&gt;
  &lt;UnitSystem name="SI" type="SI_derived" xml:lang="en-US"/&gt;
  &lt;UnitName xml:lang="en"&gt;mm^0.5&lt;/UnitName&gt;
  &lt;UnitSymbol type="HTML"&gt;mm&lt;sup&gt;0.5&lt;/sup&gt;&lt;/UnitSymbol&gt;
  &lt;UnitSymbol type="MathMl"&gt;
    &lt;math xmlns="http://www.w3.org/1998/Math/MathML" display="block"&gt;
      &lt;msup&gt;
        &lt;mrow&gt;
          &lt;mi mathvariant="normal"&gt;mm&lt;/mi&gt;
        &lt;/mrow&gt;
        &lt;mrow&gt;
          &lt;mn&gt;0.5&lt;/mn&gt;
        &lt;/mrow&gt;
      &lt;/msup&gt;
    &lt;/math&gt;
  &lt;/UnitSymbol&gt;
  &lt;RootUnits&gt;
    &lt;EnumeratedRootUnit unit="meter" prefix="m" powerNumerator="0.5"/&gt;
  &lt;/RootUnits&gt;
&lt;/Unit&gt;

&lt;Prefix xmlns="https://schema.unitsml.org/unitsml/1.0" prefixBase="10" prefixPower="-3" xml:id="NISTp10_-3"&gt;
  &lt;PrefixName xml:lang="en"&gt;milli&lt;/PrefixName&gt;
  &lt;PrefixSymbol type="ASCII"&gt;m&lt;/PrefixSymbol&gt;
  &lt;PrefixSymbol type="unicode"&gt;m&lt;/PrefixSymbol&gt;
  &lt;PrefixSymbol type="LaTeX"&gt;m&lt;/PrefixSymbol&gt;
  &lt;PrefixSymbol type="HTML"&gt;m&lt;/PrefixSymbol&gt;
&lt;/Prefix&gt;

&lt;Dimension xmlns="https://schema.unitsml.org/unitsml/1.0" xml:id="D_L0.5"&gt;
  &lt;Length symbol="L" powerNumerator="0.5"/&gt;
&lt;/Dimension&gt;</body></sourcecode>

</example>
</clause>

<clause id="_2d850767-57c1-7391-a39d-68487507a356" obligation="normative">
<title id="_5bd03ec4-1428-a056-97f5-aee49698619b">Realized units</title>
<p id="_db7893b4-26e9-fe76-d512-89fc761d14f2">Realized composite units are formed by combining more than one basic unit through the above mentioned operations.</p>

<example id="_cda176da-c936-aba4-71b6-6a649685d21f"><p id="_12dfb610-e59d-29df-14b6-68246c958b0d">AsciiUnits statement (for joule per kilogram kelvin):</p>

<sourcecode id="_34fa1399-3666-2f4c-cb27-e8f4995894e5"><body>J/kg*K</body></sourcecode>


<p id="_e9689fe5-ded9-4ebb-6c6f-8c677547f7a4">XML:</p>

<sourcecode id="_4f11765a-fa98-0404-dfd5-f62c4dfe5dfe" lang="xml"><body>&lt;Unit xmlns="https://schema.unitsml.org/unitsml/1.0" xml:id="U_NISTu13.u27p10_3e-1/1.u5e-1/1" dimensionURL="#D_L2M0T-2Theta-1"&gt;
  &lt;UnitSystem name="SI" type="SI_derived" xml:lang="en-US"/&gt;
  &lt;UnitName xml:lang="en"&gt;joule per kilogram kelvin&lt;/UnitName&gt;
  &lt;UnitSymbol type="HTML"&gt;J&amp;#x22c5;kg&lt;sup&gt;&amp;#x2212;1&lt;/sup&gt;&amp;#x22c5;K&lt;sup&gt;&amp;#x2212;1&lt;/sup&gt;&lt;/UnitSymbol&gt;
  &lt;UnitSymbol type="MathMl"&gt;
    &lt;math xmlns="http://www.w3.org/1998/Math/MathML" display="block"&gt;
      &lt;mi mathvariant="normal"&gt;J&lt;/mi&gt;
      &lt;mo&gt;&amp;#x22c5;&lt;/mo&gt;
      &lt;msup&gt;
        &lt;mrow&gt;
          &lt;mi mathvariant="normal"&gt;kg&lt;/mi&gt;
        &lt;/mrow&gt;
        &lt;mrow&gt;
          &lt;mo&gt;&amp;#x2212;&lt;/mo&gt;
          &lt;mn&gt;1&lt;/mn&gt;
        &lt;/mrow&gt;
      &lt;/msup&gt;
      &lt;mo&gt;&amp;#x22c5;&lt;/mo&gt;
      &lt;msup&gt;
        &lt;mrow&gt;
          &lt;mi mathvariant="normal"&gt;K&lt;/mi&gt;
        &lt;/mrow&gt;
        &lt;mrow&gt;
          &lt;mo&gt;&amp;#x2212;&lt;/mo&gt;
          &lt;mn&gt;1&lt;/mn&gt;
        &lt;/mrow&gt;
      &lt;/msup&gt;
    &lt;/math&gt;
  &lt;/UnitSymbol&gt;
  &lt;RootUnits&gt;
    &lt;EnumeratedRootUnit unit="joule"/&gt;
    &lt;EnumeratedRootUnit unit="gram" prefix="k" powerNumerator="-1"/&gt;
    &lt;EnumeratedRootUnit unit="kelvin" powerNumerator="-1"/&gt;
  &lt;/RootUnits&gt;
&lt;/Unit&gt;

&lt;Prefix xmlns="https://schema.unitsml.org/unitsml/1.0" prefixBase="10" prefixPower="3" xml:id="NISTp10_3"&gt;
  &lt;PrefixName xml:lang="en"&gt;kilo&lt;/PrefixName&gt;
  &lt;PrefixSymbol type="ASCII"&gt;k&lt;/PrefixSymbol&gt;
  &lt;PrefixSymbol type="unicode"&gt;k&lt;/PrefixSymbol&gt;
  &lt;PrefixSymbol type="LaTeX"&gt;k&lt;/PrefixSymbol&gt;
  &lt;PrefixSymbol type="HTML"&gt;k&lt;/PrefixSymbol&gt;
&lt;/Prefix&gt;

&lt;Dimension xmlns="https://schema.unitsml.org/unitsml/1.0" xml:id="NISTd40"&gt;
  &lt;Length symbol="L" powerNumerator="2"/&gt;
  &lt;Time symbol="T" powerNumerator="-2"/&gt;
  &lt;ThermodynamicTemperature symbol="Theta" powerNumerator="-1"/&gt;
&lt;/Dimension&gt;

&lt;Dimension xmlns="https://schema.unitsml.org/unitsml/1.0" xml:id="D_L2M0T-2Theta-1"&gt;
  &lt;Length symbol="L" powerNumerator="2"/&gt;
  &lt;Mass symbol="M" powerNumerator="0"/&gt;
  &lt;Time symbol="T" powerNumerator="-2"/&gt;
  &lt;ThermodynamicTemperature symbol="Theta" powerNumerator="-1"/&gt;
&lt;/Dimension&gt;</body></sourcecode>

</example>
</clause>
</clause>

<clause id="_bb34ad11-4d2d-4cbd-ac87-64774b9c32dd" anchor="symbol-ambiguity-resolution" obligation="normative">
<title id="_6fbf8cc7-093e-8a96-447d-6de991017fd5">Symbol ambiguity resolution</title>
<p id="_acbd0cc6-fe86-1d29-263f-3ceb1633adfe">Multiple units can be represented by the same symbol. This is often differentiated according to historical or contextual usage, and in some cases they cannot be disambiguated by the context of the unit.</p>

<example id="_56c3481c-1447-f19e-2370-ce5aebfb1f32"><ul id="_5c52ecf3-8a0e-0846-4d34-4064567794bd"><li><p id="_1098cf6c-b39a-8253-3366-a79ce870d5e9"><tt>m</tt> can represent <em>meter</em> or <em>mole</em>.</p>
</li>
<li><p id="_ff0ed7b4-ae9f-dc78-6da3-9509f384bedb"><tt>B</tt> can represent both <em>bel</em> (as in decibel) and <em>byte</em>.</p>
</li>
</ul>
</example>

<p id="_15ea5f85-2d30-99f2-405d-8ea92bc2524c">These units that are associated with multiple symbols are considered to have:</p>

<ul id="_24ab756e-59b5-e6da-b0aa-ded7d33b87ed"><li><p id="_6f35db39-2aed-6a7f-51c4-cf73d6e2e324">a primary unit symbol</p>
</li>
<li><p id="_7ae31ad4-4296-ad9a-e327-8db67a027e3d">one or more alternative unit symbols.</p>
</li>
</ul>

<p id="_fe555a45-68e3-0b31-cb64-dd0434376288">To ensure unambiguous identification of units, AsciiUnits uses unique identifiers for these ambiguous symbols accross units.</p>

<p id="_6e497e1a-4f0b-a676-5d23-e2784b70e183">When using a potentially ambiguous symbol, AsciiUnits will attempt to resolve the ambiguity based on context where possible.</p>

<p id="_7d701a64-595f-4989-2eb0-a7c97c775651">A comprehensive table of ambiguous unit symbols and their disambiguated identifiers is provided in  <xref target="ambiguous-unit-symbols"/>.</p>

<p id="_7a391b1b-14f2-bbff-8101-10d2089d7f43">In UnitsDB, there is a notion of a “prefixed unit”, which is a unit that has a prefix attached to it (marked by  <tt>prefixed: true</tt> in the UnitsDB entry).</p>

<p id="_d8e07249-bf18-7f4d-fb0a-bba053c67c52">In case of ambiguity, the interpretation with no prefix is prioritised over the interpretation as a unit.</p>

<p id="_49932017-f45d-3a02-d1db-c68b6dd475bf">Exceptionally, <tt>kg</tt> is decomposed into “kilo-gram” (a unit) rather than treated as a basic unit, for consistency with other prefixes of grams.</p>

<example id="_bc0114c2-9c63-1551-8b6d-e13b45556c70"><p id="_cff33764-1d5b-3819-0386-1f890673c88a"><tt>ct</tt> is interpreted as <em>hundredweight</em>, rather than <em>centi-ton</em>.</p>
</example>

<p id="_129924f3-1c2c-5d89-19cc-781e6247f134">Units with multiple symbols have those symbols encoded separately in the UnitsDB
Units’ database.<note id="_54189648-da05-1250-4b05-515b776cb968"><p id="_6d61c5cb-0d8b-03e7-b40d-139f1bd7b805">While different symbols can be used to reference the same Unit in UnitsML, the default unit symbol will still apply during presentation of the unit unless explicitly specified using  <xref target="unit-metadata"/>.</p>
</note></p>


</clause>
</clause>

<clause id="_aed552c2-d57a-7f4d-aaa0-2cc483a012e3" anchor="unit-metadata" obligation="normative">
<title id="_80741168-5f2a-624f-5bf9-19a3a5ef65d3">Unit metadata</title>
<clause id="_e5df52b1-d2e5-833f-2165-838d94be656e" obligation="normative">
<title id="_13cee2c8-e703-9374-b868-b94a872de4f8">General</title>
<p id="_8c9ba8d8-87c9-45ef-2d14-f0e5a86cd16b">Metadata to a unit’s usage can be supplied after a comma after an AsciiUnits statement.</p>

<p id="_7ef91fe2-6d68-f8da-f65b-048e967158c5">Syntax:</p>

<sourcecode id="_3defc236-cebc-a5c7-5574-2bc1ce25bfdd"><body>{unit-code}, {metadata}</body></sourcecode>


<p id="_82751d33-bac0-74df-7854-5590acd82adc">Where,</p>

<dl id="_b6d61ab1-e462-215d-e560-4c10dfec031a"><dt><tt>{unit-code}</tt></dt>
<dd id="_a88e6ce6-8192-1811-3d8e-14fd3ecdd8c9"><p id="_b58fb3a8-772c-4727-242a-e62338e2a2f4">is the unit code</p>
</dd>
<dt><tt>{metadata}</tt></dt>
<dd id="_10e05b98-72da-ca3c-8ffb-2ccf5304d4dd"><p id="_df3ecbed-dbf8-d4b3-8dc9-0b972e951cb0">is the metadata</p>
</dd>
</dl>

<example id="_a213cb29-342a-cf4f-aae3-29bb14d3e774"><sourcecode id="_b2f66d9e-2c9b-d135-6b7d-8f1032b207cb"><body>m, quantity: NISTq103               # meter with quantity reference
cal_th/cm^2, name: langley          # calorie thermal per square centimeter with name
cm*s^-2, symbol: cm cdot s^-2       # custom symbol representation
cm*s^-2, multiplier: xx             # custom multiplier</body></sourcecode> </example>
</clause>

<clause id="_47a97365-0f9d-8492-5cb4-4b0f092a601d" obligation="normative">
<title id="_245638fa-5856-564e-2fb5-6f6c3898b6b6">Quantity</title>
<clause id="_887451f0-5eb8-4a50-f46b-0c8dbc4d5f48" obligation="normative">
<title id="_f696e0ec-50f4-48e7-02a1-b394fa5e3945">General</title>
<p id="_795177ee-0acd-5a0c-c5de-14da9c4ec517">A unit of measurement is used to describe a quantity, and one unit can be used to measure different quantities.</p>

<example id="_66ca3b99-34da-ead3-cd85-cb574a42fb41"><p id="_aca1b1b3-e1d6-cbdb-1a08-b828beff4c28">The unit “meter” (m) can be used to measure length, wavelength, radius, height, displacement.</p>
</example>

<p id="_2dd71dbf-29f6-94a1-42ad-dc77f14c6dd9">For interoperability between systems and value conversions, it is important to specify the quantity being measured. This ensures that the unit is used correctly and consistently in scientific and engineering contexts.</p>
</clause>

<clause id="_fdd16be5-0bef-8f7b-d56c-395113d3e94d" obligation="normative">
<title id="_1613b7e3-3ada-bc4d-d5e7-c2f927ee07a1">Default quantity</title>
<p id="_373a991a-908e-454e-7a96-e38c5f5ac036">An AsciiUnit unit is associated with a default quantity.</p>

<ul id="_e31a19d3-91a3-fd74-79dc-7256c43c449d"><li><p id="_46658909-4dc5-6502-561a-f66b0bb817eb">If a single quantity is associated with the unit in UnitsDB, that quantity is added automatically.</p>
</li>
<li><p id="_8fe0ed54-d8ee-46cc-a92f-e482ec0bc5ec">Otherwise, no quantity is added unless explicitly specified as in <xref target="specific-quantity"/>.</p>
</li>
</ul>

<example id="_16a9c958-7be5-8fbb-f2f3-0039fcd0af85"><p id="_c1a78ffe-c3ba-6d05-68bd-29204607328d">The unit <tt>m</tt> (meter) is associated with the quantities <tt>length</tt>, <tt>diameter</tt>, <tt>length of path</tt>, and so on in the UnitsDB database, with the <tt>length</tt> quantity being listed first. Therefore, the default quantity for  <tt>m</tt> is “length”.</p>
</example>

<p id="_9c0a974a-8466-541c-741e-ef6896b620a8">The XML representation of an AsciiUnits unit always includes the default quantity association in the  <tt>&lt;Quantity&gt;</tt> element unless a different quantity is specified.</p>

<example id="_87f6c167-dce0-2e8d-82e8-516d70996a1d"><p id="_e86b028f-f3d6-2845-29ce-a76d1001ef1e">AsciiUnits statement:</p>

<sourcecode id="_f4eed412-03df-18cc-e2e3-469d0328dee6" lang="ascii"><body>m # meter</body></sourcecode>


<p id="_aab54148-96bf-6d70-0c0d-5fd7736d8ca5">XML:</p>

<sourcecode id="_9cd8ee80-4563-697a-f5d9-630a679f89ed" lang="xml"><body>&lt;Unit xmlns="https://schema.unitsml.org/unitsml/1.0" xml:id="U_NISTu1" dimensionURL="#NISTd1"&gt;
  &lt;UnitSystem name="SI" type="SI_derived" xml:lang="en-US"/&gt;
  &lt;UnitName xml:lang="en"&gt;meter&lt;/UnitName&gt;
  &lt;UnitSymbol type="HTML"&gt;m&lt;/UnitSymbol&gt;
  &lt;UnitSymbol type="MathMl"&gt;
    &lt;math xmlns="http://www.w3.org/1998/Math/MathML" display="block"&gt;
      &lt;mi mathvariant="normal"&gt;m&lt;/mi&gt;
    &lt;/math&gt;
  &lt;/UnitSymbol&gt;
&lt;/Unit&gt;

&lt;Dimension xmlns="https://schema.unitsml.org/unitsml/1.0" xml:id="NISTd1"&gt;
  &lt;Length symbol="L" powerNumerator="1"/&gt;
&lt;/Dimension&gt;

&lt;Quantity xmlns="https://schema.unitsml.org/unitsml/1.0" xml:id="NISTq1" quantityType="base" dimensionURL="#NISTd1"&gt;
  &lt;QuantityName xml:lang="en-US"&gt;length&lt;/QuantityName&gt;
&lt;/Quantity&gt;</body></sourcecode>

</example>
</clause>

<clause id="_400b8244-3172-cd49-b33a-b3b00b41b174" anchor="specific-quantity" obligation="normative">
<title id="_abf1ded6-77ed-71c6-0063-a7ac45572404">Specific quantity</title>
<p id="_cf3debe7-168c-314d-fe34-f0e13aa65362">AsciiUnits allows specifying the quantity a unit measures using the <tt>quantity</tt> metadata parameter, which provides the UnitsDB identifier for the quantity being measured.</p>

<p id="_a0d242cb-26e9-4196-a08d-c8dfa6658890">Syntax:</p>

<sourcecode id="_5e064825-083c-bbd6-0ce5-c7524ccacaea"><body>{unit-code}, quantity: {quantity-code}</body></sourcecode>


<p id="_66f6d3c5-5520-731b-2be7-fd6cdaa4f0c0">Where,</p>

<dl id="_4d415adf-29a9-1801-9b5f-d66ee71cb129"><dt><tt>{unit-code}</tt></dt>
<dd id="_94ee6346-4ae9-28db-d81c-44df2d22d4d2"><p id="_1996b782-da79-0860-ddc7-218f87d093f8">is the unit code</p>
</dd>
<dt><tt>{quantity-code}</tt></dt>
<dd id="_14b03de1-2d6d-8ff9-eea2-3e21b9bd4a44"><p id="_09c93b1d-ec46-2212-07b2-1d2a45cec92a">is the reference to a quantity identifier or its shortname in the UnitsDB database</p>
</dd>
</dl>

<example id="_b54bdfb8-b0f3-02c7-c00f-e91f25260d71"><p id="_d471e98d-ec88-8dd2-8149-18d356dcc32a">The AsciiUnits statement of <tt>s, quantity: NISTq109</tt> indicates that the second is used to measure period duration.</p>
</example>

<example id="_a22032d9-3a15-e13a-af07-29de9dd7d055">
<name id="_867f45f6-8f68-8630-924e-b83f9c101665">Examples of units with quantity references</name>
<sourcecode id="_38313b15-c8b2-0699-b2cc-a7c7c9ff2270"><body>kg, quantity: NISTq2                # kilogram with mass quantity reference
kg, quantity: mass                  # kilogram with mass quantity reference
s, quantity: NISTq3                 # second with time quantity reference
s, quantity: duration               # second with time quantity reference
m, quantity: NISTq103               # meter with length quantity reference
m, quantity: position_vector        # meter with length quantity reference
l, quantity: NISTq105               # liter with volume quantity reference
l, quantity: volume                 # liter with volume quantity reference</body></sourcecode>

</example>

<p id="_94b9e09d-7dfb-349e-f74b-dff6f256e7fa">The XML representation of an AsciiUnits unit with quantity reference includes the specific  <tt>&lt;Quantity&gt;</tt> element that provides information about the quantity being measured.</p>

<example id="_6b241f90-10ff-16ce-4677-6333fdfa7916">
<name id="_eda1fcd1-bc5e-f999-ea17-c1a0f858d042">AsciiUnits representation for kilogram with mass quantity reference</name>
<p id="_035b044d-009c-6b07-8db3-ba0ec5f1a59f">AsciiUnits statement:</p>

<sourcecode id="_5a794513-4064-45c9-70e3-9d44ae98acbb" lang="ascii"><body>kg [NISTq2]</body></sourcecode>


<p id="_9d1eefb2-33ee-2c26-f2f8-ce092c714b4f">XML:</p>

<sourcecode id="_2e6544ee-fcd3-e7e2-2894-8a37c020990b" lang="xml"><body>&lt;Unit xmlns="https://schema.unitsml.org/unitsml/1.0" xml:id="U_NISTu1" dimensionURL="#NISTd1"&gt;
  &lt;UnitSystem name="SI" type="SI_derived" xml:lang="en-US"/&gt;
  &lt;UnitName xml:lang="en"&gt;meter&lt;/UnitName&gt;
  &lt;UnitSymbol type="HTML"&gt;m&lt;/UnitSymbol&gt;
  &lt;UnitSymbol type="MathMl"&gt;
    &lt;math xmlns="http://www.w3.org/1998/Math/MathML" display="block"&gt;
      &lt;mi mathvariant="normal"&gt;m&lt;/mi&gt;
    &lt;/math&gt;
  &lt;/UnitSymbol&gt;
&lt;/Unit&gt;

&lt;Dimension xmlns="https://schema.unitsml.org/unitsml/1.0" xml:id="NISTd1"&gt;
  &lt;Length symbol="L" powerNumerator="1"/&gt;
&lt;/Dimension&gt;

&lt;Quantity xmlns="https://schema.unitsml.org/unitsml/1.0" xml:id="NISTq2" quantityType="base" dimensionURL="#NISTd1"&gt;
  &lt;QuantityName xml:lang="en-US"&gt;mass&lt;/QuantityName&gt;
&lt;/Quantity&gt;</body></sourcecode>

</example>

<example id="_52809323-d4b1-e883-8404-ad242fdd72fe">
<name id="_c87bb887-5466-2186-77f9-0fec96a1fb48">AsciiUnits representation for meter with position vector quantity reference</name>
<p id="_86f34b64-10b3-ca00-e8a9-c407bb3db78a">AsciiUnits statement:</p>

<sourcecode id="_86c0edd6-28e5-7fab-1fcb-840ab1d59994" lang="ascii"><body>m [NISTq103]</body></sourcecode>


<p id="_079169e4-1232-9acb-c151-59c8f1727160">XML:</p>

<sourcecode id="_74aaa6f6-cf21-43c3-38c1-7c8e49aa9eca" lang="xml"><body>&lt;Unit xmlns="https://schema.unitsml.org/unitsml/1.0" xml:id="U_NISTu1" dimensionURL="#NISTd1"&gt;
  &lt;UnitSystem name="SI" type="SI_derived" xml:lang="en-US"/&gt;
  &lt;UnitName xml:lang="en"&gt;meter&lt;/UnitName&gt;
  &lt;UnitSymbol type="HTML"&gt;m&lt;/UnitSymbol&gt;
  &lt;UnitSymbol type="MathMl"&gt;
    &lt;math xmlns="http://www.w3.org/1998/Math/MathML" display="block"&gt;
      &lt;mi mathvariant="normal"&gt;m&lt;/mi&gt;
    &lt;/math&gt;
  &lt;/UnitSymbol&gt;
&lt;/Unit&gt;

&lt;Dimension xmlns="https://schema.unitsml.org/unitsml/1.0" xml:id="NISTd1"&gt;
  &lt;Length symbol="L" powerNumerator="1"/&gt;
&lt;/Dimension&gt;

&lt;Quantity xmlns="https://schema.unitsml.org/unitsml/1.0" xml:id="NISTq103" quantityType="base" dimensionURL="#NISTd1"&gt;
  &lt;QuantityName xml:lang="en-US"&gt;position vector&lt;/QuantityName&gt;
&lt;/Quantity&gt;</body></sourcecode>

</example>
</clause>

<clause id="_bb58e36f-9b00-77e0-f1f3-41a2fd648d78" obligation="normative">
<title id="_467ee298-f77e-3b78-777d-f77daed906ec">Inferred quantity</title>
<p id="_c5d091c3-bbe6-cfd2-e84b-3a8e92580c9a">In composite units, when a quantity is not explicitly specified, AsciiUnits will attempt to infer the appropriate quantity based on the unit’s dimension. This inference is based on the standard quantities defined in the UnitsDB database.</p>

<example id="_ab3c99dc-1ddb-66d4-f122-f07cb6575251"><p id="_ce3d70c5-4ee6-83e1-d4ff-2e95f08c9b39">A unit with dimension <tt>L</tt> (length) will be detected to be associated with the quantity “length”.</p>

<p id="_0b368450-ce91-b7de-d1af-cd3655a72413">A unit with dimension <tt>L*T^-1</tt> will be detected to be associated with the quantity “velocity”.</p>
</example>

<example id="_b1925224-3eb3-a3d9-cb96-ec44c7c2ec96">
<name id="_cdbc197a-5703-f721-873a-90ccbc701ab8">Inferred quantity based on UnitsDB lookup</name>
<p id="_8d84596c-aa19-f86f-39e0-d45d5ca044a7">AsciiUnits statement:</p>

<sourcecode id="_3429fea4-1424-45be-1661-8c1ba4fd2842" lang="ascii"><body>m/s</body></sourcecode>


<p id="_3599e9c5-a3ae-0fd6-2d81-8ae83b4f730d">Given that the unit <tt>m/s</tt> is a composite unit, AsciiUnits can detect the dimension  <tt>L*T^-1</tt> (NISTd11), which allows an inference to the quantity “velocity” (NISTq12).</p>

<p id="_f84b4836-30ac-b194-0c4e-d8234291609b">XML (with inferred quantity):</p>

<sourcecode id="_39125268-6c9f-ff73-a859-f2a206e3a508" lang="xml"><body>&lt;Unit xmlns="https://schema.unitsml.org/unitsml/1.0" xml:id="NISTu1.u3e-1/1" dimensionURL="#NISTd11"&gt;
  &lt;UnitSystem name="SI" type="SI_derived" xml:lang="en-US"/&gt;
  &lt;UnitName xml:lang="en"&gt;meter per second&lt;/UnitName&gt;
  &lt;UnitSymbol type="HTML"&gt;m&amp;#x22c5;s&lt;sup&gt;&amp;#x2212;1&lt;/sup&gt;&lt;/UnitSymbol&gt;
  &lt;UnitSymbol type="MathMl"&gt;
    &lt;math xmlns="http://www.w3.org/1998/Math/MathML" display="block"&gt;
      &lt;mi mathvariant="normal"&gt;m&lt;/mi&gt;
      &lt;mo&gt;&amp;#x22c5;&lt;/mo&gt;
      &lt;msup&gt;
        &lt;mrow&gt;
          &lt;mi mathvariant="normal"&gt;s&lt;/mi&gt;
        &lt;/mrow&gt;
        &lt;mrow&gt;
          &lt;mo&gt;&amp;#x2212;&lt;/mo&gt;
          &lt;mn&gt;1&lt;/mn&gt;
        &lt;/mrow&gt;
      &lt;/msup&gt;
    &lt;/math&gt;
  &lt;/UnitSymbol&gt;
  &lt;RootUnits&gt;
    &lt;EnumeratedRootUnit unit="meter"/&gt;
    &lt;EnumeratedRootUnit unit="second" powerNumerator="-1"/&gt;
  &lt;/RootUnits&gt;
&lt;/Unit&gt;

&lt;Dimension xmlns="https://schema.unitsml.org/unitsml/1.0" xml:id="NISTd11"&gt;
  &lt;Length symbol="L" powerNumerator="1"/&gt;
  &lt;Time symbol="T" powerNumerator="-1"/&gt;
&lt;/Dimension&gt;

&lt;Quantity xmlns="https://schema.unitsml.org/unitsml/1.0" xml:id="NISTq12" quantityType="derived" dimensionURL="#NISTd11"&gt;
  &lt;QuantityName xml:lang="en-US"&gt;velocity&lt;/QuantityName&gt;
  &lt;QuantityName xml:lang="en-US"&gt;speed&lt;/QuantityName&gt;
&lt;/Quantity&gt;</body></sourcecode>

</example>

<p id="_b4740978-3ca9-4164-3f0a-ea64da90284a">Composite units that lead to a detected of dimension associated with multiple
quantities will always infer the first quantity in the UnitsDB database.<note id="_8478624d-e97d-3136-744e-56729efa73cc"><p id="_fbf1f4fa-ce9d-ae64-44a0-314f0fc5640c">Composite units that lead to a dimension that is not associated with any quantity in the UnitsDB database will not be inferred.</p>
</note></p>



<example id="_c730fd11-b705-0e5d-d179-43a3de16b2d1">
<name id="_08723d4e-2ad8-f66c-0842-2a224b4791c4">Inferred quantity using composite units with detected dimension and quantity from UnitsDB</name>
<p id="_ace802f3-61be-df87-a78a-b2e4a3637578">AsciiUnits statement:</p>

<sourcecode id="_6af8920b-3964-4264-a46c-1a27ea9a0b29" lang="ascii"><body>cd*sr*m^(-2)</body></sourcecode>


<p id="_2f8fc83c-317e-f8f9-d058-55ddb79dadd6">Given that the unit <tt>cd*sr*m^(-2)</tt> is a composite unit, AsciiUnits can detect the dimension  <tt>L^-2*J</tt> (NISTd27), which allows an inference to the quantity “luminous flux” (NISTq47) or “luminance” (NISTq56), and the first detected quantity is always inferred since the exact quantity type is not specified.</p>

<p id="_76ef2596-4234-d560-479d-cac5af917d12">XML (with inferred quantity):</p>

<sourcecode id="_ac0a0dc4-9560-2461-484c-eac3e32e6d41" lang="xml"><body>&lt;Unit xmlns="https://schema.unitsml.org/unitsml/1.0" xml:id="U_cd.sr.m-2" dimensionURL="#NISTd27"&gt;
  &lt;UnitSystem name="SI" type="SI_derived" xml:lang="en-US"/&gt;
  &lt;UnitName xml:lang="en"&gt;cd*sr*m^-2&lt;/UnitName&gt;
  &lt;UnitSymbol type="HTML"&gt;cd&amp;#x22c5;sr&amp;#x22c5;m&lt;sup&gt;&amp;#x2212;2&lt;/sup&gt;&lt;/UnitSymbol&gt;
  &lt;UnitSymbol type="MathMl"&gt;
    &lt;math xmlns="http://www.w3.org/1998/Math/MathML" display="block"&gt;
      &lt;mi mathvariant="normal"&gt;cd&lt;/mi&gt;
      &lt;mo&gt;&amp;#x22c5;&lt;/mo&gt;
      &lt;mi mathvariant="normal"&gt;sr&lt;/mi&gt;
      &lt;mo&gt;&amp;#x22c5;&lt;/mo&gt;
      &lt;msup&gt;
        &lt;mrow&gt;
          &lt;mi mathvariant="normal"&gt;m&lt;/mi&gt;
        &lt;/mrow&gt;
        &lt;mrow&gt;
          &lt;mo&gt;&amp;#x2212;&lt;/mo&gt;
          &lt;mn&gt;2&lt;/mn&gt;
        &lt;/mrow&gt;
      &lt;/msup&gt;
    &lt;/math&gt;
  &lt;/UnitSymbol&gt;
  &lt;RootUnits&gt;
    &lt;EnumeratedRootUnit unit="candela"/&gt;
    &lt;EnumeratedRootUnit unit="steradian"/&gt;
    &lt;EnumeratedRootUnit unit="meter" powerNumerator="-2"/&gt;
  &lt;/RootUnits&gt;
&lt;/Unit&gt;

&lt;!--
  The dimension NISTd27 is detected given the length and luminous intensity
  power numerators of L = -2 and J = 1.
--&gt;
&lt;Dimension xmlns="https://schema.unitsml.org/unitsml/1.0" xml:id="NISTd27"&gt;
  &lt;Length symbol="L" powerNumerator="-2"/&gt;
  &lt;LuminousIntensity symbol="J" powerNumerator="1"/&gt;
&lt;/Dimension&gt;

&lt;!--
  The dimension NISTd27 is used in two UnitsDB quantities: NISTq47 (luminous
  flux) and NISTq56 (luminance), detection always infers the first.
--&gt;
&lt;Quantity xmlns="https://schema.unitsml.org/unitsml/1.0" xml:id="NISTq47" quantityType="derived" dimensionURL="#NISTd27"&gt;
  &lt;QuantityName xml:lang="en-US"&gt;luminous flux&lt;/QuantityName&gt;
&lt;/Quantity&gt;</body></sourcecode>

</example>
</clause>
</clause>

<clause id="_27d4d7ed-8327-a51f-b590-a1b198ac3654" anchor="metadata-symbol" obligation="normative">
<title id="_ad0b716e-60f8-1134-7a10-8c9731d18113">Symbol representation</title>
<clause id="_296652b4-f2e2-e4e5-e94f-592dde5f7189" obligation="normative">
<title id="_55f78f1d-943d-67c8-8e26-ef37e66bd829">General</title>
<p id="_318f162b-ab16-2ccd-88be-e50f06438e65">The symbol representation of a unit can be customized using the <tt>symbol</tt> metadata parameter. This allows for the specification of a custom symbol representation for the unit.</p>
</clause>

<clause id="_0f0a5739-7f79-12fb-df59-03b7ae8c523e" obligation="normative">
<title id="_482cdc10-d94c-ade9-2f67-fe57d81bf397">Default symbol</title>
<p id="_3d1699a5-8e90-3369-adee-7951ebc2ce8a">The default symbol representation is the first symbol entry as associated to the unit in the UnitsDB database.</p>

<example id="_fb54f971-b440-54df-d0da-8fac3c21ccdb"><p id="_5e46eacb-dc07-6b32-bb87-c8d90b742ff7">The unit <tt>s</tt> (NISTu3, second) is associated with the symbols <tt>s</tt>, <tt>"_s</tt>, and <tt>"</tt> in the context of time measurement.</p>

<p id="_0c6e5b43-f364-e985-aca5-0762cf4493d3">Therefore, the default symbol for <tt>s</tt> is “s”.</p>
</example>
</clause>

<clause id="_dbfda0c2-b8e2-4013-6b6d-841f8ed85426" obligation="normative">
<title id="_72aa9280-1a93-ed47-592e-e1a06d45b911">Custom symbol</title>
<p id="_3b78a6ef-0da1-fa83-a174-ba1b632c1982">The custom symbol representation is specified using the <tt>symbol</tt> metadata parameter.</p>

<p id="_f2fdddc7-a8cc-0b73-b2cb-ce6fb3ec368d">This allows for the specification of a custom symbol representation for the unit in AsciiUnits format.</p>

<p id="_f1234c5c-fb76-f438-a217-17658eeabcd2">A custom symbol can be assigned to an AsciiUnits unit whether it is a unit of measure or a composite unit.</p>

<p id="_3353ad89-6ea0-a61f-42dd-89c98d7283f1">Syntax:</p>

<sourcecode id="_fe77b9f9-b16a-6c77-0f8c-62e6fc85201d"><body>{unit-code}, symbol: {custom_symbol}</body></sourcecode>


<p id="_f874c679-709c-91c0-021f-3c6a61b54e56">Where,</p>

<dl id="_65fae7b9-ed89-3235-b66a-4a9302d9ce88"><dt><tt>{unit-code}</tt></dt>
<dd id="_19de4acd-2061-9fcb-3503-cb5adb80665a"><p id="_4125afe9-616b-4d87-83db-a1ec2baef922">is the unit code</p>
</dd>
<dt><tt>{custom_symbol}</tt></dt>
<dd id="_a6c70c76-ad5d-8763-7458-eb1ec511f6c0"><p id="_443a7433-ea18-ac7e-130d-5264039928b0">is the custom symbol representation in AsciiUnits format</p>
</dd>
<note id="_a87b9aff-e4cd-c4a8-84e2-e0ab7227c513"><p id="_6551da93-0498-f90a-2280-fb85f367e247">While the <tt>unit-code</tt> gives the canonical representation of the unit, <tt>custom_symbol</tt> is what will be rendered.</p>
</note></dl>



<example id="_b0fb605d-ed7f-8245-d236-0569ffa61277"><p id="_31355b7f-144d-6f4e-0e93-c3e6d919307a"><tt>unitsml(cal_th/cm^2, name: langley, symbol: La)</tt> assigns the custom symbol <tt>La</tt> to the unit <tt>cal_th/cm^2</tt> (calorie thermal per square centimeter).</p>

<p id="_0567c57e-4ec5-b3e9-5edb-64ec3c4804bf"><tt>unitsml(mm*s^-2, symbol: mm cdot s^-2)</tt> assigns the custom symbol <tt>mm cdot s<sup>-2` to the unit `mm*s</sup>-2</tt> (millimeter per second squared).</p>
</example>

<example id="_61c48818-4de6-e005-8d42-8bbda8eed7a1"><p id="_b270eeed-8c5a-1a19-7623-d6d8b943c08d">AsciiUnits statement (for candela steradian per square meter), with a custom symbol representation:</p>

<sourcecode id="_e3c5691a-8620-6621-e57a-d9be5f6fce89"><body>cd*sr*m^(-2),symbol:cd cdot sr cdot m^(-2)</body></sourcecode>


<p id="_57b0bfeb-55ee-4318-ffe1-efbd92693a22">XML:</p>

<sourcecode id="_17911d4a-d2d1-b1e0-d388-aef5394e9ad5" lang="xml"><body>&lt;Unit xmlns="https://schema.unitsml.org/unitsml/1.0" xml:id="U_cd.sr.m-2" dimensionURL="#D_L-2J"&gt;
  &lt;UnitSystem name="SI" type="SI_derived" xml:lang="en-US"/&gt;
  &lt;UnitName xml:lang="en"&gt;cd*sr*m^-2&lt;/UnitName&gt;
  &lt;UnitSymbol type="HTML"&gt;cd&amp;#x22c5;sr&amp;#x22c5;m&lt;sup&gt;&amp;#x2212;2&lt;/sup&gt;&lt;/UnitSymbol&gt;
  &lt;UnitSymbol type="MathMl"&gt;
    &lt;math xmlns="http://www.w3.org/1998/Math/MathML" display="block"&gt;
      &lt;mi mathvariant="normal"&gt;cd&lt;/mi&gt;
      &lt;mo&gt;&amp;#x22c5;&lt;/mo&gt;
      &lt;mi mathvariant="normal"&gt;sr&lt;/mi&gt;
      &lt;mo&gt;&amp;#x22c5;&lt;/mo&gt;
      &lt;msup&gt;
        &lt;mrow&gt;
          &lt;mi mathvariant="normal"&gt;m&lt;/mi&gt;
        &lt;/mrow&gt;
        &lt;mrow&gt;
          &lt;mo&gt;&amp;#x2212;&lt;/mo&gt;
          &lt;mn&gt;2&lt;/mn&gt;
        &lt;/mrow&gt;
      &lt;/msup&gt;
    &lt;/math&gt;
  &lt;/UnitSymbol&gt;
  &lt;RootUnits&gt;
    &lt;EnumeratedRootUnit unit="candela"/&gt;
    &lt;EnumeratedRootUnit unit="steradian"/&gt;
    &lt;EnumeratedRootUnit unit="meter" powerNumerator="-2"/&gt;
  &lt;/RootUnits&gt;
&lt;/Unit&gt;

&lt;Dimension xmlns="https://schema.unitsml.org/unitsml/1.0" xml:id="NISTd27"&gt;
  &lt;Length symbol="L" powerNumerator="-2"/&gt;
  &lt;LuminousIntensity symbol="J" powerNumerator="1"/&gt;
&lt;/Dimension&gt;</body></sourcecode>

</example>
</clause>
</clause>

<clause id="_4ed2bc49-d777-84c3-8f58-624115c3ed60" obligation="normative">
<title id="_1b5ed832-dca8-abe8-9541-fe544d73238e">Name</title>
<clause id="_9cc8040e-5e44-8743-31f9-f74c05d605bc" obligation="normative">
<title id="_147f712d-dc3b-2633-a006-4e2a2960f6b8">General</title>
<p id="_415d310b-77cf-adf4-0c65-3b5c8f252242">The name of a unit can be customized using the <tt>name</tt> metadata parameter. This allows for the specification of a custom name for the unit.</p>
</clause>

<clause id="_df4b05a0-37dc-99e2-eb57-c69fe82061bd" obligation="normative">
<title id="_b4e02f7c-f970-c4c0-e1f5-d5d005c9cbef">Default name</title>
<p id="_9e68ac62-4e7f-4158-c9d0-d805ba36ae54">The default name is the first name entry as associated to the unit in the UnitsDB database.</p>

<example id="_5de4f37a-37f7-e25b-06b2-fe2993b5c0f9"><p id="_79c4ec53-0ad4-bbe3-eefb-b6035b73b0fb">The unit <tt>metric_ton</tt> (NISTu88, metric ton) is associated with the unit names “metric ton” and “ton”. The default name for  <tt>metric_ton</tt> is the first entry, “metric ton”.</p>
</example>
</clause>

<clause id="_b1b663ba-48ed-5213-3670-9e300560c511" obligation="normative">
<title id="_5f784956-6832-9755-1e8b-2c6e93e67125">Custom name</title>
<p id="_4715b936-2f8d-72ec-77e4-438be60fbb5d">The custom name representation is specified using the <tt>name</tt> metadata parameter, allowing for the specification of a custom name representation for the unit.</p>

<p id="_35b2c3c0-e37a-ba60-0556-c55d526930c2">This is especially relevant if the unit is a composite unit, as the custom name representation can be used to provide a more meaningful description of the unit, and when its name is not already available from UnitsDB.</p>

<p id="_9f5304a7-4c15-efaf-63d6-2da6252db881">Syntax:</p>

<sourcecode id="_08385b5b-e297-3e50-31fa-85cf7171f265"><body>{unit-code}, name: {custom_name}</body></sourcecode>


<p id="_2c1f6660-1eb0-71ec-39b9-7cd2a6c3cadf">Where,</p>

<dl id="_c55a465d-de9f-d87d-9965-0798493ce3a7"><dt><tt>{unit-code}</tt></dt>
<dd id="_3676a0a9-4036-a447-dafb-470e7b69a821"><p id="_125e1bac-0509-5bb9-cc50-5b87f4454393">is the unit code</p>
</dd>
<dt><tt>{custom_name}</tt></dt>
<dd id="_7f75da70-4f1b-9867-703a-693426891aef"><p id="_5319a18c-bc79-6661-ad04-be1c594d78b0">is the custom name representation in AsciiUnits format</p>
</dd>
<dt><tt>name: NAME</tt></dt>
<dd id="_0a0b69bb-dfb3-6794-b2b5-ae333e5f5655"><p id="_d922631f-02ee-fa21-7eef-4d84bd84dc3d">is an optional name for the unit, if one is not already available from UnitsDB.</p>
</dd>
</dl>

<example id="_1c2794af-e550-27d1-a2a9-84df60d3d18a"><p id="_a9173fec-db51-ae88-a720-62f863bb45de"><tt>unitsml(cal_th/cm^2, name: langley)</tt> assigns the custom name “langley” to the unit  <tt>cal_th/cm^2</tt> (calorie thermal per square centimeter).</p>
</example>

<example id="_e90c77f7-3399-8399-6a1b-33113602f0df"><p id="_5099155f-2c02-e8a1-a0fb-b8e7aebdd05a">The AsciiUnits statement (for the “metric ton” unit with a custom name “ton”), with a custom name representation:</p>

<sourcecode id="_6d94526d-db2e-5bde-d885-819a69b5f1a2" lang="ascii"><body>metric_ton, name: ton</body></sourcecode>


<p id="_9f02ee42-d7fa-bf7e-1133-3651cbb95ee6">XML:</p>

<sourcecode id="_6753bc1b-2e1a-0ee3-7b72-8897bd98e564" lang="xml"><body>&lt;Unit xmlns="https://schema.unitsml.org/unitsml/1.0" xml:id="NISTu88" dimensionURL="#NISTd2"&gt;
  &lt;UnitSystem name="SI" type="SI_derived" xml:lang="en-US"/&gt;
  &lt;UnitName xml:lang="en"&gt;ton&lt;/UnitName&gt;
  &lt;UnitSymbol type="HTML"&gt;t&lt;/UnitSymbol&gt;
  &lt;UnitSymbol type="MathMl"&gt;
    &lt;math xmlns="http://www.w3.org/1998/Math/MathML" display="block"&gt;
      &lt;mi mathvariant='normal'&gt;t&lt;/mi&gt;
    &lt;/math&gt;
  &lt;/UnitSymbol&gt;
&lt;/Unit&gt;

&lt;Dimension xmlns="https://schema.unitsml.org/unitsml/1.0" xml:id="NISTd2"&gt;
  &lt;Mass symbol="M" powerNumerator="1"/&gt;
&lt;/Dimension&gt;

&lt;Quantity xmlns="https://schema.unitsml.org/unitsml/1.0" xml:id="NISTq2" quantityType="base" dimensionURL="#NISTd2"&gt;
  &lt;QuantityName xml:lang="en-US"&gt;mass&lt;/QuantityName&gt;
&lt;/Quantity&gt;</body></sourcecode>

</example>
</clause>
</clause>

<clause id="_f485aa91-e48f-8354-9ab7-0aebbaf441ac" obligation="normative">
<title id="_662ac21e-4af1-a0b1-2b81-b7b2d3469474">Multiplier</title>
<clause id="_9f196b88-f64f-6f66-003f-05d9188f01cd" obligation="normative">
<title id="_5bf41aab-bf7b-ffd0-2d17-4843b3d7a3e5">General</title>
<p id="_5fa17680-3d07-5ec7-0c42-c6c45a4457c7">A multiplier is the conjoining symbol that is used to combine multiple units in a composite unit.</p>

<p id="_4a7c62e5-fdc4-b917-a772-b793a19db13d">It is typically represented as a multiplication sign (×) or a dot (·). The choice of symbol can depend on the context in which the unit is used and the conventions of the field of study.</p>
</clause>

<clause id="_92677759-0f5e-709c-9d22-ab9f3367fee4" obligation="normative">
<title id="_b6c1ca7b-b94b-b910-3830-272ece53abe4">Default multiplier</title>
<p id="_64de6dd9-f881-0a1d-e046-41ffda500806">The default AsciiUnits multiplier adopts the specified default from MathML Units, the middle dot (<tt>&amp;#xB7</tt>) symbol.</p>

<p id="_0d99ee17-8d2b-b689-9b26-ec30a8f1e011">This default multiplier symbol is rendered in various formats as:</p>

<ul id="_8ca0c949-dc76-77f1-f321-98be3fb28bb7"><li><p id="_e033fd4d-e6e5-47f7-9df3-aaedcb69dc15">ASCII: a single empty space</p>
</li>
<li><p id="_d62d4e52-4c9f-2216-51ba-37c9e9ea5e9a">Unicode: the invisible times symbol (<tt>&amp;#x2062;</tt>)</p>
</li>
<li><p id="_b4107f26-36ea-34d9-fd85-0f8e7cfac3ac">MathML: middle dot (<tt>&amp;#xB7</tt>)</p>
</li>
<li><p id="_a4a29db3-1073-90a6-7edd-039db6f40da2">LaTeX: a middle dot (<tt>\cdot</tt>)</p>
</li>
<li><p id="_8a4035c9-e7e4-9b2f-48bd-0017173af005">HTML: a non-breaking space</p>
</li>
</ul>
</clause>

<clause id="_f80e9603-7011-984d-6194-726bac184c4b" obligation="normative">
<title id="_bda325a3-2882-5494-5e51-fb2a83f6d35a">Custom multiplier</title>
<p id="_89d49789-a740-c0cb-63b5-406a1c9bbecf">The multiplier of a unit can be specified using the <tt>multiplier</tt> metadata parameter.</p>

<p id="_a33174ae-8292-6725-a3f8-73dfd6e9e985">Syntax:</p>

<sourcecode id="_16027436-a633-511e-db93-73557c12c67d"><body>{unit-code}, multiplier: {custom_multiplier}</body></sourcecode>


<p id="_05998bba-ff1d-f394-1a90-e1c0b67fb516">Where,</p>

<dl id="_1031b8f5-2d00-1df6-064e-ee181db03e5b"><dt><tt>{unit-code}</tt></dt>
<dd id="_b7ffb738-d832-6bf6-91d5-2593becb2901"><p id="_ce86cf2f-8b90-21d2-ed7e-ceffea0cb53a">is the unit code</p>
</dd>
<dt><tt>{custom_multiplier}</tt></dt>
<dd id="_55e93351-a6b8-7034-20b0-b42bb152c061"><p id="_1cc90c7d-ea7b-2ef7-a020-1402a89f1ec5">is the custom multiplier representation in AsciiUnits format. It accepts the following values:</p>
</dd>
<dt><tt>:default</tt></dt>
<dd id="_3b0b1bb0-5420-7f99-a2b8-6b4a8f2cd242"><p id="_b867b2e5-4046-8e3e-016f-96dbb9ef1c0f">is the default multiplier.</p>
</dd>
<dt><tt>:space</tt></dt>
<dd id="_a1aed5f0-d231-ef96-c502-64c887654eb5"><p id="_384b903b-507b-cb48-9769-161ed830b873">a spacing invisible times.</p>
</dd>
<dt><tt>:nospace</tt></dt>
<dd id="_2ab8df10-09ce-ecfb-4d51-11fc97c0a73d"><p id="_55321a2d-de17-18b1-49c7-1b5ce176839b">a non-spacing invisible times</p>
</dd>
<dt><tt>custom_multiplier</tt></dt>
<dd id="_e228465b-93bd-88a1-0124-bbbe228a5eda"><p id="_28420120-3767-dfac-1317-015996223332">is an arbitrary UTF-8 string that can be supplied instead; it will be encoded as XML entities.</p>
</dd>
</dl>

<p id="_c558c1ac-e2b7-32f8-7dc2-0df92f490591">The <tt>:space</tt> value is rendered as:</p>

<ul id="_878dd385-2ef9-ecc3-c2b2-01e73e0db0fc"><li><p id="_409293eb-1721-4460-c40c-57b2a659e185">ASCII: a single empty space</p>
</li>
<li><p id="_79313512-ff1e-0a2f-8ed5-063258b3817a">Unicode: the invisible times symbol (<tt>&amp;#x2062;</tt>)</p>
</li>
<li><p id="_369aed9c-6ca3-c3d4-2d42-d6a21539954d">MathML: spacing invisible times (<tt>&lt;mo rspace='thickmathspace'&gt;&amp;#x2062;&lt;/mo&gt;</tt>)</p>
</li>
<li><p id="_25ced515-4d0c-3822-20ba-cf2a28671336">LaTeX: a non-breaking space (<tt>~</tt>)</p>
</li>
<li><p id="_a4c073a4-4a48-e827-c423-69e5ff81abee">HTML: <tt>&amp;#xa0;</tt> (non-breaking space)</p>
</li>
</ul>

<p id="_a73eb75d-1fdb-68a1-e764-f7c10a9949ae">The <tt>:nospace</tt> value is rendered as:</p>

<ul id="_7df5a676-3791-4049-3055-6b2aedaae12f"><li><p id="_a91bc0ad-0f27-ac53-c68a-04c3d24eb732">ASCII: no space</p>
</li>
<li><p id="_06f25573-48a2-8c31-a67a-d6de5c392ea3">Unicode: the invisible times symbol (<tt>&amp;#x2062;</tt>)</p>
</li>
<li><p id="_1139457c-8d66-1659-1824-2246a2181393">MathML: non-spacing invisible times (<tt>&lt;mo&gt;&amp;#x2062;&lt;/mo&gt;</tt>)</p>
</li>
<li><p id="_d1c2dab0-e6bc-dc5b-04b2-09094af52974">LaTeX: no space</p>
</li>
<li><p id="_d76c8609-bd04-987f-3491-ce7ee7330a90">HTML: no space</p>
</li>
</ul>

<p id="_21ebe272-9b68-60d2-3596-e7eb6adda7ba">If the value is not one of the above, it will be treated as a custom multiplier, where an arbitrary UTF-8 string can be supplied. It will be rendered as:</p>

<ul id="_a9793b1d-2258-9ce3-0bee-b81fe6527909"><li><p id="_5ddac041-7593-7114-d0aa-bf8685ebc3d8">ASCII: the UTF-8 string</p>
</li>
<li><p id="_ca3d4809-4d64-6897-bcb9-3ef1cd6e51b3">Unicode: the UTF-8 string</p>
</li>
<li><p id="_dc8159d4-883e-aae7-1e48-d04f36bc0ead">MathML: the UTF-8 string with XML entities</p>
</li>
<li><p id="_d560f88b-eb53-08cc-3a8d-ec1a7353f02a">LaTeX: the UTF-8 string</p>
</li>
<li><p id="_76974206-ceec-9e87-8737-0bc7412770a9">HTML: the UTF-8 string</p>
</li>
</ul>

<example id="_3e2dd45b-2e2f-5d63-00dc-a44b7fde2fc6"><sourcecode id="_8c02ddca-7585-439f-cbd9-a802bb7e300b"><body>cm*s^-2, multiplier: xx             # custom multiplier</body></sourcecode>


<p id="_9a794019-2bdc-c93e-b67c-71e758c92222">The <tt>xx</tt> character is the AsciiMath explicit multiplication sign (×). This statement will render the unit as  <tt>cm xx s^-2</tt> in AsciiUnits format..</p>
</example>
</clause>
</clause>
</clause>



<clause id="_2a63a8bc-a106-1ff5-935f-a32c878b2e55" obligation="normative">
<title id="_f133f7a2-5675-1d96-d95c-0b1a80c993a4">Using AsciiUnits in AsciiMath</title>
<clause id="_1c8279f7-3ec5-c4f5-ddd0-1053a91508ac" obligation="normative">
<title id="_77b7a2c9-ae4d-263c-0aa7-58b5dea5ee0e">General</title>
<p id="_ca579778-a1ef-7c25-3067-9d2b0ff98a07">AsciiUnits can be embedded within AsciiMath using the <tt>unitsml()</tt> expression. This provides a way to incorporate UnitsML markup within mathematical content.</p>

<p id="_3b8c19f4-12fb-ef6c-d636-e660dd58164c">The Plurimath library converts AsciiMath containing AsciiUnits into MathML that incorporates UnitsML expressions complying with <link target="https://www.w3.org/TR/mathml-units/"/>, with unique identifiers for each distinct unit, prefix, and dimension.</p>

<p id="_39a9309f-523c-9ea2-d92d-8f55ac510c55">Units expressions are identified in MathML as <tt>&lt;mtext&gt;unitsml(...)&lt;/mtext&gt;</tt>, which in turn can be identified in AsciiMath as  <tt>"unitsml(…​)"</tt>.</p>
</clause>

<clause id="_01336099-9671-984c-6a47-c783c944ea10" obligation="normative">
<title id="_2c5eb413-63ac-7ca0-b779-e9d6b323a274">Notation</title>
<p id="_760539d9-e881-42c2-1c1a-341bf48254c4">The <tt>unitsml(...)</tt> expression consists of a unit string following the AsciiUnits syntax.</p>

<p id="_75faced4-f44e-0921-855e-07945f6736d2">Syntax:</p>

<sourcecode id="_f3151e73-e46d-d85c-c3fc-b4b59077704d"><body>unitsml(unit-string{, unit-metadata})</body></sourcecode>


<p id="_6929061a-5a7c-d10e-d59f-3f4dbe340d0d">Where,</p>

<dl id="_c4c8e527-678b-dca9-1172-72138d5d0db5"><dt><tt>unit-string</tt></dt>
<dd id="_6c99077e-9439-c5e1-ec50-4055d570aecf"><p id="_98b4ef83-6522-2a4b-c5f0-b918c10472a1">is the unit string, which can be a single unit or a combination of units, prefixes, and dimensions.</p>
</dd>
<dt><tt>unit-metadata</tt></dt>
<dd id="_31387fd0-cba3-01fe-b268-5c9bad8c3b14"><p id="_570a8748-2d9f-c302-a7ee-f1b9e36b4ecd">is an optional comma-separated list of unit metadata parameters, described in  <xref target="unit-metadata"/>.</p>
</dd>
</dl>

<example id="_956fdd3a-2bb4-9933-d0d7-4707f9f8052d"><p id="_c7efbb9a-fc4e-3087-e4b1-ac2743aac875">The AsciiMath with AsciiUnits expression for “millimeters per second squared” is represented as:</p>

<sourcecode id="_f1724f91-5ed0-27bc-c68e-ab60b45fd508"><body>"unitsml(mm*s^-2)"</body></sourcecode>

</example>

<p id="_d4ba4a34-3cba-6c05-1220-e01c99f7536c">The <tt>"…​"</tt> is an AsciiMath expression for string, which ensures backwards compatibility with AsciiMath parsers that are not UnitsML aware.</p>

<p id="_fb19ab37-b1fc-5c2e-f892-a124fd9d6e12">The <tt>unitsml()</tt> expression can take additional parameters as defined in <xref target="unit-metadata"/>.</p>
</clause>

<clause id="_fd19f164-9201-5b10-b4cb-6c62c2d34603" obligation="normative">
<title id="_7e629287-a204-6615-2e5b-5207704656cf">Representation in UnitsML in MathML</title>
<p id="_475acc98-0d3a-d077-c77a-29c4231aedfb">AsciiUnits in AsciiMath can be converted into a combination of UnitsML in MathML.</p>

<p id="_00f1b199-8d82-5b1f-cc77-10bfa78956c6">MathML unit expressions are expressed as <tt>&lt;mi&gt;</tt> (in accordance with <eref type="inline" bibitemid="w3c-mathml-units" citeas="W3C TR mathml-units"/>) that cross-references to UnitsML definitions embedded in the XML that contains MathML.</p>

<p id="_989deb4e-66db-6733-e7bc-148bc55705ca">The following MathML Units convention are adopted:</p>

<ul id="_04417201-71b8-0f11-5142-43c77c241838"><li><p id="_56a47cfd-4de9-6d6c-dfd2-030f3b6ad0e4">inserting a spacing invisible times operator (<tt>&lt;mo rspace='thickmathspace'&gt;&amp;#x2062;&lt;/mo&gt;</tt>) between any numbers (<tt>&lt;mn&gt;</tt>) and unit expressions in MathML;</p>
</li>
<li><p id="_7d07045c-5e82-5ce2-8fc8-d8d9d9bf078e">representing units in MathML as non-italic variables (<tt>&lt;mi mathvariant='normal'&gt;</tt>).</p>
</li>
</ul>

<p id="_dfc80d88-40f0-93ab-fe9b-775199ed04d9">No whitespace is inserted between a number and a unit expression, when that unit expression wholly consists of punctuation.</p>

<example id="_bb062e34-8f09-7d88-645b-d3bc034fd205"><p id="_4a9d95ec-e5ad-07e4-94fa-8d1fec3ab68a"><tt>1 m</tt> renders as <em>1 m</em>.</p>

<p id="_3f934eca-ab6c-9c95-b6af-dbd2e13f0548"><tt>1 deg_C</tt> renders as <em>1 °C</em>.</p>

<p id="_e1687c5b-ce3f-6cec-c3a4-603d3249dc27">However,</p>

<p id="_3395d144-6fd3-3d1a-adad-c21c8896ffcf"><tt>9 arc_degree 7 arc_minute 22 arc_second</tt> renders as <em>9° 7′ 22″</em>.</p>
</example>

<example id="_f17525da-1b7f-9c39-c6b4-53f7981f68e0"><p id="_590bae1d-01cf-14b9-c9e8-7e51037c105d">The AsciiUnits in AsciiMath expression:</p>

<sourcecode id="_5470e3fe-4684-10df-ae0f-e82772bd6d49"><body>9 "unitsml(C^3*A)"</body></sourcecode>


<p id="_725aa587-b995-6802-e376-fe04ed073650">is converted into:</p>

<sourcecode id="_006843d0-4849-8806-f70d-4bd0b724402c" lang="xml"><body>&lt;math xmlns='http://www.w3.org/1998/Math/MathML'&gt;
  &lt;mrow&gt;
    &lt;mn&gt;9&lt;/mn&gt;
    &lt;mo rspace='thickmathspace'&gt;&amp;#x2062;&lt;/mo&gt;
    &lt;mrow xref='U_C3.A'&gt;
      &lt;msup&gt;
        &lt;mrow&gt;
          &lt;mi mathvariant='normal'&gt;C&lt;/mi&gt;
        &lt;/mrow&gt;
        &lt;mrow&gt;
          &lt;mn&gt;3&lt;/mn&gt;
        &lt;/mrow&gt;
      &lt;/msup&gt;
      &lt;mo&gt;&amp;#xB7;&lt;/mo&gt;
      &lt;mi mathvariant='normal'&gt;A&lt;/mi&gt;
    &lt;/mrow&gt;

    &lt;Unit xmlns='http://unitsml.nist.gov/2005' xml:id='U_C3.A' dimensionURL='#D_T3I4'&gt;
      &lt;UnitSystem name='SI' type='SI_derived' xml:lang='en-US'/&gt;
      &lt;UnitName xml:lang='en'&gt;C^3*A&lt;/UnitName&gt;
      &lt;UnitSymbol type='HTML'&gt;C&lt;sup&gt;3&lt;/sup&gt; &amp;#xB7; A&lt;/UnitSymbol&gt;
      &lt;UnitSymbol type='MathML'&gt;
        &lt;math xmlns='http://www.w3.org/1998/Math/MathML'&gt;
          &lt;mrow&gt;
            &lt;msup&gt;
              &lt;mrow&gt;
                &lt;mi mathvariant='normal'&gt;C&lt;/mi&gt;
              &lt;/mrow&gt;
              &lt;mrow&gt;
                &lt;mn&gt;3&lt;/mn&gt;
              &lt;/mrow&gt;
            &lt;/msup&gt;
            &lt;mo&gt;&amp;#xB7;&lt;/mo&gt;
            &lt;mi mathvariant='normal'&gt;A&lt;/mi&gt;
          &lt;/mrow&gt;
        &lt;/math&gt;
      &lt;/UnitSymbol&gt;
      &lt;RootUnits&gt;
        &lt;EnumeratedRootUnit unit='coulomb' powerNumerator='3'/&gt;
        &lt;EnumeratedRootUnit unit='ampere'/&gt;
      &lt;/RootUnits&gt;
    &lt;/Unit&gt;
    &lt;Dimension xmlns='http://unitsml.nist.gov/2005' xml:id='D_T3I4'&gt;
      &lt;Time symbol='T' powerNumerator='3'/&gt;
      &lt;ElectricCurrent symbol='I' powerNumerator='4'/&gt;
    &lt;/Dimension&gt;

  &lt;/mrow&gt;
&lt;/math&gt;</body></sourcecode>

</example>
</clause>

<clause id="_e01f7f98-12fe-140f-9100-16a3c0d87652" obligation="normative">
<title id="_6ac0e032-dc02-9744-226c-418f018cf90f">Representing alternative unit symbols</title>
<p id="_5160b9a8-bbfd-8588-a2a8-a6f2cbad2049">As described in <xref target="symbol-ambiguity-resolution"/>, a unit can be associated with alternative unit symbols, and can be referenced by any of those symbols.</p>

<p id="_8f8fe219-58b4-753e-cd32-036f4e1094b8">When using AsciiUnits in AsciiMath, the unit symbol referenced in the <tt>unitsml(...)</tt> expression supports the use of alternative unit symbols.</p>

<p id="_269358f6-3dd6-380e-928f-de86bce16ddd">It is crucial to note that if an alternative unit symbol used in the <tt>unitsml(...)</tt> expression, the unit symbol in the MathML representation will still be the canonical unit symbol unless explicitly specified otherwise using the syntax at  <xref target="metadata-symbol"/>.</p>

<example id="_23a35de0-e123-842e-4e89-115f7eadfb2c"><p id="_36b294ba-e20f-5a35-6c3c-f67f48c99c9f">An expression like <tt>1 unitsml(mL)</tt> will be recognised as referring to the “microlitre” unit.</p>

<p id="_8be07692-9782-4358-a586-3ebbba7349b2">While the expression will be given under its canonical rendering of <tt>ml</tt> in UnitsML markup, the MathML rendering referencing that UnitsML expression will keep the notation  <tt>mL</tt>.</p>
</example>
</clause>
</clause>








</sections><annex id="_1f713370-637f-c970-3fbc-90c2a3853c3e" obligation="normative">
<title id="_bea88f92-d09f-0f43-4229-e10280da95e9">EBNF grammar</title>
<clause id="_57c61e4f-0e0b-85ba-cbcd-e42989bf3c10" obligation="normative">
<title id="_cf8e0bad-9b28-c71a-cb74-cecacffc038e">General</title>
<p id="_43760be3-4626-3add-5e97-c7ab43ca9ce5">This section provides a formal grammar for AsciiUnits syntax using Extended Backus-Naur Form (EBNF).</p>

<p id="_687043d3-e9f9-bb9c-bc87-eb743f194c9d">The grammar is derived from the Ruby implementation of AsciiUnits and the test suite at <tt>unitsml-ruby/spec/unitsml/conv/xml_spec.rb</tt>.</p>
</clause>

<clause id="_865c8be0-0f46-f4ed-ac8e-48e0bf55a5cf" obligation="normative">
<title id="_ea4ee737-fdd2-406f-f48d-0c19e7bc0d67">EBNF notation</title>
<p id="_f44febba-1cd6-e220-975e-5588f525c59f">The EBNF notation used in this document follows these conventions:</p>

<ul id="_078b2efc-1175-903c-9c74-a565d7da2aa3"><li><p id="_321e72f4-6e92-d150-7c7a-c5b12a01ae66"><tt>::=</tt> defines a production rule</p>
</li>
<li><p id="_1ee02cfb-bbf5-fa5c-a8f0-d75729936f7c"><tt>|</tt> represents alternatives</p>
</li>
<li><p id="_7d79fc75-795f-6e0f-e875-9849630a82ee"><tt>[ ... ]</tt> represents optional elements</p>
</li>
<li><p id="_68ce1737-a483-0e60-c122-6d6514a52c0c"><tt>{ ... }</tt> represents elements that can be repeated zero or more times</p>
</li>
<li><p id="_45e9495b-475e-be2f-4f41-34ffef4454b3"><tt>( ... )</tt> groups elements</p>
</li>
<li><p id="_82b503bc-1ba7-1064-799e-1cea76bf55cf"><tt>" ... "</tt> and <tt>' ... '</tt> represent literal strings</p>
</li>
<li><p id="_ef1373ba-99aa-1a31-79ce-132006cdf4e7"><tt>/* ... */</tt> represents comments</p>
</li>
</ul>
</clause>

<clause id="_a22095f2-d7fb-5e48-406f-74135c30a5f0" obligation="normative">
<title id="_2d1c0c7e-610c-7713-b1f7-e0b620016180">Grammar definition</title>
<clause id="_e45c7180-1a6f-666e-b82d-f06e7fdbad9c" obligation="normative">
<title id="_b5a8b6d7-a85e-0a02-574f-e09f3fba4ba3">Top-level structure</title>
<sourcecode id="_2265bfb6-c0a4-9053-e24f-4105953a0a09" lang="ebnf"><body>/* Top-level AsciiUnits expression */
AsciiUnits ::= UnitExpression [ "," Metadata ]

/* Unit expression can be a basic unit, prefixed unit, composite unit, dimension expression, or prefix expression */
UnitExpression ::= BasicUnit | PrefixedUnit | CompositeUnit | DimensionExpression | PrefixExpression</body></sourcecode>

</clause>

<clause id="_0ad01efd-f7ac-f2b2-d77c-f8c2e99d6dd2" obligation="normative">
<title id="_1ee5af23-6502-1b2f-0475-9d811d07cdc3">Basic units</title>
<sourcecode id="_1791335f-3af1-30b9-3a99-752192f7ce4b" lang="ebnf"><body>/* Basic unit is a unit code from the UnitsDB database */
BasicUnit ::= UnitCode

/* Unit code is a sequence of letters and digits */
UnitCode ::= Letter { Letter | Digit }

/* Letter is any uppercase or lowercase letter */
Letter ::= "A" | "B" | "C" | ... | "Z" | "a" | "b" | "c" | ... | "z"

/* Digit is any decimal digit */
Digit ::= "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9"</body></sourcecode>

</clause>

<clause id="_b10a0b1f-a3ab-8445-1c21-7d163c4e1930" obligation="normative">
<title id="_c82e447c-e7d9-d2e9-163b-1c28b740200a">Prefixed units</title>
<sourcecode id="_dce10bcf-ea8b-2475-9c3e-d1f48ddb113c" lang="ebnf"><body>/* Prefixed unit is a prefix code followed by a unit code */
PrefixedUnit ::= PrefixCode UnitCode

/* Prefix code is a sequence of letters */
PrefixCode ::= Letter { Letter }

/* Prefix expression is a prefix code followed by a hyphen */
PrefixExpression ::= PrefixCode "-"</body></sourcecode>

</clause>

<clause id="_6427a4d1-e1a3-21c5-2272-787fe0ca948f" obligation="normative">
<title id="_3d7c6fa6-7d2f-8b6d-c450-2a684bcac01e">Composite units</title>
<sourcecode id="_ad814377-ad12-9597-7981-f98f3ecc1a92" lang="ebnf"><body>/* Composite unit is a combination of units with mathematical operations */
CompositeUnit ::= MultiplicationExpression | DivisionExpression | ExponentExpression | SqrtExpression | GroupedExpression

/* Multiplication expression combines units with the * operator */
MultiplicationExpression ::= UnitTerm "*" UnitExpression

/* Division expression combines units with the / or // operator */
DivisionExpression ::= UnitTerm "/" UnitExpression | UnitTerm "//" UnitExpression

/* Exponentiation expression raises a unit to a power */
ExponentExpression ::= UnitTerm "^" Power

/* Square root expression takes the square root of a unit */
SqrtExpression ::= "sqrt(" UnitExpression ")"

/* Grouped expression is a unit expression in parentheses */
GroupedExpression ::= "(" UnitExpression ")"

/* Unit term is a basic unit, prefixed unit, or grouped expression */
UnitTerm ::= BasicUnit | PrefixedUnit | GroupedExpression | SqrtExpression

/* Power can be a positive or negative number, or a grouped expression */
Power ::= Integer | "-" Integer | "(" Integer ")" | "(" "-" Integer ")"

/* Integer is a sequence of digits */
Integer ::= Digit { Digit }</body></sourcecode>

</clause>

<clause id="_09b92cf9-ab16-d28a-729e-ec6d4403bfc8" obligation="normative">
<title id="_9a34d957-95d1-7934-feb6-03582d236087">Dimension expressions</title>
<sourcecode id="_b00a3b0b-1a63-2dc4-a182-a16457684d51" lang="ebnf"><body>/* Dimension expression represents a physical dimension */
DimensionExpression ::= DimensionTerm | DimensionMultiplication | DimensionExponentiation

/* Dimension term is a basic dimension */
DimensionTerm ::= "dim_" DimensionSymbol

/* Dimension symbol is a dimension identifier */
DimensionSymbol ::= "L" | "M" | "T" | "I" | "Theta" | "N" | "J"

/* Dimension multiplication combines dimensions with the * operator */
DimensionMultiplication ::= DimensionTerm "*" DimensionExpression

/* Dimension exponentiation raises a dimension to a power */
DimensionExponentiation ::= DimensionTerm "^" Integer</body></sourcecode>

</clause>

<clause id="_9396534b-9e23-c9a1-774e-cec2cc4aac45" obligation="normative">
<title id="_46ca8189-78bb-ef85-4c1f-2b4be155f060">Metadata</title>
<sourcecode id="_32c31d82-afa4-0bf2-4e36-a53a3f6c7840" lang="ebnf"><body>/* Metadata provides additional information about the unit */
Metadata ::= MetadataItem { "," MetadataItem }

/* Metadata item is a key-value pair */
MetadataItem ::= MetadataKey ":" MetadataValue

/* Metadata key is a sequence of letters */
MetadataKey ::= Letter { Letter | "_" }

/* Metadata value is a sequence of characters */
MetadataValue ::= Character { Character }

/* Character is any printable character */
Character ::= Letter | Digit | Symbol

/* Symbol is any printable symbol */
Symbol ::= "+" | "-" | "*" | "/" | "^" | "(" | ")" | "." | "," | "_" | " " | ...</body></sourcecode>

</clause>
</clause>

<clause id="_8398eb7c-0c8d-88fb-81d2-c6870a4f8b6d" obligation="normative">
<title id="_580f1152-0a08-38b8-6576-a9c461f00a3a">Examples with grammar breakdown</title>
<clause id="_c01039cb-9f49-efb6-38e4-283dff333111" obligation="normative">
<title id="_00473d45-f12d-e0b4-e83a-a718ea226a23">Basic unit</title>
<sourcecode id="_bc90f1fe-48bd-7ca3-85bf-d59e8adf5bd3"><body>m</body></sourcecode>


<p id="_58c98479-7105-b9ef-6ea4-7bca090b3304">Grammar breakdown: *  <tt>AsciiUnits</tt> → <tt>UnitExpression</tt> → <tt>BasicUnit</tt> → <tt>UnitCode</tt> → <tt>"m"</tt></p>
</clause>

<clause id="_55f63fb3-0ec3-54d8-a864-e7870071a72c" obligation="normative">
<title id="_f7de9462-d918-8c04-49ae-e4d74a7c5f3e">Prefixed unit</title>
<sourcecode id="_b4e33e50-9112-7715-35ee-d369b9e37725"><body>kg</body></sourcecode>


<p id="_e20a20af-d6b6-43b2-fe30-91d5577384c1">Grammar breakdown: *  <tt>AsciiUnits</tt> → <tt>UnitExpression</tt> → <tt>PrefixedUnit</tt> → <tt>PrefixCode UnitCode</tt> → <tt>"k" "g"</tt></p>
</clause>

<clause id="_64946167-979c-590d-972a-91263268f597" obligation="normative">
<title id="_205d7a15-979a-803d-a623-9510a0316e0a">Composite unit with multiplication</title>
<sourcecode id="_bf72fa2d-e958-9dbd-b50d-33525f4e859c"><body>kg*m</body></sourcecode>


<p id="_8c44e7d3-a864-f9d2-7682-6fc9497503da">Grammar breakdown: *  <tt>AsciiUnits</tt> → <tt>UnitExpression</tt> → <tt>CompositeUnit</tt> → <tt>MultiplicationExpression</tt> → <tt>UnitTerm "*" UnitExpression</tt> → <tt>PrefixedUnit "*" BasicUnit</tt> → <tt>"kg" "*" "m"</tt></p>
</clause>

<clause id="_141890bc-aa0e-d90d-26a3-4cb3958b2b69" obligation="normative">
<title id="_d5836586-8ced-016d-fc61-910cfdf62a5e">Composite unit with division</title>
<sourcecode id="_7cf2ac5d-6520-a8d5-189c-b0c2ee40b27d"><body>m/s</body></sourcecode>


<p id="_cf80d3b2-042b-ce33-9f03-fdf7616e7070">Grammar breakdown: *  <tt>AsciiUnits</tt> → <tt>UnitExpression</tt> → <tt>CompositeUnit</tt> → <tt>DivisionExpression</tt> → <tt>UnitTerm "/" UnitExpression</tt> → <tt>BasicUnit "/" BasicUnit</tt> → <tt>"m" "/" "s"</tt></p>
</clause>

<clause id="_6b3a3a52-bddc-b6eb-0925-696e1e51909f" obligation="normative">
<title id="_153f7c6d-8fe9-d387-4bc9-ec5147f8b02b">Composite unit with exponentiation</title>
<sourcecode id="_7363bda7-f925-5f72-b949-0972e6e08c83"><body>m^2</body></sourcecode>


<p id="_8ef0bd3d-3c2b-d57b-99e0-c4b0f964adcc">Grammar breakdown: *  <tt>AsciiUnits</tt> → <tt>UnitExpression</tt> → <tt>CompositeUnit</tt> → <tt>ExponentExpression</tt> → <tt>UnitTerm "^" Power</tt> → <tt>BasicUnit "^" Integer</tt> → <tt>"m" "^" "2"</tt></p>
</clause>

<clause id="_9057f6dc-8a79-74ff-6461-e77cfae4f3e2" obligation="normative">
<title id="_b5a8159f-418f-e149-153b-2e9e31bc61b7">Composite unit with square root</title>
<sourcecode id="_48024c77-61b4-c8d1-d690-cd32c5894e51"><body>sqrt(Hz)</body></sourcecode>


<p id="_7455ca9b-bc01-93f0-4851-b87e0729afbf">Grammar breakdown: *  <tt>AsciiUnits</tt> → <tt>UnitExpression</tt> → <tt>CompositeUnit</tt> → <tt>SqrtExpression</tt> → <tt>"sqrt(" UnitExpression ")"</tt> → <tt>"sqrt(" BasicUnit ")"</tt> → <tt>"sqrt(" "Hz" ")"</tt></p>
</clause>

<clause id="_27b7c643-9f11-ec08-a060-30bb46f9e49a" obligation="normative">
<title id="_9cf31f8f-faa0-9919-39f4-c702389d2f3c">Composite unit with grouping</title>
<sourcecode id="_5d89196e-7783-9599-97e3-abaf212c24c2"><body>m^(-2)</body></sourcecode>


<p id="_86571910-8d34-c6ac-b3dd-ed2a42847cd0">Grammar breakdown: *  <tt>AsciiUnits</tt> → <tt>UnitExpression</tt> → <tt>CompositeUnit</tt> → <tt>ExponentExpression</tt> → <tt>UnitTerm "^" Power</tt> → <tt>BasicUnit "^" "(" "-" Integer ")"</tt> → <tt>"m" "^" "(" "-" "2" ")"</tt></p>
</clause>

<clause id="_70696847-a36c-a981-824c-98870cac1de0" obligation="normative">
<title id="_ac10401a-4781-4d74-4de4-82d27186d2e1">Unit with metadata</title>
<sourcecode id="_a1024468-e9cf-33fb-2297-0dbb66e37265"><body>cd*sr*m^(-2),symbol:cd cdot sr cdot m^(-2)</body></sourcecode>


<p id="_11f0db18-7201-1085-9131-df16a83e2e87">Grammar breakdown: *  <tt>AsciiUnits</tt> → <tt>UnitExpression "," Metadata</tt> → <tt>CompositeUnit "," MetadataItem</tt> → <tt>MultiplicationExpression "," MetadataKey ":" MetadataValue</tt> → <tt>UnitTerm "*" MultiplicationExpression "," "symbol" ":" "cd cdot sr cdot m^(-2)"</tt></p>
</clause>
</clause>

<clause id="_d00c9cc5-777e-0645-bcb1-67256301815a" obligation="normative">
<title id="_0ff7cced-9964-cdcf-6eaa-724ca17f5f0c">Railroad diagrams</title>
<p id="_1db97fcc-2f81-5295-d7aa-fe71c09fc97f">Railroad diagrams provide a visual representation of the grammar rules. Below are railroad diagrams for the main components of the AsciiUnits grammar:</p>

<sourcecode id="_f7a691ee-00a5-dc2d-0b09-475bced8871d"><name id="_802875f1-42d4-d0d4-a051-6a757490fc5e">AsciiUnits Expression</name><body>@startuml
skinparam monochrome true
skinparam shadowing false
skinparam defaultFontName "Arial"
skinparam defaultFontSize 14

start
:UnitExpression;
if (Metadata?) then (yes)
  :,;
  :Metadata;
endif
stop
@enduml</body></sourcecode>


<sourcecode id="_535f5e34-6b03-1e08-de8e-bdb9df306e31"><name id="_e612133a-9e0f-bc96-861d-1c7c3aa68877">Unit Expression</name><body>@startuml
skinparam monochrome true
skinparam shadowing false
skinparam defaultFontName "Arial"
skinparam defaultFontSize 14

start
split
  :BasicUnit;
split again
  :PrefixedUnit;
split again
  :CompositeUnit;
split again
  :DimensionExpression;
split again
  :PrefixExpression;
end split
stop
@enduml</body></sourcecode>


<sourcecode id="_3e30d89d-375e-6a01-b0ff-252943c00ebd"><name id="_117debc1-90f6-7c5a-62c7-036c15f8f27a">Composite Unit</name><body>@startuml
skinparam monochrome true
skinparam shadowing false
skinparam defaultFontName "Arial"
skinparam defaultFontSize 14

start
split
  :MultiplicationExpression;
split again
  :DivisionExpression;
split again
  :ExponentExpression;
split again
  :SqrtExpression;
split again
  :GroupedExpression;
end split
stop
@enduml</body></sourcecode>

</clause>

<clause id="_3587daac-aced-8569-617c-7c7bc6b17d32" obligation="normative">
<title id="_93c7f64f-b56a-ce61-2151-aa3ae893f4e9">Grammar validation</title>
<p id="_6042da54-c56c-3bb7-1e61-1825cb1b6564">The EBNF grammar defined in this section has been validated against the test suite at <tt>unitsml-ruby/spec/unitsml/conv/xml_spec.rb</tt>. All test cases in the suite conform to the grammar rules.</p>

<p id="_c5faf90f-94e0-e791-f13e-8813cf0d88ce">The grammar provides a formal specification of the AsciiUnits syntax, which can be used to:</p>

<ul id="_e4233918-3457-0746-a2d7-f73594678372"><li><p id="_500ff9c4-9d9a-7207-9b53-bb74730c714f">Implement parsers and generators for AsciiUnits</p>
</li>
<li><p id="_db0a49e0-42cd-4013-3f56-404f69b14627">Validate AsciiUnits expressions</p>
</li>
<li><p id="_f0edd8a8-4e58-82f3-b631-817091616f02">Document the AsciiUnits syntax in a precise and unambiguous way</p>
</li>
<li><p id="_6df4cd12-fbcc-cb4e-b284-3cb505041bba">Ensure interoperability between different implementations of AsciiUnits</p>
</li>
</ul>
</clause>
</annex><annex id="_0af1de49-8074-bd84-b984-e7e40ec5fde8" anchor="fixed-symbols" obligation="informative">
<title id="_f1bc043d-ead9-cdf7-e503-85e25f0d5b8a">Fixed symbols</title>
<clause id="_6b55336d-1f3f-a5e2-84d8-33449d4b097b" obligation="informative">
<title id="_d9eae85b-8aa2-6018-de0c-0275f7888792">General</title>
<p id="_1dd39307-1dcf-70d0-86ea-d50d5c266f64">Some symbols used in AsciiUnits are fundamental symbols that while exist in UnitsDB as individual entries, they are considered constant entries because of the fundamental nature of their values.</p>
</clause>

<clause id="_685f6deb-476a-5a2f-6411-278296bb2d27" obligation="informative">
<title id="_c2109de1-cc98-8217-4d31-9467bd80d5b6">Dimension symbols</title>
<p id="_262d31df-17ff-c03f-70cb-2cf6d5bf33bb">Dimensions are represented by the following symbols.</p>

<table id="_87d0bb0c-636f-afea-8341-d5bc8122eda0"><thead><tr id="_fcb28d5a-d5e3-276e-d619-82b1cfa11721"><th id="_966cb22c-0985-108a-3ddf-33d1f894a265" valign="top" align="left">Dimension</th>
<th id="_55a78491-7c03-0229-fa2b-9778c640db3d" valign="top" align="left">UnitsDB symbol</th>
<th id="_6df7d9ec-7f63-a347-5aa1-e6675823266a" valign="top" align="left">UnitsDB ID</th>
</tr></thead>
<tbody><tr id="_16d10f9f-13fe-0a28-9797-86196d610d90"><td id="_42b54eba-128f-9349-6f9c-257177353b38" valign="top" align="left">Length</td>
<td id="_0a4a7a01-9dda-3af4-9f07-f6b14cd0e828" valign="top" align="left"><tt>dim_L</tt></td>
<td id="_822057d9-3531-d13d-8787-169174494e6c" valign="top" align="left"><tt>NISTd1</tt></td>
</tr><tr id="_86c64e30-08a2-fd38-304d-c133c1ffefbc"><td id="_8b704799-34da-2886-9233-0b0051ce7c7e" valign="top" align="left">Mass</td>
<td id="_5f3c4c7a-2a6c-d7ae-879a-51513237bc82" valign="top" align="left"><tt>dim_M</tt></td>
<td id="_a7e71af7-de52-ea7f-3dc6-9479445a1cd1" valign="top" align="left"><tt>NISTd2</tt></td>
</tr><tr id="_a63e4e20-9e2b-d413-b98a-e184aa7ff6c6"><td id="_32fc447f-7ee7-080e-55e4-96c141ae1f15" valign="top" align="left">Time</td>
<td id="_426ffab7-33ab-7a55-5d7a-d79fe1768c14" valign="top" align="left"><tt>dim_T</tt></td>
<td id="_49ae2203-a36a-8dea-2d3b-d59abc19c88b" valign="top" align="left"><tt>NISTd3</tt></td>
</tr><tr id="_aa2eec47-066e-fc77-d3be-cfbc381cd232"><td id="_b0c32a46-073c-9a55-ef5b-f035e53ba181" valign="top" align="left">Electric current</td>
<td id="_5c3d50e7-a1ae-24c8-d96d-5f2b70bbf4fe" valign="top" align="left"><tt>dim_I</tt></td>
<td id="_958bdf60-db82-9258-926f-42fb85e9d7c4" valign="top" align="left"><tt>NISTd4</tt></td>
</tr><tr id="_95c9e82e-1611-1778-e8da-94306a4f0eaa"><td id="_902fb229-5236-f0d7-69eb-5bf96944453e" valign="top" align="left">Thermodynamic temperature</td>
<td id="_ef931459-9d3b-0e32-73ae-b6f18b089bc3" valign="top" align="left"><tt>dim_Theta</tt></td>
<td id="_ec533a49-7d6f-f3cb-ca41-92845f22777a" valign="top" align="left"><tt>NISTd5</tt></td>
</tr><tr id="_b187fc40-b081-d872-e1ee-f4cc4307b250"><td id="_91e4ab7d-eac3-2da1-47cc-169451187421" valign="top" align="left">Amount of substance</td>
<td id="_c7f80c78-537b-3c57-f1d1-63d91a932e8b" valign="top" align="left"><tt>dim_N</tt></td>
<td id="_d3a28909-a0cf-922d-2bdf-be51d62efafe" valign="top" align="left"><tt>NISTd6</tt></td>
</tr><tr id="_651ea5f5-c97d-a177-abd1-19cb70da67b4"><td id="_ac49d401-cf72-db60-143c-96607498565d" valign="top" align="left">Luminous intensity</td>
<td id="_8ebcd668-5047-8b1d-6faa-e2ffb092366b" valign="top" align="left"><tt>dim_J</tt></td>
<td id="_c848e381-4b2c-c80d-31de-1ea453f48fc7" valign="top" align="left"><tt>NISTd7</tt></td>
</tr><tr id="_01fedb87-31a4-fbad-fec6-8af9f0715282"><td id="_7b55cd08-1380-5304-cb94-e0f88da10984" valign="top" align="left">Plane angle (dimensionless)</td>
<td id="_0d1436df-1c05-027f-e652-7e9d40df3b28" valign="top" align="left"><tt>dim_phi</tt></td>
<td id="_d5414a3a-806c-a5ab-f28a-997fe5fc2f83" valign="top" align="left"><tt>NISTd9</tt></td>
</tr></tbody>
</table>

<example id="_ecdadc4c-2b9b-fb2c-689c-ba8eaa46b5e5"><p id="_418b94cb-e000-43d1-88db-39fac19b356f"><tt>unitsml(dim_I)</tt> for the dimension of electric current, 𝖨.</p>
</example>
</clause>

<clause id="_abc06e02-0240-dfa4-6679-d488ca09681f" obligation="informative">
<title id="_dd2d6b87-515a-1dba-eb78-91164857805a">Non-SI units who values in SI units that are experimentally determined</title>
<p id="_05e90c60-9486-0325-3326-7e514a06228e">This table maps from NIST SP 811, Table 7.</p>

<table id="_b28cfc9e-512f-99bb-c589-e75059d35418">
<name id="_c57fbfa7-2bdb-87e0-4443-0fde3f4606f5">Non-SI Units accepted for use with the SI by the CIPM and NIST SP 811 Table 7</name>
<thead><tr id="_20a5fa10-46c8-7e77-3486-9c749c3c9512"><th id="_1d880b91-58d0-5435-779b-b7f67f9f030c" valign="top" align="left">Name</th>
<th id="_ac135df5-64b0-e0d3-7d0e-968a0b983831" valign="top" align="left">UnitsDB symbol</th>
<th id="_fe57a7d3-8217-5dfe-d3a7-ef61623d7111" valign="top" align="left">UnitsDB name</th>
<th id="_9846ac95-6b13-14d3-684a-40fc995c9f21" valign="top" align="left">UnitsDB ID</th>
</tr></thead>
<tbody><tr id="_d45cfbbc-71be-65b6-5b00-bba395ccabc8"><td id="_e8714a7f-ebbb-81de-a239-42d888e88b8c" valign="top" align="left">electronvolt</td>
<td id="_aabd655d-df71-0b09-c47d-deb7b36bf3f2" valign="top" align="left"><tt>eV</tt></td>
<td id="_b1c247cb-88fe-b632-6668-d9664d11b88c" valign="top" align="left">electronvolt</td>
<td id="_75b505c8-7246-e438-e60f-22bd8425aa88" valign="top" align="left"><tt>NISTu240</tt></td>
</tr><tr id="_fed1f890-e263-3fb3-3037-bdce6f585acd"><td id="_658cf495-4e9f-af39-db00-d88a376d7452" valign="top" align="left">astronomical unit</td>
<td id="_b172655a-781d-2811-26ef-7a4a9b9f71f3" valign="top" align="left"><tt>ua</tt></td>
<td id="_3193ebd4-6ed7-f5a3-5d28-030d3dcb5625" valign="top" align="left">astronomical unit</td>
<td id="_a29457ae-52d2-0fff-34d3-2750b0440a6c" valign="top" align="left"><tt>NISTu183</tt></td>
</tr><tr id="_d02e3a73-a91c-5d14-812c-c52d0a70525e"><td id="_7013e252-1b7a-7968-7e59-63f059e4ea37" valign="top" align="left">unified atomic mass unit</td>
<td id="_ca1539cb-ba1a-c6f9-f80b-d200e0b7483c" valign="top" align="left"><tt>u</tt></td>
<td id="_bb3022cc-69b9-9992-3822-8e0b4faa16ad" valign="top" align="left">unified atomic mass unit</td>
<td id="_f80a9978-34e8-63ad-bb7f-cc12ade6dcb6" valign="top" align="left"><tt>NISTu241</tt></td>
</tr><tr id="_5d27debc-3337-50a5-96c2-1875483b3847"><td id="_c3d7ef67-190c-fa20-0696-acfd002383db" valign="top" align="left">dalton</td>
<td id="_2664856d-70c9-a6b4-1a67-caee5e1c484b" valign="top" align="left"><tt>Da</tt></td>
<td id="_4b773af4-3d06-4e82-a6d2-7ae5b6464bc4" valign="top" align="left">dalton</td>
<td id="_66d1ab59-46fe-fb4c-dfda-566e4dc80b65" valign="top" align="left"><tt>NISTu289</tt></td>
</tr></tbody>
</table>
</clause>

<clause id="_dc517490-f685-d202-e875-df71ce8667e1" obligation="informative">
<title id="_a3c68fd8-43b5-4213-f75f-fe77305eae69">Natural units and atomic units</title>
<p id="_6e96543e-d3e0-96cc-d729-b1fd14df8818">Natural units and atomic units are represented by the following symbols.</p>

<p id="_3f1e29c5-b2b1-b07a-c3e2-0207827137c3">This table maps from NIST SP 811, Table 8.</p>

<table id="_db3ab490-7799-6682-a0a6-f86af5462a4f"><tbody><tr id="_c1eff998-e5af-bdb5-8d25-c8904440506b"><td id="_7e976104-8866-55e5-81da-59187b4c2bbf" valign="top" align="left">Quantity kind</td>
<td id="_07aa75d8-2c2e-6861-e08e-bfafef15f2f8" valign="top" align="left">UnitsDB symbol</td>
<td id="_5b308450-1d77-0d6a-9016-94b86a609c02" valign="top" align="left">Description</td>
<td id="_df7b9e91-c394-8b97-c1ff-2290346c3c86" valign="top" align="left">UnitsDB name</td>
<td id="_a5fca9e5-1110-0081-c57b-a859ffbdd6ab" valign="top" align="left">UnitsDB ID</td>
</tr><tr id="_2d5d7b73-7501-6a85-5e3e-84bbb6de1dc2"><td id="_e17e3221-0cd0-7024-8603-e3398474b658" valign="top" align="left">speed</td>
<td id="_04c4e29b-d1e5-9ba9-51c5-2f3f691e1fbb" valign="top" align="left"><tt>c</tt></td>
<td id="_71bc912f-78b5-edfd-b399-24641610cdd7" valign="top" align="left">Speed of light in vacuum (n.u.)</td>
<td id="_caf973c1-cb21-51cf-0142-94b837b88727" valign="top" align="left">natural unit of velocity</td>
<td id="_2c014fb2-0095-382c-5fd0-b142dd012c46" valign="top" align="left"><tt>NISTu242</tt></td>
</tr><tr id="_a088c912-03ad-d1bb-27fb-d9e446fdd19e"><td id="_7958dfff-e209-991a-3524-63b200d81a66" valign="top" align="left">action</td>
<td id="_0f163ea3-eadd-fb32-1659-553968a406a0" valign="top" align="left"><tt>h-bar</tt></td>
<td id="_fff07578-6c18-e1ff-70ef-04f72657fd7b" valign="top" align="left">Planck constant divided by 2π (n.u.)</td>
<td id="_9f3cb946-8a0b-1f4e-fd27-26717421cee8" valign="top" align="left">natural unit of action</td>
<td id="_bc84f1f9-0f21-468a-b790-c06e5f612796" valign="top" align="left"><tt>NISTu243</tt></td>
</tr><tr id="_4de5c8dc-a3fd-10e0-5c3c-1666d3607d0f"><td id="_267efb4b-4c10-bcf5-c9dd-d7e0754ee889" valign="top" align="left">mass</td>
<td id="_49fc46b8-d31c-4c33-ab68-2226e37f9cad" valign="top" align="left"><tt>m_e</tt></td>
<td id="_3c97c8d6-9ef8-46bc-45fd-20a0167fd6b9" valign="top" align="left">electron rest mass (n.u. and a.u.)</td>
<td id="_e736d5b9-d1ea-9d01-a9d7-b7ac2c2b7e99" valign="top" align="left">natural unit of action</td>
<td id="_50e04664-e2bf-8d2e-253f-4e2dcdd143b3" valign="top" align="left"><tt>NISTu244</tt></td>
</tr><tr id="_2e4fe5a3-d55b-7eb5-de82-40ac6335bd08"><td id="_00cfc9ee-08be-7434-8388-61392d6f7604" valign="top" align="left">electric charge</td>
<td id="_a7a4e2f5-957f-46c3-aba6-f3acc26c4459" valign="top" align="left"><tt>e</tt></td>
<td id="_4ceb4b86-f58d-cda8-d429-ab8afa3edd85" valign="top" align="left">elementary charge (a.u.)</td>
<td id="_2e387590-d66f-9ddd-8cd6-87f41fbc9b3e" valign="top" align="left">atomic unit of charge</td>
<td id="_3e91f6b1-571b-d96d-48b8-a8c108ab59b1" valign="top" align="left"><tt>NISTu246</tt></td>
</tr><tr id="_b717ac6e-e5df-4e7a-b5d3-ae7b9bc213ca"><td id="_082c74e4-99ce-5cfb-98b5-0605c41a37d9" valign="top" align="left">length</td>
<td id="_76dff0b5-7e6d-73c9-cc87-75c4feb0beeb" valign="top" align="left"><tt>a_0</tt></td>
<td id="_30e1eec7-01eb-d0f0-93de-2817a50c1b90" valign="top" align="left">Bohr radius (a.u.)</td>
<td id="_91e0a45b-1386-6b47-d72c-05365f472df7" valign="top" align="left">atomic unit of length</td>
<td id="_ec75f861-71fe-b9e5-ee18-434bfc7a96c8" valign="top" align="left"><tt>NISTu249</tt></td>
</tr><tr id="_2ee24338-2e6f-c1c4-b73d-56cd11adcd6f"><td id="_b2faecec-ca3f-8536-82de-27b0f3d63464" valign="top" align="left">energy</td>
<td id="_34af2263-1ff4-ac32-21ba-880c25edab70" valign="top" align="left"><tt>e_h</tt></td>
<td id="_6bfe2553-2cdb-f046-c4d8-493262dc05c4" valign="top" align="left">Hartree energy (a.u.)</td>
<td id="_59d12ca7-789e-c33d-041e-777f9b73650d" valign="top" align="left">atomic unit of energy</td>
<td id="_1281f985-970f-99c2-32eb-a6d8356885e9" valign="top" align="left"><tt>NISTu250</tt></td>
</tr><tr id="_126af629-191e-30b3-3d0c-0649f6221e71"><td id="_19a874ab-7138-ea6e-05d8-cd5988c5160a" valign="top" align="left">time</td>
<td id="_26874ce6-58e3-f161-bc63-e46dd82209e6" valign="top" align="left"><tt>h/E_h</tt></td>
<td id="_a0dc1ed8-102f-a5bc-8423-9693094c4e23" valign="top" align="left">ratio of action to energy (a.u.)</td>
<td id="_94cc9e7d-c0ac-5e63-e7b4-17f92c6ef46d" valign="top" align="left">natural unit of time</td>
<td id="_e89d777e-135b-a2cc-8e88-96332f2eb179" valign="top" align="left"><tt>NISTu248</tt></td>
</tr></tbody>
</table>
</clause>
</annex><annex id="_06626c4a-aed7-48c5-8fe4-47769e759064" anchor="ambiguous-unit-symbols" obligation="informative">
<title id="_c02b594d-312d-1606-6db3-3ca1ad78f1c5">Ambiguous unit symbols</title>
<p id="_a63a3a2a-8369-10f8-233b-c2447c5716b0">The symbols used for units can be highly ambiguous. In order to guarantee accurate parsing, the symbols used to data enter units are unambiguous in UnitsDB’s Units database.</p>

<example id="_a33c9ff0-8dc1-c952-e01d-72d4451a8028"><p id="_f2daa48b-9210-1a3d-dbf7-adf9ab6a20ee"><tt>B</tt> is ambiguous between <em>bel</em> (as in decibel) and <em>byte</em>.</p>

<p id="_0cb231c4-c9b2-d7c5-7ab8-cc8fd016a5a9">These units are kept unambiguous by using <tt>bel_B</tt> and <tt>byte_B</tt> to refer to them, although they will still both be rendered as  <tt>B</tt>.</p>
</example>

<p id="_552d0c5c-4510-6e80-53fc-5d9e809b48ed">The following table lists ambiguous symbols and how they are disambiguated in the symbol IDs.</p>

<table id="_81274d77-af2e-4a20-cdb6-15580aff6274"><colgroup><col width="6.25%"/><col width="18.75%"/><col width="18.75%"/><col width="18.75%"/><col width="18.75%"/><col width="18.75%"/></colgroup>
<name id="_b2b62693-415e-7185-23f4-0b120a6ede45">Ambiguous symbols supported in UnitsDB</name>
<thead><tr id="_8c6ee951-8c5c-d074-dc86-a259f5475390"><th id="_0554acee-0367-e531-19ac-98101f84edf5" valign="top" align="center">Symbol</th>
<th id="_cd5248f9-4689-14fe-b38a-93b2d0494ecd" valign="top" align="left">Unit + ID</th>
<th id="_fe1e1911-fc03-d425-fa6a-042cfb8d1c97" valign="top" align="left">Unit + ID</th>
<th id="_615e2510-63dc-5a43-c621-5f271c3d9ab8" valign="top" align="left">Unit + ID</th>
<th id="_13ead5da-4166-27ed-4a85-0cb3e4ce7154" valign="top" align="left">Unit + ID</th>
<th id="_4a9abcfd-8c9c-2ced-25ff-8a7123c9667d" valign="top" align="left">Unit + ID</th>
</tr></thead>
<tbody><tr id="_32dbbbeb-c11d-1e9e-6092-b4125f95287d"><td id="_193fa16e-93b2-00e5-f7c4-53bc70404363" valign="top" align="center">′</td>
<td id="_b35f125f-15b4-6c99-f32c-e28ee4381862" valign="top" align="left">minute (minute of arc): <tt>'</tt></td>
<td id="_c449c390-6a62-51da-84d5-40186c79a1fe" valign="top" align="left">foot: <tt>'_ft</tt></td>
<td id="_19fd8d28-856b-2276-489e-5d313bedb911" valign="top" align="left">minute: <tt>'_min</tt></td>
<td id="_82640727-0cea-29bc-e627-2cae49dbff8b" valign="top" align="left">minute of arc: <tt>prime</tt></td>
<td id="_22fa6404-5d95-b1fe-e0f4-64aa42c2ba15" valign="top" align="left">foot: <tt>prime_ft</tt></td>
</tr><tr id="_95162c3d-175b-5c57-381a-057419318bef"><td id="_acd0b9a0-bb9a-051c-cd18-889bed3cedad" valign="top" align="center">″</td>
<td id="_e837cf11-ff7c-1d40-061f-7fcdbba92e0f" valign="top" align="left">second (second of arc): <tt>"</tt></td>
<td id="_21d0a3c8-b5e5-6c65-7b0d-94a6637a4649" valign="top" align="left">second: <tt>"_s</tt></td>
<td id="_256abd44-b10a-762f-cf8d-de6b45ced753" valign="top" align="left">inch: <tt>"_in</tt></td>
<td id="_336c75c8-3e91-d7b5-1d97-43a807b560db" valign="top" align="left">second of arc: <tt>dprime</tt></td>
<td id="_4585db69-5737-66ca-0f46-6c8826218b8e" valign="top" align="left">second: <tt>dprime_s</tt></td>
</tr><tr id="_5bd872e9-3c8c-186e-f50d-038ed1cd6d45"><td id="_75179e04-8961-1380-5dcc-34e19ea345b8" valign="top" align="center">″Hg</td>
<td id="_ee8a59de-6006-9331-7e5a-b2c2d2bac2c9" valign="top" align="left">conventional inch of mercury: <tt>"Hg</tt></td>
<td id="_ff8affa3-1a2b-60ab-a412-1c63c67b9dee" valign="top" align="left">conventional inch of mercury: <tt>dprime_Hg</tt></td>
<td id="_b86e043b-f15e-ab9f-891d-ad5c845b98bb" valign="top" align="left">inch of mercury (32 degF): <tt>"Hg_32degF</tt></td>
<td id="_d5dfcf39-18fd-7da1-9885-b3459aca7045" valign="top" align="left">inch of mercury (60 degF): <tt>"Hg_60degF</tt></td>
<td id="_f372cbcc-9563-b761-3fe3-8a306422dea3" valign="top" align="left">inch of mercury (32 degF): <tt>dprime_Hg_32degF</tt></td>
</tr><tr id="_0d301955-0267-8643-dd59-d3b10fc91b3f"><td id="_3d46e5e4-f41e-5cad-3c1b-e475926b7070" valign="top" align="center">hp</td>
<td id="_48bd63f0-3d4a-5a88-a60b-1d2947dc46dc" valign="top" align="left">horsepower: <tt>hp</tt></td>
<td id="_3f3fa286-9352-8dfc-c632-22646501788d" valign="top" align="left">horsepower (UK): <tt>hp_UK</tt></td>
<td id="_2df945e0-1330-e126-c99a-8da59e8cee9d" valign="top" align="left">horsepower, water: <tt>hp_water</tt></td>
<td id="_1fdb0506-0f0d-8fd9-9017-e6d5636fe110" valign="top" align="left">horsepower, metric: <tt>hp_metric</tt></td>
<td id="_ee6f4925-96bb-4e02-3db1-acab53974b52" valign="top" align="left">horsepower, boiler: <tt>hp_boiler</tt></td>
</tr><tr id="_2645d492-c546-877e-c068-b03ba8e6448a"><td id="_bce50362-e603-6c60-29a4-3e19bb846440" valign="top" align="center">Btu</td>
<td id="_8a01a572-a895-7087-ac46-26e885a3e10e" valign="top" align="left">British thermal unit_IT: <tt>Btu</tt></td>
<td id="_996cbb5f-1e19-f8fc-1a41-b97b1be46038" valign="top" align="left">British thermal unit (mean): <tt>Btu_mean</tt></td>
<td id="_880f1938-e3cb-0286-3938-38dec80d62ca" valign="top" align="left">British thermal unit (39 degF): <tt>Btu_39degF</tt></td>
<td id="_f521f8d8-ff8d-c6db-33ae-25c294e6d873" valign="top" align="left">British thermal unit (59 degF): <tt>Btu_59degF</tt></td>
<td id="_3329f617-dc76-52f2-ed1e-4fb85b72da9d" valign="top" align="left">British thermal unit (60 degF): <tt>Btu_60degF</tt></td>
</tr><tr id="_ca615fef-72f1-61b5-3aba-0058d03e3535"><td id="_59536e2b-f3b1-6e7a-7413-3b24e3a82f2a" valign="top" align="center">a</td>
<td id="_24ff0176-b43e-8807-ab95-9742c6fa1920" valign="top" align="left">are: <tt>a</tt></td>
<td id="_d5a80282-b548-7a4c-b168-8837bb81545c" valign="top" align="left">year (365 days): <tt>a_year</tt></td>
<td id="_d622bfdc-9123-7ccf-c94d-20933f7f2285" valign="top" align="left">year, tropical: <tt>a_tropical_year</tt></td>
<td id="_b91ba93a-3a06-ac8f-1126-5b21f5e867e3" valign="top" align="left">year, sidereal: <tt>a_sidereal_year</tt></td>
<td id="_871e08fa-4a7c-8ca6-cf80-52dbc7436430" valign="top" align="left"/></tr><tr id="_1e744b35-7fe0-4d64-0590-a8188c0176a6"><td id="_005c979f-7103-f917-e4ae-d9896b9061bb" valign="top" align="center">d</td>
<td id="_ec2f576d-ce7f-ebbc-e0e1-0eea095aaf62" valign="top" align="left">day: <tt>d</tt></td>
<td id="_9d02038a-b571-ff6c-7945-99e5471f454b" valign="top" align="left">darcy: <tt>darcy</tt></td>
<td id="_10ffe265-fa2b-4031-2953-b1478005e880" valign="top" align="left">day, sidereal: <tt>d_sidereal</tt></td>
<td id="_88a00415-dd1d-695d-5dd5-411cf2ed2e45" valign="top" align="left"/><td id="_fb8aab61-6543-d612-c946-9b320dc93c04" valign="top" align="left"/></tr><tr id="_aaed6a38-d4fd-8c30-8880-bf539e16fc82"><td id="_9a8fd486-f179-331d-79ee-81272a852626" valign="top" align="center">inHg</td>
<td id="_3d17681d-ec6d-3fad-0447-ec57396aebb9" valign="top" align="left">conventional inch of mercury: <tt>inHg</tt></td>
<td id="_89cce54e-d9db-1991-5856-39919386d90f" valign="top" align="left">inch of mercury (32 degF): <tt>inHg_32degF</tt></td>
<td id="_af35a375-3189-6e42-3d59-fc4d598f94b8" valign="top" align="left">inch of mercury (60 degF): <tt>inHg_60degF</tt></td>
<td id="_62fb4c59-9788-d79e-d92c-e81227193e76" valign="top" align="left"/><td id="_c676e82d-c8a7-209d-1c5c-d3cd0eb22e9e" valign="top" align="left"/></tr><tr id="_c3adb725-9cdb-3a56-8380-9ae10d5eca43"><td id="_57edd356-ed48-d2c0-64fd-3580a74a758a" valign="top" align="center">inH<sub>2</sub>O</td>
<td id="_2a3d787f-2209-491e-2227-b3d87d8459ea" valign="top" align="left">conventional inch of water: <tt>inH_2O</tt></td>
<td id="_ab3f11e9-6a5d-d8de-2aef-8cbfe7e4cbcd" valign="top" align="left">inch of water (39.2 degF): <tt>inH_2O_39degF</tt></td>
<td id="_b36f5911-ae54-5ebe-26d4-23328c75dfcd" valign="top" align="left">inch of water (60 degF): <tt>inH_2O_60degF</tt></td>
<td id="_ad35426f-2e54-a4c2-17d3-5e212f5444be" valign="top" align="left"/><td id="_ef743e2b-26a1-1b43-8c3c-bbd15a7490b5" valign="top" align="left"/></tr><tr id="_a3e99cb4-74a7-4c17-cbfa-7e1eb1217606"><td id="_fea918f9-722f-9904-a74d-1f9e3020e40e" valign="top" align="center">min</td>
<td id="_22b5a17d-0f07-db95-fa33-b750a6f452b4" valign="top" align="left">minute: <tt>min</tt></td>
<td id="_62091f17-34d6-028c-e2ca-747829a6dc58" valign="top" align="left">minim: <tt>minim</tt></td>
<td id="_a22ec0a8-0cd7-ebe5-8c80-55217c06989a" valign="top" align="left">minute, sidereal: <tt>min_sidereal</tt></td>
<td id="_db154c5a-a993-d45a-4514-9d1d0983b7f6" valign="top" align="left"/><td id="_066aeb07-1939-2d75-094b-0cae530bd520" valign="top" align="left"/></tr><tr id="_529a3ea8-09f6-1504-03cf-98a8e3601e86"><td id="_f4537d6b-15ff-f57d-abfb-76cb4b7e1eaf" valign="top" align="center">pc</td>
<td id="_d751c2fa-0a6a-3921-82b3-0d7eb0471078" valign="top" align="left">parsec: <tt>pc</tt></td>
<td id="_d9571e3d-67a3-d80e-0e33-1276a8af9e1a" valign="top" align="left">pica (printer’s): <tt>pica_printer</tt></td>
<td id="_76c18574-661f-fbf7-ee91-bb043f16da3f" valign="top" align="left">pica (computer): <tt>pica_computer</tt></td>
<td id="_700256af-9dec-2151-db0f-11cb449126b4" valign="top" align="left"/><td id="_92b6a24d-a52e-7fd9-5e4c-8a15c1d27604" valign="top" align="left"/></tr><tr id="_fd632ae0-8386-e619-b00b-fe09d7d07038"><td id="_04fe7e61-9213-7436-6279-b631aabc4943" valign="top" align="center">t</td>
<td id="_af0ee021-b55e-a75a-81e4-2b04286f3454" valign="top" align="left">metric ton: <tt>t</tt></td>
<td id="_828a3dd0-2036-b8e3-593f-937d1ff8c79a" valign="top" align="left">long ton: <tt>ton_long</tt></td>
<td id="_8bfc1122-9a3c-a2f9-bf5d-cb9aa058fb7f" valign="top" align="left">short ton: <tt>ton_short</tt></td>
<td id="_04759f1b-e48b-7906-a834-5843f1987a44" valign="top" align="left"/><td id="_1852b0df-8ad1-86bc-984a-e65bcb0e3621" valign="top" align="left"/></tr><tr id="_48f47da5-0512-1175-9e8c-f97fca8c7945"><td id="_907661dc-1a10-5827-d4a8-ea97c8af9b64" valign="top" align="center">B</td>
<td id="_f21877f7-feb8-78a5-7764-dad95957f8f5" valign="top" align="left">bel: <tt>bel_B</tt></td>
<td id="_cb42d8f1-826b-05db-2c2d-d249f7d05db2" valign="top" align="left">byte: <tt>byte_B</tt></td>
<td id="_c403e61e-bd3e-8f46-ce80-4fa9ae26d77e" valign="top" align="left"/><td id="_95e5977d-c348-bd17-1690-2934035dfdd3" valign="top" align="left"/><td id="_d16af894-d683-04de-862b-c609df341228" valign="top" align="left"/></tr><tr id="_19e4e22c-30eb-9744-3dcf-417dbc52fce4"><td id="_0cde2a6d-bb61-165d-3902-3b2cecd408f4" valign="top" align="center">cmHg</td>
<td id="_1e22da5e-06c2-7cf2-782c-e395591dcef7" valign="top" align="left">conventional centimeter of mercury: <tt>cmHg</tt></td>
<td id="_4e4a2215-eb85-22d7-af04-632451fd6a35" valign="top" align="left">centimeter of mercury (0 degC): <tt>cmHg_0degC</tt></td>
<td id="_ad7ed7dd-2821-9543-073b-1f9c6b6c6a8b" valign="top" align="left"/><td id="_060dcee3-46aa-0065-1aa7-6e802e3046b6" valign="top" align="left"/><td id="_be52703c-240b-2d0c-1e55-2e5b2296d732" valign="top" align="left"/></tr><tr id="_cc4eb880-1001-ff43-fe06-317316fc573e"><td id="_7e2ad159-f2ac-8fae-e94e-f1e4cf8dc13e" valign="top" align="center">cmH<sub>2</sub>O</td>
<td id="_4e7ca920-7c54-3cce-9cfa-c33867fb48ed" valign="top" align="left">conventional centimeter of water: <tt>cmH_2O</tt></td>
<td id="_70fee5a8-805d-55ae-2c8c-ae16ab5c2c79" valign="top" align="left">centimeter of water (4 degC): <tt>cmH_2O_4degC</tt></td>
<td id="_bb9b156c-c710-7ba7-b499-674b944bbe63" valign="top" align="left"/><td id="_811bc515-ca70-26f4-edc3-99ece2b68b01" valign="top" align="left"/><td id="_e1bbbecd-1d20-b741-a653-c1767ee104d4" valign="top" align="left"/></tr><tr id="_1c482c72-a677-63df-ab02-e9ba0bdb4714"><td id="_66cdffcb-bd22-b277-1bf4-0e78d5654fa9" valign="top" align="center">cup</td>
<td id="_7b388f37-3736-6e50-3484-0b2d66dfcfb9" valign="top" align="left">cup (US): <tt>cup</tt></td>
<td id="_df772006-492b-4610-cb1c-10d96997cfc2" valign="top" align="left">cup (FDA): <tt>cup_label</tt></td>
<td id="_5c213deb-e344-fed6-e0fd-2a793992806b" valign="top" align="left"/><td id="_df3ecf4a-6f32-f85a-85ae-97df3b69534e" valign="top" align="left"/><td id="_828389f4-749f-68f4-d5f8-ea6eefcae08e" valign="top" align="left"/></tr><tr id="_c358d195-36ab-906a-1b24-6f10a8d7dba6"><td id="_c317bdd7-152f-6028-2e8c-a5c8a7ed380e" valign="top" align="center">D</td>
<td id="_176be16c-2438-f04d-44e6-8af1dd3dd4d7" valign="top" align="left">debye: <tt>D</tt></td>
<td id="_c6d9bc3a-2c64-679b-cc41-e0849fc74a39" valign="top" align="left">darcy: <tt>Darcy</tt></td>
<td id="_2091750d-bea1-a795-01be-a4763a77a38b" valign="top" align="left"/><td id="_458559a6-4de7-722d-b893-b48fdfe3e77f" valign="top" align="left"/><td id="_0abcbe3b-bd87-8635-8762-89526d6d8ebd" valign="top" align="left"/></tr><tr id="_4a107a5b-ce7c-c22f-8da9-ff873d69bee3"><td id="_590232fc-2ae6-e8f8-97b9-d2443a9368da" valign="top" align="center">ft</td>
<td id="_552fc841-9899-7bc1-e330-13d1d31fafce" valign="top" align="left">foot: <tt>ft</tt></td>
<td id="_15a4187d-0de9-14c4-09a8-ee6949584c7c" valign="top" align="left">foot (based on US survey foot): <tt>ft_US_survey</tt></td>
<td id="_76b8d987-8302-7fe6-7890-0c1416c596a0" valign="top" align="left"/><td id="_80c94a68-f14a-88e5-e679-c67e7e508e7f" valign="top" align="left"/><td id="_b4064a8f-f702-9288-b9bf-27d4e32e74c8" valign="top" align="left"/></tr><tr id="_273bb02d-7407-77dd-04ce-57d5a0b72158"><td id="_a121480c-bc73-1f35-4106-4a3c0a929daf" valign="top" align="center">ftH<sub>2</sub>O</td>
<td id="_b2167a6b-518e-3610-a78a-d3c9455c6035" valign="top" align="left">conventional foot of water: <tt>ftH_2O</tt></td>
<td id="_fe4c68ab-3513-fac2-0548-4cb480b979f6" valign="top" align="left">foot of water (39.2 degF): <tt>ftH_2O_39degF</tt></td>
<td id="_9c962455-7411-2862-8926-a9f0e8261229" valign="top" align="left"/><td id="_4ad19809-d0c9-1a54-d1c1-8cd2c1e08b88" valign="top" align="left"/><td id="_8c70ae66-c3e8-2a39-5cee-d5ac520099cb" valign="top" align="left"/></tr><tr id="_e31b1e0b-8335-d98a-7788-2686ab880612"><td id="_dcf839fd-b37c-0eac-c286-b761a7df4302" valign="top" align="center">gi</td>
<td id="_11bb74dd-e923-f357-b80a-02a901d081a1" valign="top" align="left">gill (US): <tt>gi</tt></td>
<td id="_bb135cee-3262-120a-8fd6-4dacc23848be" valign="top" align="left">gill [Canadian and UK (Imperial)]: <tt>gi_imperial</tt></td>
<td id="_089ad060-7e69-1354-d59a-52ce28e5176b" valign="top" align="left"/><td id="_3461a0da-6847-63a1-09b9-2d8cc05a6e41" valign="top" align="left"/><td id="_69a4f64d-f6e1-e9a3-5469-8772562d823d" valign="top" align="left"/></tr><tr id="_9a41d853-1cdb-cb08-6168-0229eb593424"><td id="_f979e150-324a-f469-7f4b-86f8617295b8" valign="top" align="center">h</td>
<td id="_d7b9bc99-67f7-2a0f-e0f6-4f7738763a36" valign="top" align="left">hour: <tt>h</tt></td>
<td id="_04f14b54-be9e-6f22-13a6-9a398ea053ca" valign="top" align="left">hour, sidereal: <tt>h_sidereal</tt></td>
<td id="_d3dc2455-a30f-3f65-888e-49d6bd9a54b4" valign="top" align="left"/><td id="_abcd46aa-b0d3-5d61-9ca1-3bee3ca3b1aa" valign="top" align="left"/><td id="_a360920b-efc1-fb0a-b734-f7f2c7c618bb" valign="top" align="left"/></tr><tr id="_5c2f1b0c-ec8e-a241-60b5-7b9258a8baba"><td id="_41f55f12-1dfa-bd8e-8a9c-6c2bb9b153f1" valign="top" align="center">′Hg</td>
<td id="_0bf9d9d9-e300-4128-e3dc-df92beb8aa82" valign="top" align="left">conventional foot of mercury: <tt>'Hg</tt></td>
<td id="_a3a41d7c-18e2-4526-491d-e51fbdbec12c" valign="top" align="left">conventional foot of mercury: <tt>prime_Hg</tt></td>
<td id="_2cd37fb6-52e7-7f0a-c276-680f3fcb5367" valign="top" align="left"/><td id="_d62115c4-2be3-dc45-7956-9c19e7a8ad3c" valign="top" align="left"/><td id="_ac3d20a4-4465-643e-95af-c5e374b45143" valign="top" align="left"/></tr><tr id="_bd203a15-3f7e-7d77-495e-890e0ab5f1cf"><td id="_9754c68d-3252-3269-12ee-7e20794563bd" valign="top" align="center"><em>ℏ</em></td>
<td id="_cd8e42ca-4ed9-124b-0d5a-47289a5298a5" valign="top" align="left">natural unit of action: <tt>h-bar</tt></td>
<td id="_8581dfd4-9a25-b05f-abf5-48ce6775f548" valign="top" align="left">atomic unit of action: <tt>h-bar_atomic</tt></td>
<td id="_6785da21-8514-f5e7-6dc9-57091f372781" valign="top" align="left"/><td id="_cdf94111-aa51-8bba-2215-7525da21ae4a" valign="top" align="left"/><td id="_023f2f96-a3f3-bb76-7d3a-b7ff11553725" valign="top" align="left"/></tr><tr id="_74fbdbe1-e275-7cdd-d39b-19c0392090ee"><td id="_1e432a9d-fe01-13a7-ef5f-a4eee5851bff" valign="top" align="center"><em>m</em><sub>e</sub></td>
<td id="_ccda948d-e82e-465a-1a48-731e208155e7" valign="top" align="left">natural unit of mass: <tt>m_e</tt></td>
<td id="_a92339de-134f-ab9f-3c87-670b629cc373" valign="top" align="left">atomic unit of mass: <tt>m_e_atomic</tt></td>
<td id="_df6dbbce-fc5c-4652-1b6b-6a70f9c12ea3" valign="top" align="left"/><td id="_b16a44ef-dc2d-4d4c-5954-204307297ea4" valign="top" align="left"/><td id="_b70e903f-5d90-3d1e-40de-41fd9dcec711" valign="top" align="left"/></tr><tr id="_11c3acb1-e903-11b8-742e-0ae304ba09f3"><td id="_56e6e2a4-9927-d437-0295-15ac8914b55b" valign="top" align="center">in</td>
<td id="_f05d4a03-779e-6685-0fd2-eb3f31b1d480" valign="top" align="left">inch: <tt>in</tt></td>
<td id="_df18252e-6fdf-11b7-9d0b-805f2667874c" valign="top" align="left">inch (based on US survey foot): <tt>in_US_survey</tt></td>
<td id="_84c94931-1b20-65b1-9c23-eead51fdb7df" valign="top" align="left"/><td id="_5f5b0205-2cff-98d1-5f54-424f19af35b6" valign="top" align="left"/><td id="_7b578e84-b985-c405-f1ae-02756102d422" valign="top" align="left"/></tr><tr id="_092b6a3d-8a0a-f652-1f99-90ac874a2395"><td id="_616ca781-5863-c298-6eed-130b7abc958f" valign="top" align="center">K</td>
<td id="_0ffc70b6-0b1d-4335-c66e-491d9c420e87" valign="top" align="left">kelvin: <tt>K</tt></td>
<td id="_9fe9389c-22b5-17b9-1a5b-d8c2358a0a61" valign="top" align="left">kayser: <tt>kayser</tt></td>
<td id="_15fd3291-67d3-6977-5abd-5c9a4f07dbe6" valign="top" align="left"/><td id="_4ff681d3-9ef6-ac74-5a1b-9c05efc3d092" valign="top" align="left"/><td id="_eb1ad51f-33f1-d50a-fd2b-c41585a92f6a" valign="top" align="left"/></tr><tr id="_27615535-25bd-7733-56c9-25a23ced8f26"><td id="_34e490cb-569e-4c44-035c-4fe63fc80778" valign="top" align="center">L</td>
<td id="_8058aff1-b0fa-2c4b-1d5c-f3a6c755d739" valign="top" align="left">liter: <tt>L</tt></td>
<td id="_d9484f3c-a47e-20b9-7828-20e2e50a2b3e" valign="top" align="left">lambert: <tt>Lambert</tt></td>
<td id="_fb7d9311-36bd-0c40-8ed8-7667d014b7e6" valign="top" align="left"/><td id="_fcf096ff-e0f0-5ed2-d5a1-f0623ec499da" valign="top" align="left"/><td id="_27303142-a02a-5d68-8a66-da587b768057" valign="top" align="left"/></tr></tbody>
</table>
</annex><annex id="_467f8d02-25e4-23b4-7311-3abe1e036c2c" obligation="normative">
<title id="_7e6558e2-1e5e-cbe8-a0b3-da41806b350a">Test suite</title>
<clause id="_128c237b-f8b4-d82d-7966-d6b3ba3f4c7b" obligation="normative">
<title id="_39c5bc06-14d1-068e-ead7-fce70757adf7">General</title>
<p id="_60e524ae-f96e-366e-0670-e10cbea18007">This test suite is used for:</p>

<ul id="_16462d16-b377-838c-68a6-96664d24df36"><li><p id="_8dce4b94-a621-00ea-ddca-8f6e88bffc88">Validating implementations of AsciiUnits parsers and generators</p>
</li>
<li><p id="_086fc5a5-471b-f445-5863-088cf3e339a4">Ensuring compatibility between different implementations</p>
</li>
<li><p id="_095ee539-673b-7dc7-fac0-9bec82eefa91">Providing examples for users of AsciiUnits</p>
</li>
<li><p id="_0d79e2ef-d3a8-27d7-159b-a5a35ac2824a">Serving as a reference for the expected behavior of AsciiUnits</p>
</li>
</ul>

<p id="_13da3c2b-da6a-df5d-1a3e-7c7c8635975e">Implementers of AsciiUnits parsers and generators should ensure that their implementations can correctly process all the examples in this test suite.</p>

<p id="_4cd04cd3-a149-01d6-ca7d-4fa4b5b2e97d">This comprehensive test suite for AsciiUnits is based on the Ruby implementation’s test suite at  <tt>unitsml-ruby/spec/unitsml/conv/xml_spec.rb</tt>.</p>

<p id="_f701b8a4-113c-af32-dce1-1662782add7d">The test suite includes a variety of AsciiUnits statements and their corresponding XML representations, serving as a reference for implementers and users of AsciiUnits.</p>
</clause>

<clause id="_6a137935-21f6-9b56-e992-61de26129192" obligation="normative">
<title id="_563c0ea6-31c0-2b89-e396-b77533dfcad3">Basic units</title>
<clause id="_895d9426-46f5-0dae-cab9-b5ddd90bf550" obligation="normative">
<title id="_734a13b5-70fe-429d-c5c8-6827abe80434">Meter (m)</title>
<p id="_20eb1fd5-fccf-62cd-1217-99fa78115c53">AsciiUnits statement:</p>

<sourcecode id="_16030355-bbb3-5900-d876-571adee3eb2e" lang="ascii"><body>m</body></sourcecode>


<p id="_9c28b474-6935-f924-3ed4-a56596a484e7">XML representation:</p>

<sourcecode id="_7e31450c-5942-1aee-36af-3460033bd7a5" lang="xml"><body>&lt;Unit xmlns="https://schema.unitsml.org/unitsml/1.0" xml:id="U_NISTu1" dimensionURL="#NISTd1"&gt;
  &lt;UnitSystem name="SI" type="SI_derived" xml:lang="en-US"/&gt;
  &lt;UnitName xml:lang="en"&gt;meter&lt;/UnitName&gt;
  &lt;UnitSymbol type="HTML"&gt;m&lt;/UnitSymbol&gt;
  &lt;UnitSymbol type="MathMl"&gt;
    &lt;math xmlns="http://www.w3.org/1998/Math/MathML" display="block"&gt;
      &lt;mi mathvariant="normal"&gt;m&lt;/mi&gt;
    &lt;/math&gt;
  &lt;/UnitSymbol&gt;
&lt;/Unit&gt;

&lt;Dimension xmlns="https://schema.unitsml.org/unitsml/1.0" xml:id="NISTd1"&gt;
  &lt;Length symbol="L" powerNumerator="1"/&gt;
&lt;/Dimension&gt;</body></sourcecode>

</clause>

<clause id="_56ee7d24-0476-703f-04df-dbebd618249f" obligation="normative">
<title id="_9e49fbd4-af0d-7d18-ecd4-6315b3f38047">Hertz (hz)</title>
<p id="_111de471-a896-a536-577e-5c8e0a6ff4d0">AsciiUnits statement:</p>

<sourcecode id="_ee842e0c-72c5-4d28-a3e6-54748c49046b" lang="ascii"><body>Hz</body></sourcecode>


<p id="_e5a92d1e-bf48-c2a6-459d-94dd754139e6">XML representation:</p>

<sourcecode id="_36b7726f-3ed5-fbeb-b628-244c45f21a71" lang="xml"><body>&lt;Unit xmlns="https://schema.unitsml.org/unitsml/1.0" xml:id="U_NISTu31" dimensionURL="#NISTd24"&gt;
  &lt;UnitSystem name="SI" type="SI_derived" xml:lang="en-US"/&gt;
  &lt;UnitName xml:lang="en"&gt;hertz&lt;/UnitName&gt;
  &lt;UnitSymbol type="HTML"&gt;Hz&lt;/UnitSymbol&gt;
  &lt;UnitSymbol type="MathMl"&gt;
    &lt;math xmlns="http://www.w3.org/1998/Math/MathML" display="block"&gt;
      &lt;mi mathvariant="normal"&gt;Hz&lt;/mi&gt;
    &lt;/math&gt;
  &lt;/UnitSymbol&gt;
&lt;/Unit&gt;

&lt;Dimension xmlns="https://schema.unitsml.org/unitsml/1.0" xml:id="NISTd24"&gt;
  &lt;Time symbol="T" powerNumerator="-1"/&gt;
&lt;/Dimension&gt;

&lt;Quantity xmlns="https://schema.unitsml.org/unitsml/1.0" xml:id="NISTq45" quantityType="base" dimensionURL="#NISTd24"&gt;
  &lt;QuantityName xml:lang="en-US"&gt;frequency&lt;/QuantityName&gt;
&lt;/Quantity&gt;</body></sourcecode>

</clause>

<clause id="_b447d3fc-6391-0c41-0f25-081e9b93044a" obligation="normative">
<title id="_32efa772-f079-e580-4eff-49a77967d7f1">Radian (rad)</title>
<p id="_2cfbcf71-b7f6-78eb-b72b-b0a9b01bc4d8">AsciiUnits statement:</p>

<sourcecode id="_b2ebd463-674d-c0d1-b43b-f3e31abcdbe1" lang="ascii"><body>rad</body></sourcecode>


<p id="_2c49dbb7-432f-2d0b-dcd3-46c82f0574ad">XML representation:</p>

<sourcecode id="_1f4ad0e6-5e5f-dbd6-0ac6-7cc98a21e9e4" lang="xml"><body>&lt;Unit xmlns="https://schema.unitsml.org/unitsml/1.0" xml:id="U_NISTu9" dimensionURL="#D_L0"&gt;
  &lt;UnitSystem name="SI" type="SI_derived" xml:lang="en-US"/&gt;
  &lt;UnitName xml:lang="en"&gt;radian&lt;/UnitName&gt;
  &lt;UnitSymbol type="HTML"&gt;rad&lt;/UnitSymbol&gt;
  &lt;UnitSymbol type="MathMl"&gt;
    &lt;math xmlns="http://www.w3.org/1998/Math/MathML" display="block"&gt;
      &lt;mi mathvariant="normal"&gt;rad&lt;/mi&gt;
    &lt;/math&gt;
  &lt;/UnitSymbol&gt;
&lt;/Unit&gt;

&lt;Dimension xmlns="https://schema.unitsml.org/unitsml/1.0" xml:id="NISTd9"&gt;
  &lt;PlaneAngle symbol="phi" powerNumerator="1"/&gt;
&lt;/Dimension&gt;

&lt;Dimension xmlns="https://schema.unitsml.org/unitsml/1.0" xml:id="D_L0"&gt;
  &lt;Length symbol="L" powerNumerator="0"/&gt;
&lt;/Dimension&gt;

&lt;Quantity xmlns="https://schema.unitsml.org/unitsml/1.0" xml:id="NISTq9" dimensionURL="#NISTd9" quantityType="base"&gt;
  &lt;QuantityName xml:lang="en-US"&gt;plane angle&lt;/QuantityName&gt;
  &lt;QuantityName xml:lang="en-US"&gt;angle&lt;/QuantityName&gt;
&lt;/Quantity&gt;</body></sourcecode>

</clause>
</clause>

<clause id="_cefea8f1-b20a-211d-c4fa-be748b235ce6" obligation="normative">
<title id="_7e72ab62-1a25-6bf2-b3d2-02fd031d1969">Prefixed units</title>
<clause id="_9a446608-2e7d-0819-15ed-a07e161ec650" obligation="normative">
<title id="_d1431e6e-4d9f-5fca-bcf4-2f24dc3c2b0e">Kilogram (kg)</title>
<p id="_8ce73037-ac70-4ffd-2c2a-bed89ec68be2">AsciiUnits statement:</p>

<sourcecode id="_215db280-11ed-c1ee-1226-b7a9834a9618" lang="ascii"><body>kg</body></sourcecode>


<p id="_ec23aedc-c58f-e528-acb6-5b1ea62e4013">XML representation:</p>

<sourcecode id="_ed39a955-edf9-11c8-0b90-9d2a05d201ad" lang="xml"><body>&lt;Unit xmlns="https://schema.unitsml.org/unitsml/1.0" xml:id="U_NISTu2" dimensionURL="#NISTd2"&gt;
  &lt;UnitSystem name="SI" type="SI_base" xml:lang="en-US"/&gt;
  &lt;UnitName xml:lang="en"&gt;kilogram&lt;/UnitName&gt;
  &lt;UnitSymbol type="HTML"&gt;kg&lt;/UnitSymbol&gt;
  &lt;UnitSymbol type="MathMl"&gt;
    &lt;math xmlns="http://www.w3.org/1998/Math/MathML" display="block"&gt;
      &lt;mi mathvariant="normal"&gt;kg&lt;/mi&gt;
    &lt;/math&gt;
  &lt;/UnitSymbol&gt;
  &lt;RootUnits&gt;
    &lt;EnumeratedRootUnit unit="gram" prefix="k"/&gt;
  &lt;/RootUnits&gt;
&lt;/Unit&gt;

&lt;Prefix xmlns="https://schema.unitsml.org/unitsml/1.0" prefixBase="10" prefixPower="3" xml:id="NISTp10_3"&gt;
  &lt;PrefixName xml:lang="en"&gt;kilo&lt;/PrefixName&gt;
  &lt;PrefixSymbol type="ASCII"&gt;k&lt;/PrefixSymbol&gt;
  &lt;PrefixSymbol type="unicode"&gt;k&lt;/PrefixSymbol&gt;
  &lt;PrefixSymbol type="LaTeX"&gt;k&lt;/PrefixSymbol&gt;
  &lt;PrefixSymbol type="HTML"&gt;k&lt;/PrefixSymbol&gt;
&lt;/Prefix&gt;

&lt;Dimension xmlns="https://schema.unitsml.org/unitsml/1.0" xml:id="NISTd2"&gt;
  &lt;Mass symbol="M" powerNumerator="1"/&gt;
&lt;/Dimension&gt;

&lt;Quantity xmlns="https://schema.unitsml.org/unitsml/1.0" xml:id="NISTq2" quantityType="base" dimensionURL="#NISTd2"&gt;
  &lt;QuantityName xml:lang="en-US"&gt;mass&lt;/QuantityName&gt;
&lt;/Quantity&gt;</body></sourcecode>

</clause>

<clause id="_24fe060f-720c-7781-8959-53dd844abbbc" obligation="normative">
<title id="_c0ccd32d-e950-ae32-e961-a58d71755f18">Micrometer (um)</title>
<p id="_6981c6cf-15f0-026b-d7cc-62b062b4fc6f">AsciiUnits statement:</p>

<sourcecode id="_d503d182-efbc-3a65-8519-4a99d56eac03" lang="ascii"><body>um</body></sourcecode>


<p id="_78ccacd0-6e89-a784-fae7-19fc5381bff4">XML representation:</p>

<sourcecode id="_028ec7e1-1210-4a8d-06b4-3294159cb945" lang="xml"><body>&lt;Unit xmlns="https://schema.unitsml.org/unitsml/1.0" xml:id="U_um" dimensionURL="#NISTd1"&gt;
  &lt;UnitSystem name="SI" type="SI_derived" xml:lang="en-US"/&gt;
  &lt;UnitName xml:lang="en"&gt;um&lt;/UnitName&gt;
  &lt;UnitSymbol type="HTML"&gt;&amp;micro;m&lt;/UnitSymbol&gt;
  &lt;UnitSymbol type="MathMl"&gt;
    &lt;math xmlns="http://www.w3.org/1998/Math/MathML" display="block"&gt;
      &lt;mi mathvariant='normal'&gt;µm&lt;/mi&gt;
    &lt;/math&gt;
  &lt;/UnitSymbol&gt;
  &lt;RootUnits&gt;
    &lt;EnumeratedRootUnit unit="meter" prefix="u"/&gt;
  &lt;/RootUnits&gt;
&lt;/Unit&gt;

&lt;Prefix xmlns="https://schema.unitsml.org/unitsml/1.0" prefixBase="10" prefixPower="-6" xml:id="NISTp10_-6"&gt;
  &lt;PrefixName xml:lang="en"&gt;micro&lt;/PrefixName&gt;
  &lt;PrefixSymbol type="ASCII"&gt;u&lt;/PrefixSymbol&gt;
  &lt;PrefixSymbol type="unicode"&gt;μ&lt;/PrefixSymbol&gt;
  &lt;PrefixSymbol type="LaTeX"&gt;$mu$&lt;/PrefixSymbol&gt;
  &lt;PrefixSymbol type="HTML"&gt;&amp;micro;&lt;/PrefixSymbol&gt;
&lt;/Prefix&gt;

&lt;Dimension xmlns="https://schema.unitsml.org/unitsml/1.0" xml:id="NISTd1"&gt;
  &lt;Length symbol="L" powerNumerator="1"/&gt;
&lt;/Dimension&gt;</body></sourcecode>

</clause>

<clause id="_b7711d25-9681-e8ff-c35e-a88d03205176" obligation="normative">
<title id="_83984f03-3b77-f8ec-bae7-61f16e2adad6">Millibar (mbar)</title>
<p id="_b818d6e6-f2ef-a871-c4cb-ae315d3bf542">AsciiUnits statement:</p>

<sourcecode id="_3600ce8c-0e0a-5a3d-e685-a116b9a35ed4" lang="ascii"><body>mbar</body></sourcecode>


<p id="_05064afb-d501-020b-5656-548f7314968e">XML representation:</p>

<sourcecode id="_1aa7f00f-1b4d-5118-0e5f-40211dff43e4" lang="xml"><body>&lt;Unit xmlns="https://schema.unitsml.org/unitsml/1.0" xml:id="U_NISTu362"&gt;
  &lt;UnitSystem name="not_SI" type="not_SI" xml:lang="en-US"/&gt;
  &lt;UnitName xml:lang="en"&gt;millibar&lt;/UnitName&gt;
  &lt;UnitSymbol type="HTML"&gt;mbar&lt;/UnitSymbol&gt;
  &lt;UnitSymbol type="MathMl"&gt;
    &lt;math xmlns="http://www.w3.org/1998/Math/MathML" display="block"&gt;
      &lt;mi mathvariant="normal"&gt;mbar&lt;/mi&gt;
    &lt;/math&gt;
  &lt;/UnitSymbol&gt;
  &lt;RootUnits&gt;
    &lt;EnumeratedRootUnit unit="bar" prefix="m"/&gt;
  &lt;/RootUnits&gt;
&lt;/Unit&gt;

&lt;Prefix xmlns="https://schema.unitsml.org/unitsml/1.0" prefixBase="10" prefixPower="-3" xml:id="NISTp10_-3"&gt;
  &lt;PrefixName xml:lang="en"&gt;milli&lt;/PrefixName&gt;
  &lt;PrefixSymbol type="ASCII"&gt;m&lt;/PrefixSymbol&gt;
  &lt;PrefixSymbol type="unicode"&gt;m&lt;/PrefixSymbol&gt;
  &lt;PrefixSymbol type="LaTeX"&gt;m&lt;/PrefixSymbol&gt;
  &lt;PrefixSymbol type="HTML"&gt;m&lt;/PrefixSymbol&gt;
&lt;/Prefix&gt;

&lt;Dimension xmlns="https://schema.unitsml.org/unitsml/1.0" xml:id="NISTd14"&gt;
  &lt;Length symbol="L" powerNumerator="-1"/&gt;
  &lt;Mass symbol="M" powerNumerator="1"/&gt;
  &lt;Time symbol="T" powerNumerator="-2"/&gt;
&lt;/Dimension&gt;</body></sourcecode>

</clause>
</clause>

<clause id="_35762a78-e198-5975-0e02-28ecd1387eb1" obligation="normative">
<title id="_2da017f5-4776-9b45-3ca0-a698ec132987">Composite units</title>
<clause id="_1a245459-0866-d136-adb8-ddc144943abc" obligation="normative">
<title id="_aa18fb42-2f82-78c3-a146-11d191dfa7d4">Multiplication (kg*m)</title>
<p id="_2981b437-81f9-052e-8a19-56dc859f248e">AsciiUnits statement:</p>

<sourcecode id="_2a618514-e9d4-ddff-6ca5-88709e9519bb" lang="ascii"><body>kg*m</body></sourcecode>


<p id="_9f52d237-2e41-0c02-81ca-5e3ea6c8d9b7">XML representation:</p>

<sourcecode id="_6daa291e-b334-e7b8-7d14-149c48a9d84a" lang="xml"><body>&lt;Unit xmlns="https://schema.unitsml.org/unitsml/1.0" xml:id="U_kg.m" dimensionURL="#D_LM"&gt;
  &lt;UnitSystem name="SI" type="SI_derived" xml:lang="en-US"/&gt;
  &lt;UnitName xml:lang="en"&gt;kg*m&lt;/UnitName&gt;
  &lt;UnitSymbol type="HTML"&gt;kg&amp;#x22c5;m&lt;/UnitSymbol&gt;
  &lt;UnitSymbol type="MathMl"&gt;
    &lt;math xmlns="http://www.w3.org/1998/Math/MathML" display="block"&gt;
      &lt;mi mathvariant="normal"&gt;kg&lt;/mi&gt;
      &lt;mo&gt;&amp;#x22c5;&lt;/mo&gt;
      &lt;mi mathvariant="normal"&gt;m&lt;/mi&gt;
    &lt;/math&gt;
  &lt;/UnitSymbol&gt;
  &lt;RootUnits&gt;
    &lt;EnumeratedRootUnit unit="gram" prefix="k"/&gt;
    &lt;EnumeratedRootUnit unit="meter"/&gt;
  &lt;/RootUnits&gt;
&lt;/Unit&gt;

&lt;Prefix xmlns="https://schema.unitsml.org/unitsml/1.0" prefixBase="10" prefixPower="3" xml:id="NISTp10_3"&gt;
  &lt;PrefixName xml:lang="en"&gt;kilo&lt;/PrefixName&gt;
  &lt;PrefixSymbol type="ASCII"&gt;k&lt;/PrefixSymbol&gt;
  &lt;PrefixSymbol type="unicode"&gt;k&lt;/PrefixSymbol&gt;
  &lt;PrefixSymbol type="LaTeX"&gt;k&lt;/PrefixSymbol&gt;
  &lt;PrefixSymbol type="HTML"&gt;k&lt;/PrefixSymbol&gt;
&lt;/Prefix&gt;

&lt;Dimension xmlns="https://schema.unitsml.org/unitsml/1.0" xml:id="D_LM"&gt;
  &lt;Length symbol="L" powerNumerator="1"/&gt;
  &lt;Mass symbol="M" powerNumerator="1"/&gt;
&lt;/Dimension&gt;</body></sourcecode>

</clause>

<clause id="_e598bc83-401f-8042-2e17-301bf0eefd88" obligation="normative">
<title id="_aecf0c92-76ab-6e92-3667-e2f21e4d83a3">Division (m/s)</title>
<p id="_7c15e4f6-5406-6989-1679-c5fce3e84a55">AsciiUnits statement:</p>

<sourcecode id="_b26a0f33-498a-9a10-4e0e-8e2b45ffc4cf" lang="ascii"><body>m/s</body></sourcecode>


<p id="_884dea9f-3bc2-d2ab-0c2a-6bbe1a9b967f">XML representation:</p>

<sourcecode id="_60f7a956-a163-a7e5-14da-81a82a4d75aa" lang="xml"><body>&lt;Unit xmlns="https://schema.unitsml.org/unitsml/1.0" xml:id="U_m.s-1" dimensionURL="#NISTd11"&gt;
  &lt;UnitSystem name="SI" type="SI_derived" xml:lang="en-US"/&gt;
  &lt;UnitName xml:lang="en"&gt;meter per second&lt;/UnitName&gt;
  &lt;UnitSymbol type="HTML"&gt;m&amp;#x22c5;s&lt;sup&gt;&amp;#x2212;1&lt;/sup&gt;&lt;/UnitSymbol&gt;
  &lt;UnitSymbol type="MathMl"&gt;
    &lt;math xmlns="http://www.w3.org/1998/Math/MathML" display="block"&gt;
      &lt;mi mathvariant="normal"&gt;m&lt;/mi&gt;
      &lt;mo&gt;&amp;#x22c5;&lt;/mo&gt;
      &lt;msup&gt;
        &lt;mrow&gt;
          &lt;mi mathvariant="normal"&gt;s&lt;/mi&gt;
        &lt;/mrow&gt;
        &lt;mrow&gt;
          &lt;mo&gt;&amp;#x2212;&lt;/mo&gt;
          &lt;mn&gt;1&lt;/mn&gt;
        &lt;/mrow&gt;
      &lt;/msup&gt;
    &lt;/math&gt;
  &lt;/UnitSymbol&gt;
  &lt;RootUnits&gt;
    &lt;EnumeratedRootUnit unit="meter"/&gt;
    &lt;EnumeratedRootUnit unit="second" powerNumerator="-1"/&gt;
  &lt;/RootUnits&gt;
&lt;/Unit&gt;

&lt;Dimension xmlns="https://schema.unitsml.org/unitsml/1.0" xml:id="NISTd11"&gt;
  &lt;Length symbol="L" powerNumerator="1"/&gt;
  &lt;Time symbol="T" powerNumerator="-1"/&gt;
&lt;/Dimension&gt;</body></sourcecode>

</clause>

<clause id="_3ca7e64c-9a92-23b2-7c13-ebe394dd7acb" obligation="normative">
<title id="_1784c6c2-b054-af85-9315-2c593af44603">Exponentiation (m^2)</title>
<p id="_ea3ffa84-3e03-0744-2017-4d67d3d1186c">AsciiUnits statement:</p>

<sourcecode id="_a4b78d13-b7ca-e45a-590f-1f23255496eb" lang="ascii"><body>m^2</body></sourcecode>


<p id="_0d6f68aa-cfd1-fdbb-cb45-c915b19afc1a">XML representation:</p>

<sourcecode id="_75029808-27a8-d219-e387-81ac83895017" lang="xml"><body>&lt;Unit xmlns="https://schema.unitsml.org/unitsml/1.0" xml:id="U_m2" dimensionURL="#D_L2"&gt;
  &lt;UnitSystem name="SI" type="SI_derived" xml:lang="en-US"/&gt;
  &lt;UnitName xml:lang="en"&gt;m^2&lt;/UnitName&gt;
  &lt;UnitSymbol type="HTML"&gt;m&lt;sup&gt;2&lt;/sup&gt;&lt;/UnitSymbol&gt;
  &lt;UnitSymbol type="MathMl"&gt;
    &lt;math xmlns="http://www.w3.org/1998/Math/MathML" display="block"&gt;
      &lt;msup&gt;
        &lt;mrow&gt;
          &lt;mi mathvariant="normal"&gt;m&lt;/mi&gt;
        &lt;/mrow&gt;
        &lt;mrow&gt;
          &lt;mn&gt;2&lt;/mn&gt;
        &lt;/mrow&gt;
      &lt;/msup&gt;
    &lt;/math&gt;
  &lt;/UnitSymbol&gt;
&lt;/Unit&gt;

&lt;Dimension xmlns="https://schema.unitsml.org/unitsml/1.0" xml:id="D_L2"&gt;
  &lt;Length symbol="L" powerNumerator="2"/&gt;
&lt;/Dimension&gt;</body></sourcecode>

</clause>

<clause id="_6410607d-7e47-1e4d-ba24-17931aba2c44" obligation="normative">
<title id="_c3bb05b0-c5c0-88cc-a2aa-08306c13b1f1">Negative exponentiation (kg^-2)</title>
<p id="_9bfdd9dd-49bc-9496-89be-5693db6a2b4b">AsciiUnits statement:</p>

<sourcecode id="_1e681112-7013-d86f-0a01-d02973900a05" lang="ascii"><body>kg^-2</body></sourcecode>


<p id="_0f6c2be9-9de2-1b9e-c4df-ade20f4eb34b">XML representation:</p>

<sourcecode id="_5b73ee75-aea1-2325-bb71-22a6350a694d" lang="xml"><body>&lt;Unit xmlns="https://schema.unitsml.org/unitsml/1.0" xml:id="U_kg-2" dimensionURL="#D_M-2"&gt;
  &lt;UnitSystem name="SI" type="SI_base" xml:lang="en-US"/&gt;
  &lt;UnitName xml:lang="en"&gt;kg^-2&lt;/UnitName&gt;
  &lt;UnitSymbol type="HTML"&gt;kg&lt;sup&gt;&amp;#x2212;2&lt;/sup&gt;&lt;/UnitSymbol&gt;
  &lt;UnitSymbol type="MathMl"&gt;
    &lt;math xmlns="http://www.w3.org/1998/Math/MathML" display="block"&gt;
      &lt;msup&gt;
        &lt;mrow&gt;
          &lt;mi mathvariant="normal"&gt;kg&lt;/mi&gt;
        &lt;/mrow&gt;
        &lt;mrow&gt;
          &lt;mo&gt;&amp;#x2212;&lt;/mo&gt;
          &lt;mn&gt;2&lt;/mn&gt;
        &lt;/mrow&gt;
      &lt;/msup&gt;
    &lt;/math&gt;
  &lt;/UnitSymbol&gt;
  &lt;RootUnits&gt;
    &lt;EnumeratedRootUnit unit="gram" prefix="k" powerNumerator="-2"/&gt;
  &lt;/RootUnits&gt;
&lt;/Unit&gt;

&lt;Prefix xmlns="https://schema.unitsml.org/unitsml/1.0" prefixBase="10" prefixPower="3" xml:id="NISTp10_3"&gt;
  &lt;PrefixName xml:lang="en"&gt;kilo&lt;/PrefixName&gt;
  &lt;PrefixSymbol type="ASCII"&gt;k&lt;/PrefixSymbol&gt;
  &lt;PrefixSymbol type="unicode"&gt;k&lt;/PrefixSymbol&gt;
  &lt;PrefixSymbol type="LaTeX"&gt;k&lt;/PrefixSymbol&gt;
  &lt;PrefixSymbol type="HTML"&gt;k&lt;/PrefixSymbol&gt;
&lt;/Prefix&gt;

&lt;Dimension xmlns="https://schema.unitsml.org/unitsml/1.0" xml:id="D_M-2"&gt;
  &lt;Mass symbol="M" powerNumerator="-2"/&gt;
&lt;/Dimension&gt;</body></sourcecode>

</clause>

<clause id="_3b32659e-ec53-0500-e195-36031edd575e" obligation="normative">
<title id="_5cbf9754-7c21-0440-1cdb-4908eb512872">Square root (sqrt(hz))</title>
<p id="_7e7c21fd-0dbf-511c-0406-2b3d5304376c">AsciiUnits statement:</p>

<sourcecode id="_7244795a-84ee-edd7-2145-cd48a8e11eaa" lang="ascii"><body>sqrt(Hz)</body></sourcecode>


<p id="_c90a3b59-4209-cba3-dca3-0fdf141732e5">XML representation:</p>

<sourcecode id="_999ab721-1cc2-a0ea-2306-cd054f5e472b" lang="xml"><body>&lt;Unit xmlns="https://schema.unitsml.org/unitsml/1.0" xml:id="U_Hz0.5" dimensionURL="#D_T-0.5"&gt;
  &lt;UnitSystem name="SI" type="SI_derived" xml:lang="en-US"/&gt;
  &lt;UnitName xml:lang="en"&gt;Hz^0.5&lt;/UnitName&gt;
  &lt;UnitSymbol type="HTML"&gt;Hz&lt;sup&gt;0.5&lt;/sup&gt;&lt;/UnitSymbol&gt;
  &lt;UnitSymbol type="MathMl"&gt;
    &lt;math xmlns="http://www.w3.org/1998/Math/MathML" display="block"&gt;
      &lt;msup&gt;
        &lt;mrow&gt;
          &lt;mi mathvariant="normal"&gt;Hz&lt;/mi&gt;
        &lt;/mrow&gt;
        &lt;mrow&gt;
          &lt;mn&gt;0.5&lt;/mn&gt;
        &lt;/mrow&gt;
      &lt;/msup&gt;
    &lt;/math&gt;
  &lt;/UnitSymbol&gt;
&lt;/Unit&gt;

&lt;Dimension xmlns="https://schema.unitsml.org/unitsml/1.0" xml:id="D_T-0.5"&gt;
  &lt;Time symbol="T" powerNumerator="-0.5"/&gt;
&lt;/Dimension&gt;</body></sourcecode>

</clause>

<clause id="_5538760f-1b50-ebf3-ab11-4e6446a99d07" obligation="normative">
<title id="_4fefad49-15ef-44d7-b7da-b3d709ea5f7b">Complex composite (j/kg*k)</title>
<p id="_681d49ab-e441-8c1b-7d08-87ef3d5985f2">AsciiUnits statement:</p>

<sourcecode id="_330e7158-aac3-c836-5fa8-792cc9671489" lang="ascii"><body>J/kg*K</body></sourcecode>


<p id="_d7600424-4c76-9cab-db37-3a37b703a136">XML representation:</p>

<sourcecode id="_4b75dba3-a635-8b17-36c1-6222b4a73c12" lang="xml"><body>&lt;Unit xmlns="https://schema.unitsml.org/unitsml/1.0" xml:id="U_NISTu13.u27p10_3e-1/1.u5e-1/1" dimensionURL="#D_L2M0T-2Theta-1"&gt;
  &lt;UnitSystem name="SI" type="SI_derived" xml:lang="en-US"/&gt;
  &lt;UnitName xml:lang="en"&gt;joule per kilogram kelvin&lt;/UnitName&gt;
  &lt;UnitSymbol type="HTML"&gt;J&amp;#x22c5;kg&lt;sup&gt;&amp;#x2212;1&lt;/sup&gt;&amp;#x22c5;K&lt;sup&gt;&amp;#x2212;1&lt;/sup&gt;&lt;/UnitSymbol&gt;
  &lt;UnitSymbol type="MathMl"&gt;
    &lt;math xmlns="http://www.w3.org/1998/Math/MathML" display="block"&gt;
      &lt;mi mathvariant="normal"&gt;J&lt;/mi&gt;
      &lt;mo&gt;&amp;#x22c5;&lt;/mo&gt;
      &lt;msup&gt;
        &lt;mrow&gt;
          &lt;mi mathvariant="normal"&gt;kg&lt;/mi&gt;
        &lt;/mrow&gt;
        &lt;mrow&gt;
          &lt;mo&gt;&amp;#x2212;&lt;/mo&gt;
          &lt;mn&gt;1&lt;/mn&gt;
        &lt;/mrow&gt;
      &lt;/msup&gt;
      &lt;mo&gt;&amp;#x22c5;&lt;/mo&gt;
      &lt;msup&gt;
        &lt;mrow&gt;
          &lt;mi mathvariant="normal"&gt;K&lt;/mi&gt;
        &lt;/mrow&gt;
        &lt;mrow&gt;
          &lt;mo&gt;&amp;#x2212;&lt;/mo&gt;
          &lt;mn&gt;1&lt;/mn&gt;
        &lt;/mrow&gt;
      &lt;/msup&gt;
    &lt;/math&gt;
  &lt;/UnitSymbol&gt;
  &lt;RootUnits&gt;
    &lt;EnumeratedRootUnit unit="joule"/&gt;
    &lt;EnumeratedRootUnit unit="gram" prefix="k" powerNumerator="-1"/&gt;
    &lt;EnumeratedRootUnit unit="kelvin" powerNumerator="-1"/&gt;
  &lt;/RootUnits&gt;
&lt;/Unit&gt;

&lt;Prefix xmlns="https://schema.unitsml.org/unitsml/1.0" prefixBase="10" prefixPower="3" xml:id="NISTp10_3"&gt;
  &lt;PrefixName xml:lang="en"&gt;kilo&lt;/PrefixName&gt;
  &lt;PrefixSymbol type="ASCII"&gt;k&lt;/PrefixSymbol&gt;
  &lt;PrefixSymbol type="unicode"&gt;k&lt;/PrefixSymbol&gt;
  &lt;PrefixSymbol type="LaTeX"&gt;k&lt;/PrefixSymbol&gt;
  &lt;PrefixSymbol type="HTML"&gt;k&lt;/PrefixSymbol&gt;
&lt;/Prefix&gt;

&lt;Dimension xmlns="https://schema.unitsml.org/unitsml/1.0" xml:id="D_L2M0T-2Theta-1"&gt;
  &lt;Length symbol="L" powerNumerator="2"/&gt;
  &lt;Mass symbol="M" powerNumerator="0"/&gt;
  &lt;Time symbol="T" powerNumerator="-2"/&gt;
  &lt;ThermodynamicTemperature symbol="Theta" powerNumerator="-1"/&gt;
&lt;/Dimension&gt;</body></sourcecode>

</clause>
</clause>

<clause id="_fb447275-50ac-ccae-33aa-96e214cee756" obligation="normative">
<title id="_97cde233-9ab3-9db7-7605-c75c5fe0cc65">Dimension expressions</title>
<clause id="_bfe30268-85b1-7a5a-8e0e-5a8f6e07ca8b" obligation="normative">
<title id="_49bd525a-e7e1-66cf-87e0-e9450cd4cc19">Basic dimension (dim_l)</title>
<p id="_5d8c2f42-99d6-251b-4dce-d09d28506bc2">AsciiUnits statement:</p>

<sourcecode id="_23b7a9f1-2394-5034-2788-ae8abd857821" lang="ascii"><body>dim_L</body></sourcecode>


<p id="_73b277f0-d57f-a056-f753-78e04e966bdc">XML representation:</p>

<sourcecode id="_c1dc00dc-97b6-a753-b89c-6091090f42b7" lang="xml"><body>&lt;Dimension xmlns="https://schema.unitsml.org/unitsml/1.0" xml:id="D_L"&gt;
  &lt;Length symbol="L" powerNumerator="1"/&gt;
&lt;/Dimension&gt;</body></sourcecode>

</clause>

<clause id="_1d9f8a48-1df1-5dbe-2b56-f39e6f264c16" obligation="normative">
<title id="_3a8b0e22-c4ca-9010-8f97-a29d956683fe">Dimension multiplication (dim_theta*dim_l^2)</title>
<p id="_5cf28bf0-d2ce-63bb-5593-9148b583ba6c">AsciiUnits statement:</p>

<sourcecode id="_ecaa4a7c-4901-8c74-4282-e5bea8e9e1bf" lang="ascii"><body>dim_Theta*dim_L^2</body></sourcecode>


<p id="_17ff998b-6eeb-5eba-3592-322330e08b73">XML representation:</p>

<sourcecode id="_ee80ac2f-d3b5-5000-86c4-a5f7dfde06a5" lang="xml"><body>&lt;Dimension xmlns="https://schema.unitsml.org/unitsml/1.0" xml:id="D_L2Theta"&gt;
  &lt;Length symbol="L" powerNumerator="2"/&gt;
  &lt;ThermodynamicTemperature symbol="Theta" powerNumerator="1"/&gt;
&lt;/Dimension&gt;</body></sourcecode>

</clause>
</clause>

<clause id="_d3027c3d-2edb-7f42-5816-d022fb9238c3" obligation="normative">
<title id="_ce2c8928-f3d2-2312-232e-f07bfcc8f76a">Units with metadata</title>
<clause id="_eadd4e66-d002-1ed8-d3ff-ccb3cf9cf52f" obligation="normative">
<title id="_eadd722f-fa17-dcd4-5a56-0d68158ceb82">Unit with symbol metadata</title>
<p id="_16d94b69-bf9e-d673-44dd-2e170e442c9f">AsciiUnits statement:</p>

<sourcecode id="_db44c565-2d19-ae4d-d17b-0e8236d6b4b3" lang="ascii"><body>cd*sr*m^(-2),symbol:cd cdot sr cdot m^(-2)</body></sourcecode>


<p id="_de81b87f-a326-2100-27b7-bd5f56b74b02">XML representation:</p>

<sourcecode id="_8f4982c3-a8f0-1035-6486-0e4ecd927e64" lang="xml"><body>&lt;Unit xmlns="https://schema.unitsml.org/unitsml/1.0" xml:id="U_cd.sr.m-2" dimensionURL="#D_L-2J"&gt;
  &lt;UnitSystem name="SI" type="SI_derived" xml:lang="en-US"/&gt;
  &lt;UnitName xml:lang="en"&gt;cd*sr*m^-2&lt;/UnitName&gt;
  &lt;UnitSymbol type="HTML"&gt;cd&amp;#x22c5;sr&amp;#x22c5;m&lt;sup&gt;&amp;#x2212;2&lt;/sup&gt;&lt;/UnitSymbol&gt;
  &lt;UnitSymbol type="MathMl"&gt;
    &lt;math xmlns="http://www.w3.org/1998/Math/MathML" display="block"&gt;
      &lt;mi mathvariant="normal"&gt;cd&lt;/mi&gt;
      &lt;mo&gt;&amp;#x22c5;&lt;/mo&gt;
      &lt;mi mathvariant="normal"&gt;sr&lt;/mi&gt;
      &lt;mo&gt;&amp;#x22c5;&lt;/mo&gt;
      &lt;msup&gt;
        &lt;mrow&gt;
          &lt;mi mathvariant="normal"&gt;m&lt;/mi&gt;
        &lt;/mrow&gt;
        &lt;mrow&gt;
          &lt;mo&gt;&amp;#x2212;&lt;/mo&gt;
          &lt;mn&gt;2&lt;/mn&gt;
        &lt;/mrow&gt;
      &lt;/msup&gt;
    &lt;/math&gt;
  &lt;/UnitSymbol&gt;
  &lt;RootUnits&gt;
    &lt;EnumeratedRootUnit unit="candela"/&gt;
    &lt;EnumeratedRootUnit unit="steradian"/&gt;
    &lt;EnumeratedRootUnit unit="meter" powerNumerator="-2"/&gt;
  &lt;/RootUnits&gt;
&lt;/Unit&gt;

&lt;Dimension xmlns="https://schema.unitsml.org/unitsml/1.0" xml:id="D_L-2J"&gt;
  &lt;Length symbol="L" powerNumerator="-2"/&gt;
  &lt;LuminousIntensity symbol="J" powerNumerator="1"/&gt;
&lt;/Dimension&gt;</body></sourcecode>

</clause>
</clause>
</annex><bibliography><references id="_304ce7aa-6182-75f3-52a5-4222ca4cfb69" normative="true" obligation="informative">
<title id="_270c5ee6-077e-f285-ff95-287984a30140">Normative references</title><p id="_49996d2b-65c1-916b-9bbf-42b933aa0025">The following documents are referred to in the text in such a way that some or all of their content constitutes requirements of this document. For dated references, only the edition cited applies. For undated references, the latest edition of the referenced document (including any amendments) applies.</p>
<bibitem anchor="unitsml-xml" id="_74120656-ea01-47bb-019c-2f49f5311973"><formattedref format="application/x-isodoc+xml"><link target="https://www.unitsml.org"/></formattedref><docidentifier>UnitsML XML schema</docidentifier><language>en</language><script>Latn</script></bibitem>
<bibitem anchor="w3c-mathml-units" id="_2de0f78e-5ec3-be63-6775-ce8d164fbfb3"><formattedref format="application/x-isodoc+xml"><link target="https://www.w3.org/TR/mathml-units/"/></formattedref><docidentifier type="W3C">W3C TR mathml-units</docidentifier><docnumber>3C TR mathml-units</docnumber><language>en</language><script>Latn</script></bibitem>
</references><references id="_62f1b269-6300-be86-430c-2b53e79f2e32" normative="false" obligation="informative">
<title id="_50ceb1e1-516f-2673-d73d-4f0c58b4d023">Bibliography</title><bibitem anchor="unitsml-ruby" id="_d58fb1fd-6825-f525-9428-e1c3d08256e6">
  <formattedref format="application/x-isodoc+xml">— the Ruby implementation of AsciiUnits from which the grammar was extracted, and the reference parser validated against it</formattedref>
  <docidentifier>unitsml/unitsml-ruby</docidentifier>
  <language>en</language>
  <script>Latn</script>
</bibitem><bibitem anchor="asciiunits-repo" id="_a11172bc-3b63-b32e-fa7c-e3fe80d6de3f">
  <formattedref format="application/x-isodoc+xml">— the PARG grammar artifact and conformance corpus repository</formattedref>
  <docidentifier>unitsml/asciiunits</docidentifier>
  <language>en</language>
  <script>Latn</script>
</bibitem>


</references></bibliography>
</metanorma>
