Model-Glue xml DTD

Sitting in the hotel room last night i finally started getting into Model-Glue - Something i've been meaning to do for ages. Using Cfeclipse i got through half the quickstart guide when i got side tracked thinking that the XML file should have a DTD file for validation - something else i've been wanting to get into for ages since noticing the minor glitches in the FB ones.

So after some digging around the web i ended up creating the following file: modelglue.dtd

If you currently dont have a XML editor for Eclipse - i'm currently using XML Buddy which has been working well.

Posted: 07-Jun-2005

View: 1670

Permalink: here

Comments

Hey Andy,

Thanks for putting this together. There's a full DTD under development for the 1.0 release, and this'll definitely help out.

I've held off on publishing an 'official' m-g DTD because it's one more thing to update with each pre-1.0 release...

#1 Joe Rinehart
07/Jun/05 9:51 AM

Yeah, I'm working on it... I think I have one that is pretty solid for 0.9 that I'll be handing off to Joe today, hopefully. I agree with Joe about holding off until 1.0 is released tho', to avoid too much churn and confusion.

I too started with an auto-generated DTD from XML Buddy and I've just completed a first pass through the soon-to-released 0.9 code base to make it match that...

#2 Sean Corfield
07/Jun/05 9:59 AM

No probs Joe, as i said it was also a good way to get myself thrown into DTD design which was the main purpose.

Sean, do you still use XML Buddy? If so do you get a error on the root element about it needing to be declared if you have assigned a DTD via the preference window?

#3 andy jarrett
08/Jun/05 12:05 AM

Yes I use XML Buddy but I'm not sure what you mean about the preference stuff... I embed a DOCTYPE for validation purposes...

#4 Sean Corfield
08/Jun/05 12:32 AM

Via Windows > preference > xml buddy >XML you can associate DTD's depending on the root element. Which means what im seeing is most likely a XML buddy bug then. Time to embed the DOCTYPE then :o)

#5 andy jarrett
08/Jun/05 1:04 AM

Doh! Yes, I've even done that for Fusebox and Mach II DTDs already... I'll try the Model-Glue DTD later today...

#6 Sean Corfield
08/Jun/05 6:58 AM

Ick! Yes, there does appear to be a bug there. That default DTD association just doesn't seem to work at all :( Probably why I started embedding DTD URLs!

#7 Sean Corfield
08/Jun/05 8:51 AM