Skip to content
This repository has been archived by the owner on Jun 6, 2019. It is now read-only.

Minor bug: listing display of the xml file is post-validation #18

Open
Klortho opened this issue Aug 11, 2015 · 0 comments
Open

Minor bug: listing display of the xml file is post-validation #18

Klortho opened this issue Aug 11, 2015 · 0 comments

Comments

@Klortho
Copy link
Member

Klortho commented Aug 11, 2015

This is really a minor bug, and probably not worth addressing in the online validator. But when we produce a stand-alone validator, we should make sure it's not in it.

Right now, the listing of the XML file is from what comes out of the first pass through xmllint, which means that entities are all resolved, and other (mostly minor) differences from the original. So, the problem is that the listing doesn't match what was uploaded, and that might confuse users.

You can see this with internal-subset.xml: the copyright symbol is evaluated both in the internal subset itself, and in the body of the document. This could be fixed by passing the original XML to xpath-locator, which would mean that it, too, would have to read the DTD.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant