[Yanel-dev] data-repo-sitetree resource-type
Michael Wechner
michael.wechner at wyona.com
Wed Feb 11 15:01:10 CET 2009
simon litwan schrieb:
>>
>>>
>>> but i stuck now because the init resolves only relative to
>>> realmConfigFile. as defined in the interface
>>> org.wyona.yanel.core.navigation.Sitetree the method public void
>>> init(Document document, RealmConfigPathResolver resolver); only
>>> allows RealmConfigPathResolver.
>>> wouldn't it make sense to allow javax.xml.transform.URIResolver as
>>> resolver?
>>
>> what for?
> to be able to pass the ResourceResolver not only the
> RealmConfigPathResolver.
> when config the sitree within a rc the ResourceResolver makes more sense.
>
> BTW the exaple config of SitetreeDOMImpl.java in the java docs:
> /**
> * Based on DOM, whereas persistance is done through the src
> configuration, e.g.
> * <repo-navigation
> class="org.wyona.yanel.impl.navigation.SitetreeDOMImpl">
> * <src>yanelrepo:/sitetree.xml</src>
> * </repo-navigation>
> */
> is not working because RealmConfigPathResolver is not able to resolve
> yanelrepo:
>
> hope this explains it better.
thanks for the pointer, but I need to take a closer look in order to
make a statement
Cheers
Michi
More information about the Yanel-development
mailing list