- From: Micah Dubinko <MDubinko@cardiff.com>
- Date: Fri, 4 Oct 2002 17:10:08 -0700
- To: "'bhanu'" <bhanu_k@hotmail.com>, www-forms@w3.org
Hello,
>a load pointing to a fragment identifier within the current document is
illegal
How do you read that way?
The Schema defines it as xsd:anyURI, which does allow fragments. The meaning
of the fragment depends on the document type of the resource.
We'll see what implementations do, but treating it like <a href=".."> (with
XML Events activation instead of manually) would be a good starting point.
So, my answer for 1,2, and 3 below is: "whatever html <a> does" :-)
Thanks,
.micah
-----Original Message-----
From: bhanu [mailto:bhanu_k@hotmail.com]
Sent: Friday, October 04, 2002 5:51 AM
To: www-forms@w3.org
Subject: Load and fragment identifier(#id)
As per the load section
10.1.8 The load Element
This action traverses the specified link
Linking Attributes
Link to external resource to load ...
According to the above text a load pointing to a fragment identifier
within the current document is illegal ("link to external resource")
So this load would be illegal
<load ev:event="xforms-activate" src="#id_in_the_current_document"/>
If loading to #id_fragment is legal, then what should be the behavior?
1. A new instance of the (current) document is loaded. Hence new state,
new instance data (initialization etc..)
2. Current document state/context is retained, but simply focus is set
to the target "id".
3. Finally, Is there a difference between the following 2 actions
<load ev:event="xforms-activate" src="#id_in_the_same_document"/>
vs.
<load ev:event="xforms-activate"
src="current_uri#id_in_the_curent_document"/>
Regards
Received on Friday, 4 October 2002 20:10:14 UTC