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]
What is an XML anti-pattern?

Marcus Reichardt wrote:

> I know of only few XML applications more perverse than XMI, 
> the XML serialization of UML, chock full of XML antipatterns 
> such extra lexical type systems (not DTD/XSD), 
> <field name="name" value="value">, and so on.

Marcus, what is an XML anti-pattern? Are you saying that this:

<field name="elevation" value="12000"/>

is an anti-pattern, whereas this:

<elevation>12000</elevation>

is not?

Does anti-pattern mean bad/undesirable? So this:

<field name="elevation" value="12000"/>

is a bad/undesirable way to write XML, but this:

<elevation>12000</elevation>

is a good way to write XML?

/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