|
From: Sandro M. <naa...@gm...> - 2006-02-02 23:21:13
|
I'm making a little headway with these schemas. I'm looking at org.yurl.Author at the moment since it seems to encapsulate most of elements: Link, Embed, methods, etc. Here is my current understanding: 1. if an object has an explicit schema (ie. yurl.org/wiki/Page.xml), then it does not require the schema attibute on individual nodes; ie. a Page onl= y requires the 'schema' in the top-level node to identify it as a Page, whereas an object without a predefined schema would need a 'schema' attribute on each node. 2. a yurl.org/Author also has an explicit/pre-defined schema, but the method definitions seem to be "overridden" in the actual doc returned to th= e client; in yurl.org/Author, 'revoke' is defined as a yurl.org/Author-revoke= , but the actual returned doc has a http://web-calculus.org/pointer/Link in its place, and a schema "override" to convey this information. So this leads to a question: In this case, the Author methods translate into a set of http://web-calculus.org/pointer/Link in the returned document. Is this necessarily the case for all methods? Can a method be returned as an http://web-calculus.org/pointer/Embed instead? If so, what determines the Author methods should be of type Link in this particular case? Sandro |