[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kandula-dev
Subject:    [jira] [Created] (AXIS2-6053) cvc-complex-type.3.2.2: Attribute 'contentType' is not allowed to appe
From:       "Ralf Hauser (Jira)" <jira () apache ! org>
Date:       2023-01-22 6:54:00
Message-ID: JIRA.13520916.1674370381000.341650.1674370440007 () Atlassian ! JIRA
[Download RAW message or body]

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-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic