On Feb 16, 2005, at 1:13 PM, Kohsuke Kawaguchi wrote: <excerpt>What XSLT engine are you using? A well-behaving XSLT engine should set a Locator object to JAXB, so that the above context.getLocator() won't return null. That's a contract defined by the SAX API. </excerpt> I'm using Xalan 2.6. I'll try another if I can (I thought Xalan was a pretty good implementation?). <excerpt>You can also work around the issue by calling getContentHandler from JAXBResult and invoke setDocumentLocator with maybe new org.xml.sax.helper(s).LocatorImpl(). </excerpt> I'll see if that does anything, too. Thanks for the tips, m@