Author: dkulp
Date: Thu Jan 14 19:00:58 2010
New Revision: 899358
URL: http://svn.apache.org/viewvc?rev=899358&view=rev
Log:
[CXF-2605] Make sure form="qualified" is put on the element if the form
should be qualified and the schema is not.
Modified:
cxf/trunk/rt/frontend/simple/src/main/java/org/apache/cxf/service/factory/ReflectionServiceFactoryBean.java
Modified:
cxf/trunk/rt/frontend/simple/src/main/java/org/apache/cxf/service/factory/ReflectionServiceFactoryBean.java
URL:
http://svn.apache.org/viewvc/cxf/trunk/rt/frontend/simple/src/main/java/org/apache/cxf/service/factory/ReflectionServiceFactoryBean.java?rev=899358&r1=899357&r2=899358&view=diff
==============================================================================
---
cxf/trunk/rt/frontend/simple/src/main/java/org/apache/cxf/service/factory/ReflectionServiceFactoryBean.java
(original)
+++
cxf/trunk/rt/frontend/simple/src/main/java/org/apache/cxf/service/factory/ReflectionServiceFactoryBean.java
Thu Jan 14 19:00:58 2010
@@ -1334,6 +1334,7 @@
mpi.setElementQName(newName);
mpi.setConcreteName(newName);
XmlSchemaUtils.setElementQName(el, newName);
+ el.setForm(new XmlSchemaForm(XmlSchemaForm.QUALIFIED));
}
if (Collection.class.isAssignableFrom(mpi.getTypeClass())