-
Notifications
You must be signed in to change notification settings - Fork 11
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
Add xml:space attribute for WN-LMF format #70
Comments
I don't see why we can't add this, it seems a fairly easy modification that would not affect backwards compatibility. Should this be only on the Our assumption is that most examples/definitions do not preserve spacing, right? |
Also maybe
I think so. I was wondering if things like poetry that need some whitespace formatting might end up in an example or definition, but that seems unlikely. |
Does this PR fix the issue in a way that works for you @goodmami ? |
@jmccrae thanks, partially, but I think I was being unclear:
I should have said "something to consider" instead of "good". Also, I was trying to say that we don't need it for the elements listed above. Furthermore, |
Okay, I have updated the PR. Thanks for the comment |
If a wordnet author wishes to ensure whitespace is preserved in things like examples, definitions, etc. in the WN-LMF format, they should use the
xml:space
attribute with the value"preserve"
, but this attribute must be declared in the schema if it is to be used in a valid document. See goodmami/wn#151 (comment) for further discussion.I'm not advocating for or against this attribute's inclusion as I don't know if there's a real need, but just raising the issue for discussion since it came up in goodmami/wn#151.
The text was updated successfully, but these errors were encountered: