[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
What is an XML anti-pattern?
- From: Roger L Costello <costello@mitre.org>
- To: "xml-dev@lists.xml.org" <xml-dev@lists.xml.org>
- Date: Fri, 12 Nov 2021 12:54:23 +0000
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]