XML external entities bug in CF

by kai on 17/05/2006

I've experienced a strange behaviour in CF when dealing with external XML entities. What I wanted to do was basically to break down an XML document into several smaller chunks of XML. Shouldn't be too difficult, hmmm? I had two xml files, both located in the same folder: a.xml: &config; b.xml: abc Following the…

Read the full article →

XML parsing error

by kai on 16/05/2006

Ever ended up with the following error? "An error occured while Parsing an XML document. The processing instruction target matching "" is not allowed." It happened to me today when I was trying to parse a highly complex chunk of XML with XMLParse(). Eventually I found out that it came down to basically a SAXParseException and it was reasonably easy to solve by changing my code…

Read the full article →

Mystic beta 3 and Multiserver installations

by kai on 14/05/2006

Today I was trying to set up Mystic beta 3 for my multiserver configuration on my work machine. I run CF 7, Flex 1.5 and some more instances containing Java apps on JRun 4 (Windows box, default installation on C drive). When I was stepping through the installation wizard of Mystic all was fine up to the point when I had to decide for standalone or multiserver. I know that standalone works fine,…

Read the full article →

CFLOGIN madness

by kai on 12/05/2006

Something really interesting - well, at least if you try to fix it and it doesn't work :)... I've tried to use GetAuthUser() within a new ModelGlue application I'm just writing. The idea was to put the username of the person currently logged in into the event by using arguments.event.setValue within a controller method. For whatever reason it stayed blank and contained the correct user not before…

Read the full article →

Back to BIB

by kai on 12/05/2006

It was rather quiet during the last 1.5 months. Well, sorry for that, some things regarding life outside internet and web caught my attention :-) Basically I was really busy continuing our settlement process in New Zealand, got a mortgage, bought a house and got some visa conditions removed. But now, I'm pretty much ready to continue :)

The flow

by kai on 30/03/2006

For some reason, I'm really keen on blogging today. One of those days... anyway - after contributing some stuff to ZeroOne's teamblog theword today, I need to post at least one new entry over here... BTW: Make sure to read my post on Outsourcing to New Zealand :-) This one is about 'the flow'. If you're a developer you might know it - it's the mood you're getting into when coding - in an ideal…

Read the full article →

RDS plugin for Eclipse: first thoughts

by kai on 26/03/2006

You might have noticed that Adobe released an RDS plugin for Eclipse. It's officially known as a "ColdFusion Extension for Flex Builder 2.0", but at least the recent version works totally smoothly without Flex Builder 2.0 beta but with CF Eclipse. As it seems that there was some confusion around it regarding the required (CF)Eclipse version etc., I'm running Eclipse 3.1.1 and a nightly build of…

Read the full article →

JSON

by kai on 10/03/2006

I've never heard about JSON until some weeks ago when I was reading an article on web services and data exchange that mentioned JSON. Actually it is a pretty cool mechanism to serialize complex data structures for data exchange or storage purposes. I hear you saying..."Well, we have that in ColdFusion already, it's called WDDX". Right - good point. Let's have a closer look: - WDDX is built into…

Read the full article →

Geocaching

by kai on 08/03/2006

Finally, we've started geocaching. I bought a basic Garmin GPS device (eTrex Legend) last week in Australia and it worked out fine. The other night I was thinking about getting an additional maps, containing more details. I was pretty close to buying a mappack but then I found the New Zealand Open GPS Map Project for Garmin. Awesome stuff of very high quality!