Uploaded image for project: 'WINDUP - Red Hat Application Migration Toolkit'
  1. WINDUP - Red Hat Application Migration Toolkit
  2. WINDUP-611

Add XSD to all rules, improve the namespace

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Minor Minor
    • 2.3.0.Final
    • 2.2.0.Final
    • None
    • None

      Hi,

      the namespaces, filenames and URLs need to be informative and "scale" in the future.

      1) It needs to say windup, so people know what namespace they are dealing with.

      2) Same goes for the filename - when people download it. Therefore, rule-schema-1.0.xsd is not good IMO.

      3) I suggest to align the XSD version with the Windup core version, since the XSD describes what the core accepts.
      "1.0" is not fortunate, as people will confuse it with legacy Windup.
      The version string should be the same as Windup version, so we can automate things. Different formats are source of human errors.

      4) It doesn't need to say "schema" - XSD is saying that.

      5) It's not rule - it's a ruleset. Could be misleading.

      I suggest the URL for the current XSD to be:
      http://windup.jboss.org/schema/windup-ruleset-2.3.0.Final.xsd

      And the namespace:
      Either the same,
      http://windup.jboss.org/schema/windup-ruleset-2.3.0.Final.xsd
      or,
      http://windup.jboss.org/ns/ruleset/2.3.0.Final , and that would be handled by the site (e.g., redirect to docs).

      Sounds good?
      Ondra

            ozizka_jira Ondrej Zizka (Inactive)
            ozizka_jira Ondrej Zizka (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: