jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Modello
  • MODELLO-112

strict flag not considered for handling of invalid nested elements within an association list.

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.0-alpha-19
  • Fix Version/s: 1.0-alpha-20
  • Component/s: None
  • Labels:
    None
  • Complexity:
    Intermediate

Description

the bcel:bcel:5.1 POM (http://repo1.maven.org/maven2/bcel/bcel/5.1/bcel-5.1.pom) contains:

<dependencies>
  <groupId>regexp</groupId>
  <artifactId>regexp</artifactId>
  <version>1.2</version>
</dependencies>

Since the generated maven-model code expects elements named 'dependency' inside the 'dependencies' element, and doesn't consider whether the parse is being handled in strict mode or not, an XmlPullParserException is always thrown.

Same goes when you have a resource defined as:

<resource>
  <directory>blah</directory>
  <includes>
    <includes>**/*</includes>
  </includes>
</resource>

as is done in http://repo1.maven.org/maven2/org/mortbay/jetty/jsp-2.1/6.1.11/jsp-2.1-6.1.11.pom

Issue Links

is depended upon by

Bug - A problem which impairs or prevents the functions of the product. MNG-3680 POM validation fails on projects in central repo starting with 2.0.10 RCs

  • Major - Major loss of function.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.

Activity

  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
John Casey added a comment - 24/Jul/08 4:21 PM

see revIds 908 and 909. The second revision is unit testing.

Show
John Casey added a comment - 24/Jul/08 4:21 PM see revIds 908 and 909. The second revision is unit testing.

People

  • Assignee:
    John Casey
    Reporter:
    John Casey
Vote (0)
Watch (0)

Dates

  • Created:
    24/Jul/08 4:18 PM
    Updated:
    24/Jul/08 4:21 PM
    Resolved:
    24/Jul/08 4:21 PM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.