users@jaxb.java.net

Re: default namespace inconsistency?

From: Jason Harrop <jharrop_at_gmail.com>
Date: Fri, 9 May 2008 10:07:49 +1000

Try adding attributeFormDefault="qualified" elementFormDefault="qualified" ?

This should end up being reflected in package-info.java


On Fri, May 9, 2008 at 9:29 AM, MrKimi <roger_at_senanque.co.nz> wrote:
>
>
>
> Jason Harrop wrote:
>>
>> What attributes are on the schema's schema element?
>>
>
> This is in the top of the schema file:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <xsd:schema xmlns:eai="http://www.telecom.co.nz/EAI/UMTS_SOM"
> xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> targetNamespace="http://www.telecom.co.nz/EAI/UMTS_SOM">
>
> Also, in case it is relevant, the generated productorder class (the first
> un-namespaced one in the sample) looks like this:
>
> @XmlAccessorType(XmlAccessType.FIELD)
> @XmlType(name = "productOrder")
> public class ProductOrder
> extends CustomerOrder
> {
>
>
> }
>
> Shoud there be a namespace in the attributes somewhere? I'm wondering if I
> need to add something to the generation process.
>
> --
> View this message in context: http://www.nabble.com/default-namespace-inconsistency--tp17138133p17138699.html
> Sent from the java.net - jaxb users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
> For additional commands, e-mail: users-help_at_jaxb.dev.java.net
>
>