You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Problem occurred when trying to test an EpiDoc document (ISicily)
Steps to Reproduce (for bugs)
a. Loaded a new document from user JonPrag (Jonathan) (iSicily/inscriptions)
or
b. Uploaded an inscription file that Jonathan sent
or
c. Pasted an EpiDoc xml into the text box
Validated the resulting file
Result: The file validates against the CWRC Tei schema instead of the schema declared in the opened/uploaded/pasted file (Epidoc)
Went to settings to check schema association
Result: The schema dropdown shows "CWRC TEI lite" as the schema
Clicked on "Add new schema" and inputed the label and URL for the EpiDoc schema; hit "Add"
Result: EpiDoc Schema is added to the dropdown list
Selected the schema from the schema dropdown and hit "Apply"
Result:
Also, the document would not save anymore (hitting on save doesn't do anything anymore
Go back to "load document"
Selected another inscription from Jonathan's repository
Hit "Validate"
Result: File validates against the right schema.
Check of schema in the settings schema dropdown shows EpiDoc as the selected schema.
Go back to "load document" and randomly load another document that is not an inscription
Go back to "load document" and load another inscription from JonPrag/ISicily /inscriptions
Result: Document loads, but
Hit "Validate"
Result: File validates against the right schema, which is also selected in the settings schema dropdown
Expected Behaviour
Ideally, upon loading a document associated with an "external" schema, the user shouldn't have to add it to settings dropdown (this should be done automatically by CWRC Writer and the validation should be run against the schema declared in the document, not against the CWRC TEI lite schema
The text was updated successfully, but these errors were encountered:
Even if the schema were located at an HTTPS URL, we'd still get a CORS error. So, we need a proxy in any case. I'm fairly certain this issue has been raised before.
Problem occurred when trying to test an EpiDoc document (ISicily)
Steps to Reproduce (for bugs)
or
b. Uploaded an inscription file that Jonathan sent
or
c. Pasted an EpiDoc xml into the text box
Result: The file validates against the CWRC Tei schema instead of the schema declared in the opened/uploaded/pasted file (Epidoc)
Result: The schema dropdown shows "CWRC TEI lite" as the schema
Result: EpiDoc Schema is added to the dropdown list
Result:
Also, the document would not save anymore (hitting on save doesn't do anything anymore
Result: File validates against the right schema.
Check of schema in the settings schema dropdown shows EpiDoc as the selected schema.
Result: Document loads, but
Result: File validates against the right schema, which is also selected in the settings schema dropdown
Expected Behaviour
Ideally, upon loading a document associated with an "external" schema, the user shouldn't have to add it to settings dropdown (this should be done automatically by CWRC Writer and the validation should be run against the schema declared in the document, not against the CWRC TEI lite schema
The text was updated successfully, but these errors were encountered: