Details
-
New Feature
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
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