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

Omit attribute 'format' from SpecifLanguageText #21

Open
odungern opened this issue Nov 5, 2023 · 4 comments
Open

Omit attribute 'format' from SpecifLanguageText #21

odungern opened this issue Nov 5, 2023 · 4 comments

Comments

@odungern
Copy link
Collaborator

odungern commented Nov 5, 2023

For property values of type string, there is no reason to have formatted text in one language and plain text in another. Also there is the possibility to specify the format for a propertyClass.

Thus, omit attribute 'format' from SpecifLanguageText.

@odungern
Copy link
Collaborator Author

odungern commented Nov 6, 2023

For SpecIF Schema v1.2 this attribute has been removed. The same attribute shall be used with propertyClasses, instead. There is no effect on the power of expression.

Do only mark DEPRECATED instead?

@odungern
Copy link
Collaborator Author

odungern commented Nov 6, 2023

According to schema v1.1, the 'format' attribute of SpecifLanguageText is not only used with values of class-defined property values, but also with native attributes such as item descriptions.

So we either firmly define which native attributes are either plain or xhtml-formatted, or we allow the format attributes for those.

@odungern
Copy link
Collaborator Author

odungern commented Oct 2, 2024

'formatted' omitted from 'SpecifPropertyClass', as it is only meaningful, when a string dataType is assigned.

@odungern odungern closed this as completed Oct 2, 2024
@odungern odungern added the v1.2 label Oct 2, 2024
@odungern
Copy link
Collaborator Author

odungern commented Oct 2, 2024

Omission reversed - too many logic changes would be needed at present.

@odungern odungern reopened this Oct 2, 2024
@odungern odungern removed the v1.2 label Oct 2, 2024
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