Content

ramblings of a coldfusion developer

CFEclipse, XMLBuddy and Mach-II DTD

Wednesday 31 January 2007 - Filed under Code

A few days ago someone on the Mach-II mailing list posted about using the existing Mach-II DTD within Eclipse/CFEclipse to get code hints within the XML config file.

A few suggestions for XML editors came up (see end of this post for some links)… I remember doing this for Fusebox and as I’m now working with Mach-II thought I’d set it up again. I downloaded the free version of XMLBuddy and manually installed it into Eclipse. There is some confusion about using XMLBuddy in 3.2 but it works for me and I found a few other posts where people said they had no problems – YMMV.

Update: 2/11/2007:
Moved to my Wiki: CFEclipse, XMLBuddy and Mach-II DTD

2007-01-31  »  Jim Priest

Talkback x 8

  1. Brian Kotek
    5 February 2007 @ 12:40 pm

    I hate it when I’m an idiot! I’ve actually been trying to do this for a LONG time and had basically given up. Thanks for explaining this, I can’t believe how easy it is and have no idea how I missed it.

  2. Jim
    5 February 2007 @ 12:59 pm

    Brian – don’t feel bad. I’ve been working on my first Mach-II application for a few months now without it…

    So far I’m finding it very useful- esp. in regards to closing tags which I always seem to forget!!

  3. dickbob
    22 February 2007 @ 4:50 am

    How would I adapt this for Fusebox. I get the association stuff with XMLBuddy but not the path name you’re putting in the DOCTYPE.

    Can you help?

  4. Jim
    22 February 2007 @ 8:51 am

    Check out this post by Nathan Strutz:

    http://www.dopefly.com/techblo.....?entry=101

    He’s using a different XML editor but it should be enough to get you going in the right direction.

  5. dickbob
    22 February 2007 @ 11:14 am

    Okay, that helped a bit but even Nathan says “I wish I knew what that all meant”.

    It’s the path bit I don’t get. How do I tell the XML file, or CFEclipse, where I’ve put the DTD?

  6. Jim
    22 February 2007 @ 12:11 pm

    I need to sit down and play with this and figure out what exactly is required to make this work.

    I dumped my .dtd file in with my mach-ii.xml file.

  7. Jim
    22 February 2007 @ 12:17 pm

    OK – digging around it looks like you can also reference the .dtd file with a full path (this assumes you are on Windows)

  8. dickbob
    24 February 2007 @ 6:48 am

    Thanks, that’s helped.

Share your thoughts

Re: CFEclipse, XMLBuddy and Mach-II DTD







Tags you can use (optional):
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>