Ralf Hauser created AXIS2-6053:
----------------------------------

             Summary: cvc-complex-type.3.2.2: Attribute 'contentType' is not 
allowed to appear in element ...
                 Key: AXIS2-6053
                 URL: https://issues.apache.org/jira/browse/AXIS2-6053
             Project: Axis2
          Issue Type: Improvement
    Affects Versions: 1.8.2
            Reporter: Ralf Hauser


when upgrading from 2.1.78 to 2.182 the following line from my xsd unexpectedly 
caused the problem

 

   <xs:attribute ref="xmime:contentType" use="required"/>

 

where

 xmlns:xmime="http://www.w3.org/2005/05/xmlmime"; version="1.0"

 

Copying it over solved the problem.

 

==> But it would be way better if the "cvc-complex-type.3.2.2" error would give 
a hint that the "ref=" is no longer supported.

 

[https://stackoverflow.com/questions/17422175/whats-the-difference-between-ref-and-type-in-an-xml-schema]

 

https://stackoverflow.com/questions/1448888/what-does-the-ref-attribute-on-an-element-in-an-xsd-do



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscr...@axis.apache.org
For additional commands, e-mail: java-dev-h...@axis.apache.org

Reply via email to