Re: Word 2003 XML

Tech-Archive recommends: Fix windows errors by optimizing your registry



On 2006-06-19 13:56:35 +0100, "John McGhie [MVP - Word and Word Macintosh]" <john@xxxxxxxxxxx> said:

Yeah, I know DTDs are ancient technology. Their one saving grace is that
they "always" work. I don't trust Schemas 100 per cent yet. They're lovely
when they work, and Office 2007 supports (and uses) them.

I'm sure you're right. We can probably say "bah" and "humbug" at this point!

However, if I were working "cross platform" trying to make Office do the
right thing with Open Doc, I would rather bet my life on doing it with a DTD
and a FOSI than with a Scheme.

EMPTY properties, see http://www.w3.org/TR/rdf-syntax-grammar/

I think that might be specific to RDF, and not XML in general.

My very limited understanding of XML extensibility is that it is made clear to the parser/application which elements are foreign by declaring namespaces in the root element. I don't think any general spec says what an application's meant to do when alien elements or attributes are discovered in a document.

If you have foreign stuff in a document, validation through a DTD becomes impossible. I've a feeling that you may be able to validate such a document using a schema?

I fully anticipate being corrected on some or all of the above!

Cheers,

Chris


.