RE: document node attributes

Hi Stephen,

I think a media type could declare link semantics over anything it wanted.

If application/nxml (say) declared that @href, @src etc meant such and such,
then that's what they'd be.

Similarly, if application/nxml said that the xml: namespace attributes were declared by virtual document node properties,
I think that would be feasible too.  The media type could also declare that everything
else in xml was incorporated.

I think that's the way media types work: they RFC describing them is the last word.

But one can't just say (now) that in application/xml @href, @src mean anything, because
there is a large installed base of xml out there in which @href etc are used and may not
mean exactly what we want them to at this point.

Peter


________________________________
From: Stephen D Green [mailto:stephengreenubl@gmail.com]
Sent: July 3, 2013 09:49
To: Rushforth, Peter
Cc: public-xmlhypermedia@w3.org
Subject: Re: document node attributes

[Forgive me if this sounds rather ignorant.]

Would an alternative be to standardize a convention? E.g.
that for every (RESTful) XML document on the Web at URL
        http://abc.xyz/foo/bar/123
there may be a corresponding document containing its links
at
        http://abc.xyz/foo/bar/123/links

Then the standard convention might specify a format for the links
e.g. the Atom Link Model, say.

Or is that too far short of what is needed by way of hypermedia
for XML?




----
Stephen D Green


On 11 June 2013 02:02, Rushforth, Peter <Peter.Rushforth@nrcan-rncan.gc.ca<mailto:Peter.Rushforth@nrcan-rncan.gc.ca>> wrote:
Hi,

According to the XML data model, is it conceivable that the document node (not the root element)
be deemed to carry virtual, hard coded attributes?

In other words, could a media type definition say that the document node of this media type has
these fixed attribute values?

http://www.w3.org/community/xmlhypermedia/wiki/NeoXML

Thanks for any feedback,
Peter

Received on Wednesday, 3 July 2013 14:00:07 UTC