cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Giacomo Pati <giac...@apache.org>
Subject Re: cvs commit: xml-cocoon/webapp/stylesheetsdynamic-page2html.xsl
Date Tue, 02 Jan 2001 10:10:50 GMT
Happy new year, Jeremy

Jeremy Quinn wrote:
> 
> At 22:30 +0000 30/12/00, giacomo@locus.apache.org wrote:
> 
> >  +++ samples.xml      2000/12/30 22:30:27     1.1.2.11
> >  @@ -52,7 +52,7 @@
> >       Simple XSP example.
> >      </sample>
> >      <sample name="Simple SQL" href="sql/sql-page" xlink:role="dynamic">
> 
> Hi Giacomo,
> 
> It's great to see you getting Actions going!
> 
> I am slightly worried about the use of "xlink:role" here.
> According to the latest XLink specs, the value of this attribute has to be
> a URL.

The fact is that I have no clue how this attribute has found it's way
into the sitemap (and I and Berin as well have simply copied it from an
already existing entry :( ). The CVS history tells my ... (oh shit locus
is down again). It could be that it was to prevent the commandline
environment to crawl these links but it doesn't do so yet. There has
been a discussion about that several week ago if and how we should make
it possible to tell the commanline environment not to crawl into some
URI (but it was at the sitemap level to prevent it).

> This may cause us problems using compliant XLink Processors in the future?

This could be a problem, sure (I'm not that deep into XLink to tell you
for sure)

> I am still a bit unsure as to the real purpose of xlink:role, but what
> about using it as a kind of NameSpace instead of a simple value (sorry I've
> not explained that very well)
> 
> What if we defined URLs to represent the different states, a bit like
> setting features in a SAX Parser?
> 
>         <sample ... xlink:role="http://apache.org/cocoon/XLink/role/dynamic"/>
>         <sample ... xlink:role="http://apache.org/cocoon/XLink/role/static"/>
> 
> Does this make sense?

Can you tell me what the general benefit of using it at all is?

> Forgive me if I am barking up the wrong tree ;)
	This is what I like about the Cocoon-dev mailing lists. You often 
	learn new words to express yourself :)

Giacomo

Mime
View raw message