John, > Great Steve! It will be interesting to see if anyone else does any different > parsing, but I'd be surprised. > > I've started this work. Also I am taking the liberty of moving or copying the > comments into tags or attributes as appropriate. I imagine these also will be > ignored by those that aren't looking for them. Please consider this a > proposal for your consideration. > > You can see the changes so far at > https://github.com/graybealski/UDUNITS-2/commit/4feaf155d8ac0c9ba7e6410bf1dfaf3a8b77c902 > if you want. (I'm working on a branch of my clone of my fork....) > > The pattern for comments that I've adopted is that a comment that applies to > an entire unit is in a <comment> tag, while one that applies to a specific > part of a unit (e.g., an alias or symbol) is in a comment="" attribute for > that entity. That seems reasonable. Regards, Steve Emmerson Ticket Details =================== Ticket ID: UJC-466706 Department: Support UDUNITS Priority: High Status: Closed
NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.