[Expat-discuss] Re: Newbies questions
Lucas Brasilino
brasilino@recife.pe.gov.br
Tue Aug 20 04:33:03 2002
Hi Tony:
> To use expat as a parser, the XML must be "well-formed". This must mean that
> it is 'valid' XML - i.e. all the tags that are opened are closed, you aren't
> missing any '>'s, and so on.
>
> To be valid (i.e. validated by a validating parser) the XML must conform to
> some type of given structure, like a DTD. (It must also be well-formed, as
> above). Obviously, if there is no DTD specified (or similar structure-giving
> device), an XML document can't be 'valid'.
>
> Expat checks for well-formedness, but does not validate (in the sense given
> above).
I see... Now I understand. Thanks for your explanation., it was very useful.
bests regards
--
[]'s
Lucas Brasilino
brasilino@recife.pe.gov.br
http://www.recife.pe.gov.br
Emprel - Empresa Municipal de Informatica (pt_BR)
Municipal Computing Enterprise (en_US)
Recife - Pernambuco - Brasil
Fone: +55-81-34167078