W3C home > Mailing lists > Public > www-forms@w3.org > October 2002

RE: Load and fragment identifier(#id)

From: Micah Dubinko <MDubinko@cardiff.com>
Date: Fri, 4 Oct 2002 17:10:08 -0700
Message-ID: <E840F0B7E6189547BDB91DA8BF2228AB28C7DF@csmail.cardiff.com>
To: "'bhanu'" <bhanu_k@hotmail.com>, www-forms@w3.org


>a load pointing to a fragment identifier within the current document is

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" :-)



-----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"/>
   <load ev:event="xforms-activate"

Received on Friday, 4 October 2002 20:10:14 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:36:07 UTC