Hi Jim, This demonstrates perfectly how you guys can help us! This is obviously a bug in PDT that should be fixed, suggesting a fix will be much appreciated for our community!
BTW - I am posting it to the dev mailing list, maybe someone will strive and help you :) Regards, - Roy -----Original Message----- From: Jim Kremens [mailto:[EMAIL PROTECTED] Sent: Thursday, December 11, 2008 1:42 AM To: Roy Ganor Subject: Can't use custom DTD with PDT? Hi Roy, I sent this to the list, but if anyone would know the answer, it's you! If I create a custom DTD and point to it in my document like so: <!DOCTYPE html SYSTEM "dtd/my.dtd" > When I open that file with the standard WebTools XML editor, the grammar of my DTD is picked up and I get content assist, etc. When I open the same file with PDT, which is built on top of the WebTools editors, my DTD is ignored. This is curious... Anyone have any idea why this is true and how I might overcome it? I'd really like to be able to use a DTD for this task, as that's what they were designed for! It's clearly much simpler, much more flexible and maintainable to edit a DTD to provide a language description than it is to go crazy changing either the ModelHandler or the ModelQueryExtension every time your language changes... Sorry to continue to bug you... Thanks, Jim Kremens _______________________________________________ pdt-dev mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/pdt-dev
