users@jaxb.java.net

Re: default namespace inconsistency?

From: MrKimi <roger_at_senanque.co.nz>
Date: Thu, 8 May 2008 16:29:27 -0700 (PDT)

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.