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

XmlPullParser doesn't parse correctly attributes with complex namespace

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.5.7, 6.0.0-beta3
    • 1.5.8, 6.0.0
    • wicket
    • 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

            mgrigorov Martin Tzvetanov Grigorov
            mgrigorov Martin Tzvetanov Grigorov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: