Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XML output does not contain JHove schema declaration #736

Closed
tofi86 opened this issue Jan 2, 2017 · 0 comments
Closed

XML output does not contain JHove schema declaration #736

tofi86 opened this issue Jan 2, 2017 · 0 comments
Assignees
Labels
type: improvement The issue suggests an improvement of an existing feature
Milestone

Comments

@tofi86
Copy link
Collaborator

tofi86 commented Jan 2, 2017

Current XML output is:

<jhove xmlns="http://hul.harvard.edu/ois/xml/ns/jhove"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	date="2012-10-31"
	name="epubcheck"
	release="4.0.0-alpha11-SNAPSHOT" >
...
</jhove>

and it does not contain the XSD schema declaration of the JHove schema.

It should better be:

<jhove xmlns="http://hul.harvard.edu/ois/xml/ns/jhove"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       date="2017-01-02"
       name="epubcheck"
       release="4.0.3-SNAPSHOT"
       xsi:schemaLocation="http://hul.harvard.edu/ois/xml/ns/jhove http://hul.harvard.edu/ois/xml/xsd/jhove/jhove.xsd">
...
</jhove>

With this addition it is possible to validate the XML output in any XML Editor.

@tofi86 tofi86 added the type: improvement The issue suggests an improvement of an existing feature label Jan 2, 2017
@tofi86 tofi86 added this to the Next milestone Jan 2, 2017
@tofi86 tofi86 self-assigned this Jan 2, 2017
@tofi86 tofi86 closed this as completed in e55039c Jan 2, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: improvement The issue suggests an improvement of an existing feature
Projects
None yet
Development

No branches or pull requests

1 participant