On Thu, Nov 26, 2009 at 3:15 PM, <david_at_davidkarlsen.com> wrote:
> Hi!
>
> I have a schema (a SEPA PACS002 one) which is defined as
> elementFormDefault="qualified"
>
> Hence when I marshal and object instance to XML all the elements are
> qualified with a namespace prefix.
>
Do I have to write a NamespacePrefixFormatter to get them unqialified? I
> cannot seem to find any options for the Marshaller to get this OOTB.
>
> The other alternative of course, is to change the elementQualification in
> the schema - but as these are external I'd rather try to avoid that ( and it
> would be nice to control it at runtime - to be able to support both forms if
> neccessary).
>
> Does this change really remove the NS prefixes from the marshalled XML?
If not, please post the <xs:schema> element in full.
-W
>
>
> --
> David J. M. Karlsen - +47 90 68 22 43
> http://www.davidkarlsen.com
> http://mp3.davidkarlsen.com
> Sent from my bog-standard SMTP client
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
> For additional commands, e-mail: users-help_at_jaxb.dev.java.net
>
>