Tag: XML

  • Panasonic HC-V750 Metadata Files

    I recently bought a Panasonic HC-V750 camcorder and I was intrigued by the additional files (.cont, pmpd and .tmb) it produces along with the video files – do they contain useful additional data?. A good googling didn’t turn up anything useful but a lot of people have wondered about them. 

  • UIInstructions cannot be cast

    I f, like me, you are getting an error message along the lines of “UIInstructions cannot be cast to org.primefaces.model.menu.MenuElement” you are in luck because here’s the answer.

  • TransformerFactor AbstractMethodError

    This little hint is perhaps a bit vague but it’s not completely clear where the problem lies but I know what fixed it.

  • XPath, JAXP and the Default Namespace

    So you’ve just finished parsing a document with your validating namespace aware document factory and you’ve gone to select some nodes using XPath and nothing has appeared (no nodes where selected). You’ve tried changing the XPath expression, making it simpler and simpler and still nothing. Chances are it’s not he XPath that’s at fault it’s…

  • Validating SAX Parser

    I’ve been working with the built in Java XML libraries quite a bit lately and one of the things I’ve noticed is that there are very few good snippets of what I call recipe code – little bits of code that show you how to complete a specific task. In this article I show you…

  • Which Java XML Library Should You Use

    In the past I have always used either JDOM or Dom4J to interact with XML but I’ve never really been overly happy with either library. JDOM is very simple to use and great for simple XML structures but as soon as you want to do something a little more complex it becomes hard work. Dom4J…

  • Pretty Printing XML with JAXP

    Java has a wide selection of built in XML handling capabilities but they are little used by most developers because they are felt, unfairly I think, to be difficult to use. I freely admit that I fell into that camp until fairly recently when I became a convert. Over the next few days I hope…

  • Using a Java Web Service Hosted Behind Apache

    I recently set up a new system running most of the software my business produces. Unlike our other sites right from the beginning all of Java servers (a mixture of Tomcat and GlassFish) will be access via Apache using Apache Tomcat Connector mod_jk. Typically we start of will one server and add Apache in later but…