Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-4679

XmlPullParser doesn't parse correctly attributes with complex namespace

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.5.7, 6.0.0-beta3
    • Fix Version/s: 1.5.8, 6.0.0
    • Component/s: wicket
    • Labels:
      None

      Description

      Having a markup like:
      <a class="addthis_button_google_plusone_badge" g:plusone:size="smallbadge" g:plusone:href="https://plus.google.com/25252/"></a> causes XmlPullParser to throw the following exception:

      java.text.ParseException: Same attribute found twice: g:plusone (line 19, column 100)
      at org.apache.wicket.markup.parser.XmlPullParser.parseTagText(XmlPullParser.java:673)
      at org.apache.wicket.markup.parser.XmlPullParser.next(XmlPullParser.java:294)
      at org.apache.wicket.markup.parser.filter.RootMarkupFilter.nextElement(RootMarkupFilter.java:58)
      .....

        Attachments

          Activity

            People

            • Assignee:
              mgrigorov Martin Grigorov
              Reporter:
              mgrigorov Martin Grigorov
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: