You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Torsten Knodt <to...@datas-world.de> on 2002/08/03 12:21:37 UTC

Thinking about a change to LinkSerializer

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,
I've used LinkSerializer with the command line environment.
In cocoon-users I had a talk with Vadimir (LinkSerializer not seeing links 
(href, src)) and he explained me how LinkSerializer works.
Now I'm thinking about documenting this, but I think the following change 
would be the better solution.
I think it should work out of the box with xhtml conforming to a valid DTD.
Now this is failing, because the tags are in the xhtml namespace, but not the 
attributes, they are non-namespaced.
My idea is to match also on the tag namespace with non-namespaced attributes.
I would make a patch, when it would go into the cvs.
As this doesn't make any incompatibilities, it could also go into the next 2.0 
revision.

With kind regards
	Torsten Knodt
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9S66xvxZktkzSmiwRAgrAAKCWIvWqQ0dfYlnc4lmH5aIFF5Y4+wCcDPL1
oi6u8RNJZtG7mabHk7NO2Ik=
=T60w
-----END PGP SIGNATURE-----


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Re: Thinking about a change to LinkSerializer

Posted by Vadim Gritsenko <va...@verizon.net>.
Torsten Knodt wrote:

> Hello,
> I've used LinkSerializer with the command line environment.
> In cocoon-users I had a talk with Vadimir (LinkSerializer not seeing 
> links (href, src)) and he explained me how LinkSerializer works.
> Now I'm thinking about documenting this, but I think the following 
> change would be the better solution.
> I think it should work out of the box with xhtml conforming to a valid 
> DTD.
> Now this is failing, because the tags are in the xhtml namespace, but 
> not the attributes, they are non-namespaced.
> My idea is to match also on the tag namespace with non-namespaced 
> attributes. 


Done. You can check out CVS now and see how it works for you.

Vadim

> I would make a patch, when it would go into the cvs.
> As this doesn't make any incompatibilities, it could also go into the 
> next 2.0 revision.
>
> With kind regards
>     Torsten Knodt



---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org