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

Error codes on p:archive and p:archive-manifest #564

Open
xml-project opened this issue May 9, 2024 · 1 comment
Open

Error codes on p:archive and p:archive-manifest #564

xml-project opened this issue May 9, 2024 · 1 comment

Comments

@xml-project
Copy link
Member

If I understand the consensus for issue #561 right, then p:archive is expected to raise XC0081 if the document appearing on port "archive" is not in the format (implicitly) defined by option format. XC0085 is reserved to other error conditions with the archive.

The same case can appear on p:archive-manifest, but there the error code XC0085 is expected. I propose to add XC0081 also to p:archive manifest with the same error text as for p:archive. As a consequence the error test for XC0085 for p:manifest should be changed as proposed by @gimsieke for p:archive.

Does this make sense? Or did I miss some aspects where the difference makes sense.

Hint: Test "ab-archive-manifest-006.xml " is related.

@ndw
Copy link
Collaborator

ndw commented May 9, 2024

Yes, I think that makes sense.

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

No branches or pull requests

2 participants