My blog has moved
Please update your bookmarks and feeds for my site.
I now have a Mango Blog at:
http://www.andyjarrett.com/blog
Feed URL: http://feeds.feedburner.com/andyjarrett
Please update your bookmarks and feeds for my site.
I now have a Mango Blog at:
http://www.andyjarrett.com/blog
Feed URL: http://feeds.feedburner.com/andyjarrett
I hope this doesn't come across as a moan as its meant to be more of a general question to the community. But with all the main frameworks out there running on XML config files, where are the official DTD's hosted for these? I know there are several around hosted in odd locations (no disrespect), but I was just looking to put together a definitive list of the locations.
I know you can get them via subversion etc but shouldn't/couldn't they be hosted on the respective sites??
As i'm preparing to type this post what I'm about to says is so obvious its annoying. When you are using the <cfxml> tag you cannot have xml tags that begin with "cf" as Coldfusion tries to parse them. For example:
Would fail with something like "A tag starting with 'CF' has been detected. This tag is not supported by this version of ColdFusion. Please verify your typo and try again. Unknown tag: cftest. "
The workaround:Modify the tag from <cftest> to <ctest>
The afterwards get regex to make the changes.
Foxe is a lightweight XML editor written in C++ which is excellent for quickly examining and reviewing XML files. It's a standalone app so know install either and it roughly uses 1.5 to 3 times the memory size of a document.
Its lacking schema validation, but handles Unicode file with and without BOM plus a range of other encoding styles.
I've added a new pod to my site which now reads the ColdFusion Google calendar so you can see up coming events.
I've managed to add a couple of events myself including some from the Online CF meetup group, also thanks to Mark Drew as well as he is keeping up the UKCFUG schedule.
If you are an CFUG organiser (or any CF related organiser) leave me a comment here and i'll add you as an administrator so you can add your events. You'll need a Gmail account!
To subscribe to the calendar use one of the following links:
I have created a public Google Calendar for ColdFusion meetings. The idea I had behind this is that if you run any kind of CF meeting, whether it be online (Online CF Group), at a meeting place, UKCFUG, or just a demo'ing something on a IRC chanel you can update it here so everyone knows about it and also be able to merge it with you current calendar.
The only problem is that I'm sure that I still have to invite you to join if you want to add/edit your meetings details, but anyone can view/subscribe to it.
At the moment I've only added the next UKCFUG one for tonight so you can see it in action. If you are an event organiser (and you have a gmail/calendar accout) and you want to be able to edit drop me a line in the comments and i'll enable you to add comments.
To subscribe use one of the following links
I know this might seem a little presumptuous of me - but if you have any ideas on how to have a central location for meeting details drop me a line.
I've been playing around with creating an XML file this morning from a plain .cfm page and came across an annoyance. Now I've done this loads but this morning I was creating my own Ajax functions which meant the cfm page had to return a fully qualfied as XML which was passed into Javascripts XML parser, but Js was passing an error. The test code was simple
[xml.cfm]
The problem was CFHEADER adds a couple of blank lines to the top of the page meaning that the page did not pass as XML. Well thanks to Rob Wilkerson on CF-Talk the anser was obvious simple - use CFCONTENT
I did try a few other ways of surpressing the white space usin a variety of methods but nothing came close.
For anyone who is using Ant script to get the CFE nightly builds will need to update the srcURL property.
The srcURL should now be http://cfeclipse.org/nightly/cfeclipse_nightly.zip
Below is the updated code
I've been doing a lot of Xml work recently, but as i don't work with it much (except for config files) I tend to just use XML buddy for Eclipse, sometimes the eclipse xml parser from the WST, and XML spy Home edition as a standalone.
But now I've just found and been using XML Spy for eclipse. You can use it with the free and pro edition and gives you a lot more options than other free eclipse options.
I've been getting into ANT for the last couple days and while mucking about i've created a build.xml file for the CFE nightly build. Its nothing amazing, more of a modified version of Wayne Grahams recent Model Glue build.xml.
The code for build.xml is below, to run the file from Eclipse just put the file into any directory, update line 10 with your CFEclipse folder location, right-click and then select Run As -- Ant Build.