[Yanel-dev] SitetreeDOMImpl

simon simon at 333.ch
Mon Mar 8 17:51:24 CET 2010


hi all

for a long time i would like to implement a sitetree editor. to start i 
implement the missing methods within NodeDOMImpl. when i started to 
write a test for it, i noticed something strange. AFAIU the 
SitetreeDOMImpl it expects/creates a a sitetree xml like this:

<sitetree xmlns="http://www.wyona.org/yanel/sitetree/1.0">
  <node name="name of node">
    <label/>
  </node>
</sitetree>

but all the sitetree.xml (yanel-website, from-scratch-realm etc.) i 
found within yanel looking like this:

<sitetree xmlns="http://www.wyona.org/yanel/1.0">
  <node href="de/index.html">
    <name>Home</name>
  </node>
</sitetree>


not sure what's the conclusion. but i think the SitetreeDOMImpl doesn't 
make much sense at the moment. i'm wondering if this SitetreeDOMImpl has 
ever been used actually.
i think we should create a schema for a yanel sitetree and make the 
SitetreeDOMImpl fits this schema.

WDOT?

cheers
simon



More information about the Yanel-development mailing list