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)
  • Plexus Utils
  • PLXUTILS-60

XmlStreamReader barfs at attribues named .*encoding

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Blocker Blocker
  • Resolution: Fixed
  • Affects Version/s: 1.4.3, 1.4.4, 1.4.5, 1.4.6, 1.4.7, 1.4.8, 1.4.9
  • Fix Version/s: 1.5
  • Labels:
    None

Description

The class fails at reading following XML content:

<?xml version='1.0' encoding='UTF-8'?><element attr-encoding='attribute value'/>

it causes
java.io.UnsupportedEncodingException: ATTRIBUTE VALUE

the regexp used to extract encoding value in XML prolog is wrong, and extracts wrong content...

Issue Links

is depended upon by

Bug - A problem which impairs or prevents the functions of the product. MNG-3316 Barfs at attribues named .*encoding

  • Blocker - Blocks development and/or testing work, production could not run
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.
relates to

Task - A task that needs to be done. MSITE-242 remove copy of plexus-utils sources from site plugin sources since it is a dependency

  • 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
Herve Boutemy added a comment - 12/Jan/08 2:57 AM

fixed in r7158, which should be released in plexus-utils 1.5

Show
Herve Boutemy added a comment - 12/Jan/08 2:57 AM fixed in r7158, which should be released in plexus-utils 1.5

People

  • Assignee:
    Herve Boutemy
    Reporter:
    Herve Boutemy
Vote (1)
Watch (1)

Dates

  • Created:
    09/Jan/08 4:36 PM
    Updated:
    02/Feb/08 3:28 PM
    Resolved:
    12/Jan/08 2:57 AM
  • 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.