cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 13131] - [PATCH] XMLModule: Allow XPath access to arbitrary XML sources
Date Mon, 30 Sep 2002 10:00:02 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13131>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13131

[PATCH] XMLModule: Allow XPath access to arbitrary XML sources

kpiroumian@protek.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED



------- Additional Comments From kpiroumian@protek.com  2002-09-30 10:00 -------
The module name is identifing the source already. And having the source 
configured in cocoon.xconf makes usage easier and more manageable. You won't 
like to Search/Replace your sitemap to change the source path, aren't you?

But I think that there must be no problems in implementing a dynamic source 
version.

The only minor problem is that the AbstractJXPathModule provides 
getContextObject() method which doesn't have 'name' argument to parse it and 
retrieve the source object. 
It was implemented that way to be used in the getAttributeNames(), but as it 
has no much meaning for XML sources (what are the attributes/properties of an 
XML?), we can change the getContextObject to use an extra 'name' argument and 
use it to retrieve the source path and return the source object.

Opinions?

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


Mime
View raw message