| View: | [ 2009 | 2008 | 2007 | 2006 | 2005 | 2004 | 2003 ] |
| Articles |
- Deal with errors in XML parsing by Brett D. McLaughlin - [Clicks: 1]
With the ease of XML parsing in the newer Java language APIs, from JAXP to JAXB to JAX-WS, XML parsing has become foundational to Java programming. But with the abstractions and higher-level APIs comes an apparent loss of control over the fine-grained interactions between a parser and your XML data. This typically leads to more errors or worse, a complete halt of parsing when even the smallest problem arises. Fortunately, the Simple API for XML (SAX) still provides an easy-to-use means of dealing with errors and you can access that mechanism even when you don't use SAX directly.
http://www.ibm.com/developerworks/xml/library/x-saxerror.html - Jul, 2008 - Working with XML and Java by Rob Lybarger - [Clicks: 27]
Learn how to load and process an XML document using only the standard Java API, and then see how to simplify matters with XPath expressions.
http://www.developer.com/java/data/article.php/3719116 - Jan, 2008