Hi, Technical question/proposition to get rid of xalan
As mentionned by Giuseppe, currently, LayerStyle2SLDPlugIn needs xalan library to work (about 3Mb). As far as I could see, Xalan is just needed to add a user-defined namespace to the SLD file. To be honnest, I don't know what is this namespace for as it's only used in text nodes of <ogc:PropertyName> elements. Currently, this namespace is defined with a prefix which corresponds to the last element of the namespace URI (ex. prefix="app", namespace="http://www.deegree.org/app"). Computing a dynamic prefix (using last part of the user-defined URI) along with a dynamic user-defined namespace is something I could not do in pure java (javax.xml.transform) On the other hand, adding a user-defined namespace with a hardcoded prefix or a default prefix is something which can be achieved with the JRE (without xalan). I don't know why standard java (javax.xml.transform package) does not work the same way as xalan, but if the only reason to use xalan is to be able to choose the namespace prefix, I would rather get rid of it. That said, I just discover SLD, and i would appreciate any advice from xls, xml or SLD gurus if there are some around there. Michaël ------------------------------------------------------------------------------ vRanger cuts backup time in half-while increasing security. With the market-leading solution for virtual backup and recovery, you get blazing-fast, flexible, and affordable data protection. Download your free trial now. http://p.sf.net/sfu/quest-d2dcopy1 _______________________________________________ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel