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

Problem with bad document #23

Open
SusanBrown opened this issue Mar 19, 2018 · 5 comments
Open

Problem with bad document #23

SusanBrown opened this issue Mar 19, 2018 · 5 comments
Assignees

Comments

@SusanBrown
Copy link

User lwood03 created a template document using CWRC-Writer, based on the DToC template in the cwrc documentation a week ago, swapping out the processing instructions in the template for the ones in the blank document template in github.

Today she opened it and pasted (yes!) some text into it, and when she validated got the error:
"An error occurred while trying to validate the document."

It never finishes. If she clears the error message then it continues to try to validate until she clicks "Clear" button.

[In replicating the result a second time, after this point she got the same error message even while not validating.]

We speculate that the text she pasted in was not clean and that the document is no longer well formed XML.

After this point, trying to save produced the message "Error saving document". And then the document was no longer in her list of CWRC-Writer enabled documents for her github repo. The repo is still there but CWRC-Writer no longer registers it.

Document in question is: https://github.com/lwood03/DTOC-Template/blob/master/document.xml

Was on a Mac using Chrome.


I would like to discuss how we might provide better error feedback.

@ajmacdonald
Copy link
Collaborator

I agree that better error feedback is needed.
In this particular case I don't have enough info to determine what went wrong. I just tried pasting the XML from the linked document into the edit source dialog and was able to successfully validate it afterwards.

@ilovan
Copy link
Contributor

ilovan commented Mar 27, 2018

Started a troubleshooting documentation file for GitWriter - will include instructions on how to handle deletion of the encoding description in the header.

@ilovan ilovan self-assigned this Mar 27, 2018
@jchartrand
Copy link
Collaborator

One of the comments above is that she can't see the document in her GitWriter enabled docs anymore, but I can see the document from the GitWriter, while logged in as myself:

image

and it appears to load fine into the GitWriter.

However, I think you'd also said during today's call that she'd created multiple versions of the document and that possibly just one of them couldn't be seen.
My main point here is just that the application tag (which is in her document) seems to be doing it's job, correctly filtering CWRC-enabled repos.

@SusanBrown
Copy link
Author

SusanBrown commented Mar 27, 2018 via email

@jchartrand
Copy link
Collaborator

jchartrand commented Mar 27, 2018 via email

@ilovan ilovan added the Blocked label Aug 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants