• Show log

    Commit

  • Hash : 842a0448
    Author : Nick Wellnhofer
    Date : 2024-07-03T11:46:06

    valid: Restore ID lookup
    
    Revert a change from d025cfbb and don't overwrite ID table entries, so
    that the first attribute will be returned if there are duplicate IDs.
    
    This requires two other changes:
    
    - Attributes in entity content are never added to the ID table. This
      seems reasonable.
    
    - Remove the optimization to skip ID lookup when copying and the target
      document has an empty ID table. This also seems more correct since the
      document could have ID declarations nevertheless or we could be
      copying xml:ids into the document for the first time.
    
    Fixes #757.