From: Artur H. <ko...@pl...> - 2003-09-15 11:58:47
|
Hi, > The bad new is that XXE doesn't recognise the xpath. :( In what sense it doesn't recognise xpath? Does it try to resolve it in some way? Should it just leave <xinclude> element as is? > The other problem is that the <xinclude> tag requires 2 lines of text for one > variable, compared to an ENTITY which only takes one word. Yes, you are right. While it is acceptable that inclusion of external file takes two lines of code, it does not well look if simple variable takes that amount of space. Readability is decreasing: The purpose of &projectname; project.... (looks fine) The purpose of <xi:include href="resources/generconfig.xml#xpointer(/generconfig/varset/var[@name='projectname']/text())"/> project.... (looks ugly) > I'd like to look around and see what other alternatives we have. ENTITIES are > starting to look more attractive to me again. Cameron, I think we should look for another editor in place of xxe not because of <xicnlude> and <xpath> support but rather because of good support for entities. Artur -- Artur Hefczyc Open Source Developer http://generguide.sourceforge.net/ http://www.geotools.org/ http://wttools.sourceforge.net/ http://maven-plugins.sourceforge.net/ |