From: SourceForge.net <no...@so...> - 2008-01-04 20:23:15
|
Bugs item #1864168, was opened at 2008-01-04 12:23 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=377768&aid=1864168&group_id=23187 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Forest (forestcarlisle) Assigned to: Nobody/Anonymous (nobody) Summary: docs with different URI variable names should be similar Initial Comment: Consider the following control document <abc:a xmlns:abc='abc'><b/></abc:a> and the following two test documents <a xmlns='abc'><b/></a> <xyz:a xmlns:xyz='abc'><b/></xyz:a> although they are not identical, they should be similar because the only difference is the URI variable name. the URI variable name is not data but only a hint to the parser on how to abbreviate the URI value, which is data and which is always 'abc'. the problem is that the diff tool reports these both as differences as follows: [not identical] Expected namespace prefix 'abc' but was 'null' - comparing <abc:a...> at /a[1] to <a...> at /a[1] [different] Expected namespace URI 'null' but was 'abc' - comparing <b...> at /a[1]/b[1] to <b...> at /a[1]/b[1] See the attached example. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=377768&aid=1864168&group_id=23187 |