Details

    • Type: New Feature New Feature
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: taglib.xml
    • Labels:
      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

        Activity

        Hide
        Hans Gilde added a comment -

        sorry, what output are you expecting from this?

        Show
        Hans Gilde added a comment - sorry, what output are you expecting from this?
        Hide
        Paul Libbrecht added a comment -

        Felipe, now the following works, I presume that should satisfy your wish, or?

        <foo
        xsi:schemaLocation="foo_ns maven-project.xsd"
        xmlns="foo_ns"
        xmlns:base="base_ns"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>

        also the following has been implemented thanks to the patches of Diogo Quintela:
        <x:element name="blop">
        <x:attribute name="xsi:schemaLocation"
        URI="http://www.w3.org/2001/XMLSchema-instance"
        >foo_ns maven-project.xsd</x:attribute>
        </x:element>

        One of them should help you, or ? Then please resolve issue.
        thanks

        paul

        Show
        Paul Libbrecht added a comment - Felipe, now the following works, I presume that should satisfy your wish, or? <foo xsi:schemaLocation="foo_ns maven-project.xsd" xmlns="foo_ns" xmlns:base="base_ns" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/> also the following has been implemented thanks to the patches of Diogo Quintela: <x:element name="blop"> <x:attribute name="xsi:schemaLocation" URI="http://www.w3.org/2001/XMLSchema-instance" >foo_ns maven-project.xsd</x:attribute> </x:element> One of them should help you, or ? Then please resolve issue. thanks paul
        Hide
        Felipe Leme added a comment -

        Hi Paul,

        Ok, I will try, although I can't promisse when.

        Anyway, which version of Jelly should I try? 1.0 or the cvs/svn code?

        Tks,

        – Felipe

        Show
        Felipe Leme added a comment - Hi Paul, Ok, I will try, although I can't promisse when. Anyway, which version of Jelly should I try? 1.0 or the cvs/svn code? Tks, – Felipe
        Hide
        Paul Libbrecht added a comment -

        Definitely on the current subversion state, the one of xml taglib and jelly.

        thanks

        paul

        Show
        Paul Libbrecht added a comment - Definitely on the current subversion state, the one of xml taglib and jelly. thanks paul
        Hide
        Felipe Leme added a comment -

        HIi Paul,

        I haven't had a chance to give it a try yet, but I have a question: what's Jelly current status? I mean, are there any plans to release new version of the taglibs?

        – Felipe

        Show
        Felipe Leme added a comment - HIi Paul, I haven't had a chance to give it a try yet, but I have a question: what's Jelly current status? I mean, are there any plans to release new version of the taglibs? – Felipe
        Hide
        Felipe Leme added a comment -

        HIi Paul,

        I haven't had a chance to give it a try yet, but I have a question: what's Jelly current status? I mean, are there any plans to release new version of the taglibs?

        – Felipe

        Show
        Felipe Leme added a comment - HIi Paul, I haven't had a chance to give it a try yet, but I have a question: what's Jelly current status? I mean, are there any plans to release new version of the taglibs? – Felipe
        Hide
        Paul Libbrecht added a comment -

        Felipe, Jelly is not dead but several committers are a bit... busy or tired...
        I am currently giving a few cycles to polish things out (web-site is broken, gump-tests fail,...) and would like to go further but this is all pretty limited I fear.
        Most other committers are such, I fear.

        Wishing more involvement ?? Come over... patches will be welcome!
        Checking this issue for resolvedness would be nice for example...
        Going through other bug-lists to mark doable things for both a 1.1-b1 would also be nice.

        Show
        Paul Libbrecht added a comment - Felipe, Jelly is not dead but several committers are a bit... busy or tired... I am currently giving a few cycles to polish things out (web-site is broken, gump-tests fail,...) and would like to go further but this is all pretty limited I fear. Most other committers are such, I fear. Wishing more involvement ?? Come over... patches will be welcome! Checking this issue for resolvedness would be nice for example... Going through other bug-lists to mark doable things for both a 1.1-b1 would also be nice.

          People

          • Assignee:
            Unassigned
            Reporter:
            Felipe Leme
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:

              Development