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

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development