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

[EMAIL PROTECTED] changed:

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



------- Additional Comments From [EMAIL PROTECTED]  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: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to