Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-4288

VDX - pretty print doesn't inform about available versions of subsystem

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Won't Do
    • Major
    • None
    • None
    • Management
    • None

    Description

      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:

      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'
      |
      |-------------------------------------------------------------------------------
      

      CC tcrawley

      Attachments

        Activity

          People

            bstansbe@redhat.com Brian Stansberry
            rsvoboda@redhat.com Rostislav Svoboda
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: