Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-22141

jboss-app.xml validate problem in JBDS 8.0.0.GA.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • 4.30.x
    • 4.2.3.Final
    • server
    • None
    • Hide

      1. In JBDS 8.0.0 create "jboss-app.xml" as below:
      ~~~
      <?xml version="1.0" encoding="UTF-8"?>
      <jboss-app xmlns="http://www.jboss.com/xml/ns/javaee"
      xmlns:xsi="htt//www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="htt//www.jboss.com/xml/ns/javaee jboss-app_7_0.xsd ">
      <distinct-name>distinct-name</distinct-name>
      <security-domain>security-domain</security-domain>
      <unauthenticated-principal>unauthenticated-principal</unauthenticated-principal>
      <library-directory>library-directory</library-directory>
      <security-role>security-role</security-role>
      <module>
      <service>service</service>
      <web>web</web>
      </module>
      </jboss-app>
      ~~~

      2. A warning shows:
      ~~~
      No grammar constraints (DTD or XML Schema) referenced in the document.
      ~~~

      Show
      1. In JBDS 8.0.0 create "jboss-app.xml" as below: ~~~ <?xml version="1.0" encoding="UTF-8"?> <jboss-app xmlns ="http://www.jboss.com/xml/ns/javaee" xmlns:xsi="htt//www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="htt//www.jboss.com/xml/ns/javaee jboss-app_7_0.xsd "> <distinct-name>distinct-name</distinct-name> <security-domain>security-domain</security-domain> <unauthenticated-principal>unauthenticated-principal</unauthenticated-principal> <library-directory>library-directory</library-directory> <security-role>security-role</security-role> <module> <service>service</service> <web>web</web> </module> </jboss-app> ~~~ 2. A warning shows: ~~~ No grammar constraints (DTD or XML Schema) referenced in the document. ~~~
    • -

    Description

      Create "jboss-app.xml" from attachment of article "https://access.redhat.com/solutions/268733" in JBDS 8.0.0, error shows:
      ~~~
      No grammar constraints (DTD or XML Schema) referenced in the document.
      ~~~

      Customer wants JBDS to validate "jboss-app.xml" correctly.

      Please let us know if it will be resolved in the next release/patch.

      Attachments

        Issue Links

          Activity

            People

              rob.stryker Rob Stryker (Inactive)
              zhangxu1324_jira xu zhang (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated: