XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
=?UTF-8?Q?Re=3A_=5Bxml=2Ddev=5D_Don=E2=80=99t_create_elements_with_simple_co?==?UTF-8?Q?ntent_and_attributes?=

So if you claim as you have that 

<Cost>
    
<Currency>USD</Currency>
    
<Amount>8.95</Amount>
</Cost> 

is explicitly labelled

then let's look at a plausible extension of that. 

<Cost>
    
<Currency>USD</Currency>
    
<Amount>8.95</Amount>
     <Currency>GBP</Currency>
    
<Amount>6.95</Amount>  
</Cost>  

Here the relationship between the Amounts and the currency that applies to (labels) them is the immediate preceding sibling.

But that relationship is not explicit. It's implicit. So your designation of what is an explicit label is neither coherent nor rigorous and therefore not an appropriate arbiter for determining what is good or bad.







On Fri, Sep 28, 2018 at 11:27 AM Costello, Roger L. <costello@mitre.org> 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.

 

Thanks John for explaining it better than I could.

 

/Roger

 



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS