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)
  • Woodstox
  • WSTX-275

System ID with pipe character throws URISyntaxException

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: In Progress In Progress
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: 4.1.1
  • Fix Version/s: None
  • Labels:
    None
  • Testcase included:
    yes
  • Patch Submitted:
    Yes

Description

Some CMSs on Windows export XML documents in such a way that the DTD's System ID contains a '|' to "escape" the ':' after the drive letter, e.g. "file:///c|/path/to/dtd". Of course, the '|' character is not a valid URI character and therefor processing such XML with Woodstox is currently not possible (throws URISyntaxException)

It would be great if you could extend com.ctc.wstx.util.URLUtil.uriFromSystemId(String) such that it can System IDs like the above.

  • Options
    • Sort By Name
    • Sort By Date
    • Ascending
    • Descending
    • Download All

Attachments

  1. Java Source File
    patch.java
    30/Jan/12 3:18 AM
    1 kB
    Robert Barbey
  2. Java Source File
    URLUtilTest.java
    30/Jan/12 3:18 AM
    0.6 kB
    Robert Barbey

Activity

  • All
  • Comments
  • Work Log
  • History
  • Activity
There are no comments yet on this issue.

People

  • Assignee:
    Tatu Saloranta
    Reporter:
    Robert Barbey
Vote (0)
Watch (0)

Dates

  • Created:
    30/Jan/12 3:18 AM
    Updated:
    30/Jan/12 1:00 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.