Uploaded image for project: 'Commons Jelly'
  1. Commons Jelly
  2. JELLY-173

Support for XML Schema

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • taglib.xml
    • None

    Description

      There is a bug on the maven-ear-plugin regarding support to genera

      In order to fix a maven-ear-plugin bug (http://jira.codehaus.org/browse/MPEAR-30), I need to generate a XML-Schema based XML document, but looks like the taglib doesn't allow it.

      I can see 2 possible solutions:

      1.Add more attributes to the <x:element> tag. Example:

      <x:element name="application" xmlns="http://java.sun.com/xml/ns/j2ee"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/application_1_4.xsd"
      version="1.4">

      2.Create a new tag specifically for this purpose. Example:

      <x:schemaRoot name="application" xmlns="http://java.sun.com/xml/ns/j2ee"
      xsi="http://www.w3.org/2001/XMLSchema-instance"
      schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/application_1_4.xsd"
      version="1.4">

      If there is another alternative, please let me know.

      – Felipe

      Attachments

        Activity

          People

            Unassigned Unassigned
            felipeal Felipe Leme
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: