XML
-
Core Java
How to Parse an XML Fragment into a Document Node in Java
Working with XML in Java can be essential in a variety of applications. In many cases, we may need to…
Read More » -
Core Java
Understanding Invalid Characters in XML
XML, the Extensible Markup Language, is a fundamental building block for data exchange and configuration files. But like any language,…
Read More » -
Enterprise Java
JSON and XML: How Do They Compare?
JSON and XML: How Do They Compare? JSON and XML are two human-readable text formats that have emerged as rivals…
Read More » -
Software Development
A canonical XML test
I recently did a few days of TDD training for a client. They asked me to help them test and…
Read More » -
Enterprise Java
An introduction to working with JAXB
I am in the process of migrating a few modules that are dependent on Apache XMLBeans to JAXB. It has been…
Read More » -
Enterprise Java
JAXB and Log4j XML Configuration Files
Both Log4j 1.x and Log4j 2.x support use of XML files to specify logging configuration. This post looks into some…
Read More » -
Core Java
JAXB Is Doing It Wrong; Try Xembly
JAXB is a 10-year-old Java technology that allows us to convert a Java object into an XML document (marshalling) and…
Read More » -
Core Java
Validating XML Against XSD(s) in Java
There are numerous tools available for validating an XML document against an XSD. These include operating system scripts and tools…
Read More » -
Software Development
XML Manipulation With XML Copy Editor
The XML document format, created in 1996, is still widely used to facilitate communication between disparate systems (though for certain…
Read More »