Re: [Modeling-users] Domain Model DTD
Status: Abandoned
Brought to you by:
sbigaret
From: Sebastien B. <sbi...@us...> - 2003-02-12 16:13:51
|
> On Wednesday 12 February 2003 09:35 am, Yannick Gingras wrote: > > As I read the archive I understand that there is no DTD for the dom= ain > > model. Is still true for 0.8 ? >=20 > I mean : "Is this still true for 0.8.5 ?" Well, I've almost never played with DTD, this must be the reason why there's no official DTD... Section 2.2 in the User's Guide fully describes the format. Given this, I've just quickly derived what could be the official DTD if only I knew what I was doing ;) You'll find it attached to this email. The only thing I can tell is that emacs sgml-mode does not yell at me when I ask him to validate any xml models included in the test packages (given that I added <!DOCTYPE model SYSTEM "mdl_model.dtd"> to the prologue) Note: sgml-mode triggers nsgmls for validation. If anyone here has some knowledge about DTDs, please comment! Moreover, if you have an idea on how a DTD can be used to validate a xml-file when loading it into a DOM object (in python), I'll be really happy to hear from it (a quick google search did not teach me a lot, and I've no time to search any longer for now). -- S=E9bastien. |