From: Casey J. <cas...@jo...> - 2011-04-08 17:07:11
|
Gentlemen, There is no reason to argue DTD vs schema because I wholly believe that schema is the right way to go. However, our SaaS product caters to a large community of technical writers and businesses which are still using DTD's and probably will be for at least a few years. We cannot demand that our customers switch to xml schema, its just not feasible when talking with multi billion dollar companies and puts us at a disadvantage in the market. So while I appreciate that philosophically moving from DTD to schema is the right idea, there are also real world problems with this. I also understand that since it is not part of the spec this becomes problematic. However I really need to be able to: 1.) Get the DTD to be added to the document when opened in webdav 2.) Get the DTD to be added back into the files when backups are run or when files are exported 3.) Get the DTD in files that are added to a zip archive using the compression module. Currently in 1.4.1 I am not seeing any of this happening. I will look into the output-doctype="yes|no" (Thanks Wolfgang), however I am not sure that this will solve all three of these problems. I am sorry if I am being over critical about this, it was not my intention. I do very much appreciate the feedback on this thread. Cheers, Casey On Fri, Apr 8, 2011 at 12:48 PM, Wolfgang Meier <wol...@ex...>wrote: > The main reason why eXist does not output a doctype declaration is > that there's no way for it to know if the DTD was completely loaded > from an external source or parts of it were passed as internal subsets > within the doctype declaration itself. That's the entire problem! If > we output the doctype declaration by default, the document may become > invalid. > > But as has been said before, eXist does store the doctype declaration > in the document metadata and if asked to do so, it can print it out. > There's a serialization option output-doctype="yes|no" for this. > > Wolfgang > > > ------------------------------------------------------------------------------ > Xperia(TM) PLAY > It's a major breakthrough. An authentic gaming > smartphone on the nation's most reliable network. > And it wants your games. > http://p.sf.net/sfu/verizon-sfdev > _______________________________________________ > Exist-open mailing list > Exi...@li... > https://lists.sourceforge.net/lists/listinfo/exist-open > -- -- Casey Jordan easyDITA a product of Jorsek LLC "CaseyDJordan" on LinkedIn, Twitter & Facebook Cell (585) 348 7399 Office (585) 239 6060 easydita.com This message is intended only for the use of the Addressee(s) and may contain information that is privileged, confidential, and/or exempt from disclosure under applicable law. If you are not the intended recipient, please be advised that any disclosure copying, distribution, or use of the information contained herein is prohibited. If you have received this communication in error, please destroy all copies of the message, whether in electronic or hard copy format, as well as attachments, and immediately contact the sender by replying to this e-mail or by phone. Thank you. |