XML News from Thursday, November 6, 2008

IBM's developerWorks has published my latest article, Detect XML document encodings with SAX and XNI. Sometimes when you forward XML documents, you just want to copy the bytes from point A to point B. You don't necessarily want to parse the entire thing, but you do need to determine the character encoding to set the metadata appropriately. In these cases, streaming APIs such as SAX and XNI offer a fast and efficient way to inspect the encoding without paying for full parsing. This article shows you how.