forrest-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cameron McCormack <>
Subject Re: site: URIs with fragment identifiers
Date Wed, 10 May 2006 05:30:50 GMT
David Crossley:
> Please attach it to a new Issue at Cocoon's issue tracker

Ok, though perhaps a different solution would be better...

> Me either. Here are some tips, but i am not even sure
> if they are up-to-date.

That seems to work, thanks.

So after thinking about it, I'm not sure if changing the
LinkRewriterTransformer is the right solution.  Perhaps you want to
have some schemes that don't include the fragment (e.g., site:) and
others that do (e.g., an rdf: scheme that identifies RDF literals,
where fragment identifiers are important).  You'd need two linkrewriter
instances for that.

So I think it's more that the SimpleMappingMetaModule is insufficient to
describe the mapping of 'A#B' to 'concat(/site//A/@href, "#B")' for the
key to the XMLFileModule.

What do you think the right solution to this should be?  A
MoreComplexMappingMetaModule that can construct such keys?  How general
should this be?  And where should it go, in Cocoon or Forrest?



 Cameron McCormack			ICQ: 26955922
 cam (at)			MSN: cam (at)			JBR: heycam (at)

View raw message