1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2024-10-26 12:25:09 +03:00
libxml2/result/xmlid
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
..
id_err1.xml relaxed id() to not check taht the name(s) passed are actually NCName, 2004-04-18 20:55:39 +00:00
id_err1.xml.err relaxed id() to not check taht the name(s) passed are actually NCName, 2004-04-18 20:55:39 +00:00
id_err2.xml change verbosity depending on API get back to previous outputs Daniel 2005-08-25 14:03:56 +00:00
id_err2.xml.err relaxed id() to not check taht the name(s) passed are actually NCName, 2004-04-18 20:55:39 +00:00
id_tst1.xml change verbosity depending on API get back to previous outputs Daniel 2005-08-25 14:03:56 +00:00
id_tst2.xml Fix SAX2 builder in case of undefined element namespaces 2012-01-26 19:11:02 +08:00
id_tst2.xml.err adding xml:id draft support adding 4 first regression tests Daniel 2004-04-09 21:51:49 +00:00
id_tst3.xml Fix SAX2 builder in case of undefined element namespaces 2012-01-26 19:11:02 +08:00
id_tst3.xml.err parser: Introduce xmlParseQNameHashed 2023-09-29 12:43:08 +02:00
id_tst4.xml valid: Restore ID lookup 2024-07-03 11:46:06 +02:00
id_tst4.xml.err adding xml:id draft support adding 4 first regression tests Daniel 2004-04-09 21:51:49 +00:00