1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-01-27 14:03:36 +03:00
Nick Wellnhofer 842a044831 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.
2024-07-03 11:46:06 +02:00
..
2022-04-04 04:18:07 +02:00
2022-12-13 01:43:49 +01:00
2023-08-29 18:43:10 +02:00
2024-07-03 11:46:06 +02:00
2013-03-11 15:59:21 +08:00
2013-03-11 15:59:21 +08:00
2000-08-27 21:12:29 +00:00
2000-08-27 21:12:29 +00:00
1999-06-02 17:44:04 +00:00
1999-06-02 17:44:04 +00:00
1999-06-02 17:44:04 +00:00
1999-06-02 17:44:04 +00:00
1999-06-02 17:44:04 +00:00
2001-04-10 16:38:06 +00:00
2001-04-10 16:38:06 +00:00
2001-04-10 16:38:06 +00:00
2001-04-10 16:38:06 +00:00
2001-04-10 16:38:06 +00:00
1999-06-02 17:44:04 +00:00
2023-10-06 12:28:59 +02:00
2023-10-06 12:28:59 +02:00
2001-04-10 16:38:06 +00:00
1999-06-02 17:44:04 +00:00