[cap-talk] Creating 32-bit capabilities, automatic capabilities by subclassing?
Sandro Magi
smagi at naasking.homeip.net
Sat May 13 11:25:16 EDT 2006
Ian G wrote:
> Sandro Magi wrote:
>> Ian G wrote:
>>
>>> Sandro Magi wrote:
>>>
>> Tyler posted a series of "Hello World!" examples here:
>>
>> https://yurl.net/blog/tutorial/home
>
> Is that document up to date? In the text it
> refers to web-calculus.org but in the links
> it goes to yurl.net.
Yes, it is up to date as far as I know. The web-calculus.org URLs are
for the standard web-calculus schemas. Browse them at:
http://web-calculus.org/
> Also, it is not clear
> what the point of the first XML is ... is
> that displayed on a browser?
All XML shown there is what is returned when a client requests that
resource. What a browser actually displays depends on the stylesheet
specified in the XML (if the browser supports XSLT that is).
> This one:
>
> Loading the HelloWorld class in the Waterken Server produces XML like:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <?xml-stylesheet type="text/xsl"
> href="/xsl/http/web-calculus.org/Object.xsl"?>
>
> <list>
> <doc schema="http://waterken.org/example/HelloWorld-class">
> <greeting schema="http://web-calculus.org/pointer/Link">
> <target>./?key=kl7g-btwb-iiqy</target>
> </greeting>
> </doc>
> </list>
>
> It almost seems as though there should be a URL that
> causes that above XML to come back to the browser.
There is a YURL that returns the above XML. It just isn't linked from
that page.
> But the Hello World URL is:
>
> https://yurl.net/blog/tutorial/Hello%20World%20greeting
You are mixing up HelloWorld-class and a HelloWorld instance.
https://yurl.net/blog/tutorial/Hello%20World%20greeting
The above YURL refers to a HelloWorld.getGreeting() YURL, which simply
returns a string. The HelloWorld-class is the description of the
HelloWorld class, which has its own YURL.
Sandro
More information about the cap-talk
mailing list