| Priority |
Normal |
| Type | Bug |
| State | Won't fix |
| Assignee | Maxim Mossienko |
| Subsystem | XML editing |
| Affected versions |
No affected versions
|
| Fixed in |
No fix versions
|
| Fixed in build |
Next build |
| Build |
7757
|
| Severity |
0
|
IDEA-18099 |
XML validation failing for Mule 2.0 config files |
|
|
<?xml version="1.0" encoding="UTF-8"?>
<mule xmlns="http://www.mulesource.org/schema/mule/core/2.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:spring="http://www.springframework.org/schema/beans"
xmlns:soap="http://www.mulesource.org/schema/mule/soap/2.0"
xmlns:cxf="http://www.mulesource.org/schema/mule/cxf/2.0"
xsi:schemaLocation="
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
http://www.mulesource.org/schema/mule/core/2.0
http://www.mulesource.org/schema/mule/core/2.0/mule.xsd
http://www.mulesource.org/schema/mule/soap/2.0
http://www.mulesource.org/schema/mule/soap/2.0/mule-soap.xsd
http://www.mulesource.org/schema/mule/cxf/2.0
http://www.mulesource.org/schema/mule/cxf/2.0/mule-cxf.xsd">
<description>
This config builds a JAX-WS service with CXF.
We use a "serviceClass" which is a JAX-WS interface we've
defined. It allows us
To invoke the EchoUMO hit the following URL -
http://localhost:65081/services/EchoUMO?method=echo&param=Is there
an echo?
(remember to replace the '&' with an ampersand)
To view the WSDL for the EchoUMO service go to -
http://localhost:65081/services/EchoUMO?wsdl
</description>
<model name="echoSample">
<service name="EchoUMO">
<inbound>
<cxf:inbound-endpoint
address="http://localhost:65082/services/EchoUMO"
serviceClass="org.mule.example.echo.Echo"/>
</inbound>
<echo-component/>
</service>
</model>
</mule>
Here's some more info from Daniel Feist:
The XML editor auto-complete functionality show elements from other namespace which are valid in the current context via the use of XML schema abstract elements and substitution groups.
HTH,
Andrew
which is probably the cause of your problem, guess this should be raised against the mule team
{code:xml}
<?xml version="1.0" encoding="UTF-8"?>
<mule xmlns="http://www.mulesource.org/schema/mule/core/2.0"
xmlns:management="http://www.mulesource.org/schema/mule/management/2.0"
xmlns:spring="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.mulesource.org/schema/mule/core/2.0 http://www.mulesource.org/schema/mule/core/2.0/mule.xsd
http://www.mulesource.org/schema/mule/management/2.0 http://www.mulesource.org/schema/mule/management/2.0/mule-management.xsd
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd">
<
However, auto-completion for element names doesn't work.
-->
<!
<management:></mule>
{code}
Check the comments for 2 scenarios. This is a demo with substitution groups in XML schemas, which are valid schemas btw. E.g. other commercial xml-dedicated editors like Oxygen XML work perfectly with them and provide auto-completion.
<xsd:import namespace="http://www.springframework.org/schema/beans" schemaLocation="http://www.springframework.org/schema/beans"/>
IDEA simply has the same requirement.