On TechRepublic: Windows 7: Slower to boot than Vista?
BNET Business Network:
BNET
TechRepublic
ZDNet
TalkBack 13 of 13:
« Previous
People abuse XML
XML is a meta-grammar intended to make it easier to specify a full grammar (using a DTD, or better yet a schema) for structuring data that can be efficiently parsed and validated by an off-the-shelf library. XML provides meta-grammar for transforming a stream of characters into a tree structure, and the schema or DTD define the semantics and correct form for the tree structure.

The problem is, 99.9% of the time no one bothers specifying creating the DTD or schema. Instead, they use XML as a convenient way to avoid writing parsers, and to leverage the latest technology buzzword. This is better than writing ad-hoc parsers, but it is no where near leveraging the full potential of XML.

So the semantic structure of the document remains embedded in the code that generates and/or parses the <ocument.

If developers had to specify the complete grammar every time they wanted to create a new XML dialect, there would be a lot less XML dialects out there. Of course, this would also eliminate the perceived developer efficiency gains associated with XML, so a lot of what are now XML documents would be ad-hoc formats parsed by a clumsy set of regular expressions.

As as said, the partial usage of XML that we frequently see today is better than none at all, but it really shows that what people really want is easier ways to solve their immediate problems with as little thought as possible. Not robust ways to add semantic structure to their documents.
Posted by: Erik1234   Posted on: 09/08/04 You are currently: a Guest | Members login | Terms of Use

Alert moderator to an offensive message

Subscribe to this discussion via Email or RSS

Deja Vu all over again?  alterego_z | 09/07/04
Not sure I follow...  rbethell | 09/07/04
Someone doesn't understand XML.  No_Ax_to_Grind | 09/07/04
not an XML issue...  ryusen | 09/07/04
Extensions to XML?  rapson | 09/08/04
Nice Article  Peter Komisar | 09/07/04
Waiting for the Windows XXXP Operating System happy  coffeenite | 09/07/04
They already have Windows XXXP  itanalyst | 09/07/04
OOOOOOOH!!!  coffeenite | 09/07/04
Perv!  Linux User 147560 | 09/07/04
Porno XML  nomorems | 09/07/04
Music notation not a problem  doublehighc | 09/07/04
People abuse XML  Erik1234 | 09/08/04

What do you think?

SponsoredWhite Papers, Webcasts, and Downloads

advertisement
advertisement

SmartPlanet

Click Here