Grails
  1. Grails
  2. GRAILS-5152

add namespace defintion in XML converter

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Converters
    • Labels:
      None

      Description

      XML converter renders objects with "simple" xml, ie
      <book id="1"><title>Life</title></book>

      In order to integrate with some other tools (Apache ODE), it is necessary to add a namespace to identify data type definition. The output should be like

      <book xmlns="http://www.example.org/myapp" id="1"><title>Life</title></book>

      the namespace could be defined at application level (Config.groovy) or domain class level (as an attribbute ?)

      Thanks you

        Activity

        Hide
        Uwe Hale added a comment -

        Namespace support should be a integrated part of any web app framework that deals with xml.

        Show
        Uwe Hale added a comment - Namespace support should be a integrated part of any web app framework that deals with xml.

          People

          • Assignee:
            Siegfried Puchbauer
            Reporter:
            Richard Vigniel
          • Votes:
            4 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Last Reviewed:

              Development