Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.0
    • Fix Version/s: None
    • Labels:
      None
    • Environment:

      Operating System: other
      Platform: Other

      Description

      The elements of a simple xml file (no DOCTYPE declaration, so without
      validation) doesn't match with rules. The parser is Xerces 1.3.1.
      Example of simple xml file :
      <commands>
      <command name="ecranbouesan" class="SampleCommand" />
      <command name="ecranvjpluviometries" class="SampleCommand" />
      ...
      </commands>

      Solution : uses qualified name if local name is empty (in startElement() method
      of Digester class).

      // Compute the current matching rule
      if (localName.length() > 0)

      { if (match.length() > 0) match += "/" + localName; else match = localName; }

      else

      { if (match.length() > 0) match += "/" + qName; else match = qName; }

        Activity

        Henri Yandell made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Henri Yandell made changes -
        Affects Version/s 1.0 Final [ 12311808 ]
        Henri Yandell made changes -
        Affects Version/s 1.0 Final [ 12311651 ]
        Component/s Digester [ 12311111 ]
        Assignee Craig McClanahan [ craig.mcclanahan@sun.com ]
        Key COM-5 DIGESTER-54
        Project Commons [ 12310458 ] Commons Digester [ 12310471 ]
        Henri Yandell made changes -
        Field Original Value New Value
        issue.field.bugzillaimportkey 2892 12340156
        Jean-Luc Schwab created issue -

          People

          • Assignee:
            Unassigned
            Reporter:
            Jean-Luc Schwab
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development