[
https://issues.jboss.org/browse/WFCORE-4288?page=com.atlassian.jira.plugi...
]
Brian Stansberry moved JBEAP-7867 to WFCORE-4288:
-------------------------------------------------
Project: WildFly Core (was: JBoss Enterprise Application Platform)
Key: WFCORE-4288 (was: JBEAP-7867)
Workflow: GIT Pull Request workflow (was: CDW with loose statuses v1)
Component/s: Management
(was: Management)
Target Release: (was: 7.backlog.GA)
Affects Version/s: (was: 7.1.0.DR9)
VDX - pretty print doesn't inform about available versions of
subsystem
-----------------------------------------------------------------------
Key: WFCORE-4288
URL:
https://issues.jboss.org/browse/WFCORE-4288
Project: WildFly Core
Issue Type: Enhancement
Components: Management
Reporter: Rostislav Svoboda
Assignee: Brian Stansberry
Priority: Major
VDX - pretty print doesn't inform about available versions of subsystem
* open standalone.xml
* locate webservices subsystem
* change xmlns version to one with unavailable xsd - e.g. {{<subsystem
xmlns="urn:jboss:domain:webservices:1.8">}}
* run standalone.sh
Server inform just about unexpected element.
Pretty print should provide info about latest available version.
I think it's not necessary to provide info about all xsd versions for subsystem as we
transform configuration to latest.
Output:
{code}
OPVDX001: Validation error in standalone.xml -----------------------------------
|
| 378: </filters>
| 379: </subsystem>
| 380: <subsystem xmlns="urn:jboss:domain:webservices:1.8">
| ^^^^ Unexpected element '{urn:jboss:domain:webservices:1.8}subsystem'
|
| 381: <wsdl-host>${jboss.bind.address:127.0.0.1}</wsdl-host>
| 382: <endpoint-config name="Standard-Endpoint-Config"/>
| 383: <endpoint-config name="Recording-Endpoint-Config">
|
| The primary underlying error message was:
| > ParseError at [row,col]:[380,9]
| > Message: Unexpected element
| > '{urn:jboss:domain:webservices:1.8}subsystem'
|
|-------------------------------------------------------------------------------
{code}
CC [~tcrawley]
--
This message was sent by Atlassian Jira
(v7.12.1#712002)