On 12/30/05, Don Hopkins <[EMAIL PROTECTED]> wrote:
> There are other (much better) schema languages than DTDs, and other
> tool-specific ways of associating schemas with documents, besides embedded
> and externally referenced DTDs.

That I do know, I've actually done a couple schemas in XML Schema and
I've looked at RelaxNG and decided it was better but I haven't done
anything with it. I thought, however, that without a schema the parser
has no way of knowing whether the whitespace in an element is
significant or not and therefore must treat it as significant but that
whitespace normalization in attributes was ok. If you have a schema,
then the processor can know that the whitespace is not significant and
strip at will.

I don't use xml on a regular basis (I use html and like Jeff I don't
always want it to be xml because of browser quirks), so I don't have
specific tooling for xml. I'll have to look at the xml tools and
whatnot again when I get back into it. Thanks for the info.

Reply via email to