![]() |
|
|
Issue Type:
|
Bug
|
Affects Versions:
|
xml-maven-plugin 1.0 |
Assignee:
|
Jochen Wiedmann
|
Components:
|
xml |
Created:
|
12/Nov/12 5:57 PM
|
Description:
|
I'm trying to validate a geronimo application file (http://geronimo.apache.org/xml/ns/j2ee/application-2.0) this defines a security tag that is abstract. The abstract security tag is implemented in either http://geronimo.apache.org/xml/ns/security-2.0 or http://geronimo.apache.org/xml/ns/security-2.0. Mapping one to the prefix sec and using it results in:
cvc-complex-type.2.4.a: Invalid content was found starting with element 'sec:security'. One of '{"http://geronimo.apache.org/xml/ns/j2ee/application-2.0":module, "http://geronimo.apache.org/xml/ns/j2ee/application-2.0":ext-module, "http://geronimo.apache.org/xml/ns/j2ee/application-2.0":security, "http://geronimo.apache.org/xml/ns/deployment-1.2":service}' is expected.
It would seem that the plugin does not properly detect a abstract tag implementation.
Not surprisingly, specifying "http://geronimo.apache.org/xml/ns/j2ee/application-2.0":security as suggested in the error results in:
cvc-type.2: The type definition cannot be abstract for element security.
It would appear that the plugin cannot handle abstract elements properly.
|
Environment:
|
linux amd64 maven 3.0.4 openjdk 6 1.6.0_18
|
Project:
|
Mojo
|
Priority:
|
Major
|
Reporter:
|
Ed Schaller
|
|
|
|
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
|
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email