[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[pdt-dev] RE: Can't use custom DTD with PDT?
- From: "Roy Ganor" <roy@xxxxxxxx>
- Date: Thu, 11 Dec 2008 09:45:51 +0200
- Delivered-to: firstname.lastname@example.org
- Thread-index: AclbIQLrZW1OllD2SUueAfVMidZd0AAQui/g
- Thread-topic: Can't use custom DTD with PDT?
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 :)
From: Jim Kremens [mailto:kremens@xxxxxxxxx]
Sent: Thursday, December 11, 2008 1:42 AM
To: Roy Ganor
Subject: Can't use custom DTD with PDT?
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...