"Mike Kienenberger" <[EMAIL PROTECTED]> writes: >Henning,
>Why do we really need an internet dtd? XMLMind works fine by >including the dtd inside the xdcos addon. Does it? I tried to use just "SYSTEM" identifiers and ended up with either having the dtd file in every subdirectory of all sub-projects or having to juggle around with "SYSTEM "../../../dtds/xdoc.dtd" pathes that change whenever a file is moved. Both is not exactly user friendly. Note that the problem is not the editor but the xdoc plugin. AFAIK, for a DTD we must either have a public/system identifier pair or just a system reference. You can't just get a public reference alone. And while it would be trivial to convert the DTD into an XML schema and then use all the good "use an entity resolver that is not broken" advice, it would also rob us of XMLMind, because the free version only supports a very small subset of XML schemas. For arbitrary support, you need the professional version and I simply can't see people spending > 200 bucks just to contribute to open source software. IMHO, there are three possible solutions (there might be more, but the whole thing really starts to tire me) - screw it. Don't reference a DTD and let people who want to use XMLMind figure out all by themselves that they have to associate the xml files with the XDOC dtd and style sheets (see Wills' first and second posting in this thread, about this being non-intuitive without a DTD. - use an XSD. Which leaves us with XDOC exactly where we started (no tool support) but now all the XML lawyers can have a ball, because we abandoned the "evil DTD". - Work around the infrastructure people. Add a PUBLIC identifier and hack the xdoc plugin to "somehow" support this identifier without accessing the net. Then add a public location somewhere under jakarta.apache.org/velocity and be done. All three suck but the first two screw our users. I'll go with the third. Best regards Henning -- Dipl.-Inf. (Univ.) Henning P. Schmiedehausen INTERMETA GmbH [EMAIL PROTECTED] +49 9131 50 654 0 http://www.intermeta.de/ RedHat Certified Engineer -- Jakarta Turbine Development -- hero for hire Linux, Java, perl, Solaris -- Consulting, Training, Development Social behaviour: Bavarians can be extremely egalitarian and folksy. -- http://en.wikipedia.org/wiki/Bavaria Most Franconians do not like to be called Bavarians. -- http://en.wikipedia.org/wiki/Franconia --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]