[jira] [Updated] (AXIS2-6053) cvc-complex-type.3.2.2: Attribute 'contentType' is not allowed to appear in element ...

"Robert Lazarski (Jira)" <[email protected]>
Newsgroups gmane.text.xml.axis.devel
Message-ID <[email protected]>
     [ https://issues.apache.org/jira/browse/AXIS2-6053?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Lazarski updated AXIS2-6053:
-----------------------------------
    Fix Version/s: 2.0.1

> 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
>            Priority: Major
>             Fix For: 2.0.1
>
>
> 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)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.