Lists Home |
Date Index |
- From: David Megginson <firstname.lastname@example.org>
- To: Paul Prescod <email@example.com>
- Date: Thu, 18 Mar 1999 15:49:20 -0500 (EST)
Paul Prescod writes:
> David Megginson wrote:
> > > I took it the same way. But doesn't that violate the principle
> > > of XML as being self-describing?
> > First, there is no such published principle for XML itself,
> > though the Namespaces spec provides an infrastructure for such a
> > thing.
> Debatably the principle of self-describing-ness is encoded in both
> the XML declaration (unfortunately optional!) and the DOCTYPE
Perhaps -- it's really a question of degree. The XML declaration
tells you what the XML version is and may tell you about the intended
character encoding (the 'standalone' declaration is pointless and
should be ignored); the DOCTYPE declaration tells you what the root
element of the document is. Neither of these, however, tells you
anything about what kind of XML document you're looking at.
> > Second, it in no way violates it, because if you recognise the
> > namespaces/elements being used, you can still figure out that you're
> > dealing with RDF (and if not, fat lot of good they'll do you anyway).
> Wouldn't it be useful for a generic RDF processor (e.g. viewer, search
> engine) to be able to recognize RDF in arbitrary documents?
Of course it would be, but not everyone will want to define an
exchange format with rdf:RDF as the root element. The presence of the
rdf:about attribute can serve as a useful clue if it's there.
> Personally, I do feel that the optional RDF element is a bad idea. I have
> had many bad experiences with "implied declarations" like <!DOCTYPE HTML
> ...> and <!SGML ...>. "Say what you are!" In this case the obvious way for
> RDF elements to say that they are RDF elements without enforcing a
> particular vocabulary would be to use attributes -- but that sounds like a
> smelly old SGML-ish idea.
Yeah, stinky old architectural forms would be very helpful here.
All the best,
David Megginson firstname.lastname@example.org
xml-dev: A list for W3C XML Developers. To post, mailto:email@example.com
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To (un)subscribe, mailto:firstname.lastname@example.org the following message;
To subscribe to the digests, mailto:email@example.com the following message;
List coordinator, Henry Rzepa (mailto:firstname.lastname@example.org)