users@jaxb.java.net

Re: generating DOCTYPE in Marshalled XML

From: Ryan Shoemaker - JavaSoft East <Ryan.Shoemaker_at_Sun.COM>
Date: Fri, 30 Jan 2004 11:01:28 -0500

Nick Pellow wrote:

> Hi,
>
> Has anyone here been able to set a DOCTYPE
> in the xml that jaxb generates?
>
> something that looks like:
>
>
> <!DOCTYPE APITK_Request SYSTEM "http://www.server.com/dtd/apitk_V3.2.dtd">
>
> just after the
> <?xml version="1.0" ...
> line.
>

Nick,

Make sure you're running JAXB v1.0.2 (JWSDP v1.3) or one of
our weekly builds and then read the release notes[1] for a
description of how to do this.

--Ryan

[1] http://java.sun.com/webservices/docs/1.3/jaxb/vendorProperties.html#xmldecl



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
For additional commands, e-mail: users-help_at_jaxb.dev.java.net