[Date Prev][Date Next] [Thread Prev][Thread Next]
[Date Index] [Thread Index] [New search]

Re: XML



> Publish magazine has an interesting article on XML at the following web
> address:
> http://www.publish.com/features/9910/xml/index.html

It may be interesting, but it's factually incorrect. I did read the whole thing,
but almost stopped when I read:

> Basically, an XML document must be well-formed and valid.
>
There is no requirement for an XML document to be valid.

> Being well-formed
> means that it conforms to a few simple rules: it has to start with an XML
> declaration (such as <?XML version="1.0"?>)...
>
... except that's not a valid XML declaration - XML must be lower case in the
declaration.

> A valid XML document is one in which all of the tags that are supposed to
> surround data really do. A validating parser, such as Microsoft's MSXML,
> will alert you to a tag set that contains no data. Try doing that with HTML.
>
Validation is concerned with the structure of the documents, not the semantics of
the contents. A paragraph that contains no characters is equally valid to one that
fully explains macadamia nut farming.

These three clangers were on the first page. If you're looking for generally sound
articles on XML, I'd keep an eye on http://xml.com/. It was a thoughtful pointer
Dan, just not a great article.


--
Regards,

Marcus Carr                      email:  mrc@allette.com.au
___________________________________________________________________
Allette Systems (Australia)      www:    http://www.allette.com.au
___________________________________________________________________
"Everything should be made as simple as possible, but not simpler."
       - Einstein



** To unsubscribe, send a message to majordomo@omsys.com **
** with "unsubscribe framers" (no quotes) in the body.   **