← Prev in month ← Prev in thread

What is an XML anti-pattern?

From
Roger L Costello <>
To
"" <>
Date
2021-11-12T12:54:23Z
ID
<>
Thread
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
← Prev in month ← Prev in thread