On Fri, 28 Sep 2018 at 16:27, Costello, Roger L. <> wrote:
>
> John Cowan wrote:
>
>
>
> So he is arguing that the two components of a cost, the numeric part and the unit, each should be explicitly marked up.
>
>
>
> Yes! That’s exactly what I am saying.
>
So just to clarify, you are saying that
<Cost>
<Currency>USD</Currency>
<Amount>8.95</Amount>
</Cost>
is good, but for example
<Cost>
<Currency type="iso4217">USD</Currency>
<Amount type="decimal">8.95</Amount>
</Cost>
would be bad?
Would it make the first bad if the document had a dtd which defaulted
the type attributes so the two forms parsed in the same way?
David