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

namespace default segment and token elements by default #14

Open
balmas opened this issue May 22, 2014 · 1 comment
Open

namespace default segment and token elements by default #14

balmas opened this issue May 22, 2014 · 1 comment

Comments

@balmas
Copy link
Contributor

balmas commented May 22, 2014

with plain text (and maybe or non-namespaced xml input, not sure), the default s and w elements in the segtok output is not namespaced. I think since the defaults are explicitly TEI tags, the service should always namespace them in the TEI namespace. This will ensure consistent results regardless of the input.

@balmas
Copy link
Contributor Author

balmas commented May 23, 2014

was thinking to fix this while working on the support for POST but after looking at the code, I think I'll wait. Really probably ought to switch to using a namespace-aware XML library for working with the XML - fixes to the current code would be horribly hackish.

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

1 participant