Details

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

      Operating System: other
      Platform: Other

    • Bugzilla Id:
      2892

      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; }

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jlschwab@club-internet.fr Jean-Luc Schwab
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: