BizTalk Utilities CV ,   Jobs ,   Code library
 
Go to the front page to continue learning about XML or select below:

Contents

ReBlogger Contents

Previous posts in XML

 
 
Page 12769 of 19342

Fixing up namespaces with JAXB 2.0 and SAX

Blogger : Java Web Services and XML Features
All posts : All posts by Java Web Services and XML Features
Category : XML
Blogged date : 2006 Mar 07

Ever have some raw XML that wasn't perfectly formed? I am talking about some XML that looks good, but lacks the old xmlns="http://...". It looks great to me, but run that through JAXB 2.0 and it says it's missing a URL...I believe its an unexpected root element exception. I am a committer on OpenEJB and we are currently building an EJB 3.0 implementation. We decided to use JAXB 2.0 because its relatively lightweight (at least in comparison to other APIs such as XMLBeans). I ran into this small issue of well-formed XML when going through the persistence spec

Post comment (0)

Read comments or post a reply to : Fixing up namespaces with JAXB 2.0 and SAX
Page 12769 of 19342

Newest posts
 

    Email TopXML