Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: Invalid XML

From: ptjm@--------.--- (------- -- ------)
To: NULL
Date: 9/1/2004 12:33:00 AM
In article <_sqdne8dXo63cqncRVn-hw@g...>,
jmm-list-gn  <jmm-list.AXSPAMGN@s...> wrote:
% Esther wrote:
% > I've just been handed a spec prepared by one of our vendors that
% > includes instructions and samples like these:
% > 
% > "<difficulty_section> Tag
% > 
% > I wasn't aware this was possible, especially since nesting is allowed
% > in their model. Could someone please clarify for me if I'm missing one
% > of the finer points of XML, or are these people just idiots?
% > 
%    It certainly not valid XML. It is not even well-formed. This does not 
% mean a parser cannot parse the document; only that the document is poorly 
% created.

Conforming XML parsers are required to stop passing parsing information
to the application when they encounter well-formedness errors. The
reason for this is to prevent the problem with HTML, which is that
everyone has to be able to process garbage documents in order to
inter-operate with everyone else.

%    So they are not idiots, exactly. They just don't bother with validation.

It seems like they didn't bother using XML at all. To the OP, is this
supposed to be XML, or is it SGML? The kind of mark-up you describe is
quite common and perfectly legal in the SGML world.
-- 

Patrick TJ McPhee
East York  Canada
ptjm@i...


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent