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
Spec jakartification #255
Spec jakartification #255
Conversation
First draft of jakartified spec is done. Please review. |
Signed-off-by: Dmitry Kornilov <dmitry.kornilov@oracle.com>
Reviewing. Going to post review comments in small chunks as I review so that they can be addressed with agility. Page 15: Has a TOC formatting issue where chapter name overlaps page number. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See comments
Page 26 (doc page 11): bullet points for Page 27 (doc page 12): bullet points for Page 28 (doc page 13): Another footnote (10, 11, 12) rendering issue? (by footnote rendering issue, I am referring to footnote info being embedded in the referring paragraph, rather than being located at the bottom of the page.) |
@jgrassel I know about it and tried to find a solution. Unfortunately, the version of pdf toolkit we are using renders footnotes in pdf only this way. It may be fixed in the latest pdf toolkit version, because I've seen comments that this change has been committed to |
@jgrassel I am suggesting you reviewing the html version. It has the correct footnotes rendering. |
I was wondering, the footnote was one of the reasons I decided to small-chunk my review, in case it was a tool limitation. No sense in further mentioning it in subsequent review comments. |
PDF page 30/Doc Page 15: PDF page 31/Doc Page 16: PDF page 32/Doc Page 17: PDF page 33/Doc Page 18: PDF page 34/Doc Page 19: PDF page 35/Doc Page 20: PDF page 36/Doc Page 21: PDF page 37/Doc Page 22: PDF page 38/Doc Page 23: PDF page 39/Doc Page 24: |
PDF page 43/Doc Page 28: bullet points for PDF page 44/Doc Page 29: bullet points for |
PDF page 45/Doc Page 30: should be italicized: |
@jgrassel I investigated the problem with orphaned text and it looks like it's not possible to fix it. Asciidoc doesn't provide any mechanism to say that some blocks should keep together. There are feature requests on their bugs tracker, but as I understand it cannot be solved with pdf converter they use. |
Signed-off-by: Dmitry Kornilov <dmitry.kornilov@oracle.com>
Noted. I'll omit mentioning orphans as I continue my review. |
PDF page 50/Doc Page 35: The JPA 2.2 Spec contains: The JPA 3.0 Spec contains:
|
PDF page 62/Doc Page 47:
PDF page 63/Doc Page 48:
Just bringing to attention the difference in footnote rendering here, it clearly references footnote #2, but doesn't print the footnote body. This stresses the need for the asciidoctor tool to better render footnotes (in PDF) in order to keep their use consistent:
|
PDF page 64/Doc Page 49: This is likely a (mac?) font rendering issue, as it looks like '|' symbols are being used instead of the normal '\' symbol for escaping. I say font rendering because copy/pasting to here shows the character to be the expected \ (edited the following with | symbols to show what it visually looks like on screen to me):
|
PDF page 67-85/Doc Page 51-70: The EntityManager API code block has artifacts such as <p>, <code>, basically javadoc instructions which are not going to be processed by Asciidoctor -- should remove these elements if they cannot be processed in a codeblock. In fact, this part looks like a copy/paste from EntityManager.java rather than a copy from the original PDF, as there is a lot more comments than what is in the JPA 2.2 spec. Do we want to leave all these extra comments in the 3.0 spec doc, or do we want to slim it down to be more like the 2.2 spec doc? PDF page 78-79/Doc Page 63-64: Missing footnotes [26] and [27] as seen on the JPA 2.2 spec. (Nevermind: I spotted them as Info-attention getters following the end of the code block. I'll leave this comment in here for other reviewers to take note so they won't jump at it either.) |
PDF page 85/Doc Page 70: PDF page 90/Doc Page 75: PDF page 93/Doc Page 78: |
PDF page 97/Doc Page 82: PDF page 98/Doc Page 83: PDF page 99/Doc Page 84: PDF page 102/Doc Page 87: PDF page 103/Doc Page 88: |
PDF page 106/Doc Page 91: PDF page 114/Doc Page 99: |
PDF page 115/Doc Page 100:
|
PDF page 116/Doc Page 101:
PDF page 121/Doc Page 106:
PDF page 126/Doc Page 111:
PDF page 129/Doc Page 114:
|
PDF page 422/Doc Page 407:
should be:
|
PDF page 423/Doc Page 408:
PDF page 425/Doc Page 410:
PDF page 426/Doc Page 411:
PDF page 427/Doc Page 412:
PDF page 428/Doc Page 413:
PDF page 429/Doc Page 414:
|
PDF page 430/Doc Page 415:
PDF page 431/Doc Page 416:
|
PDF page 432/Doc Page 417:
PDF page 433/Doc Page 418:
PDF page 434/Doc Page 419:
|
PDF page 435/Doc Page 420:
PDF page 436/Doc Page 421:
|
PDF page 437/Doc Page 422:
PDF page 438/Doc Page 423:
PDF page 439/Doc Page 424:
PDF page 440/Doc Page 425:
|
PDF page 441/Doc Page 426:
|
PDF page 442/Doc Page 427:
PDF page 443/Doc Page 428:
PDF page 444/Doc Page 429:
PDF page 445-446/Doc Page 430-431:
|
PDF page 447/Doc Page 432:
|
PDF page 448/Doc Page 433:
to
|
PDF page 449/Doc Page 434:
|
PDF page 466/Doc Page 451:
PDF page 480/Doc Page 465:
|
PDF page 566/Doc Page 551:
PDF page 588/Doc Page 573:
PDF page 599/Doc Page 584:
PDF page 612/Doc Page 597:
|
I'm providing a copy of the PDF that I built and used for my review, so that you can locate my proofreading comments with your version of the document. And that concludes my review. |
@m0mus let me know when you've instrumented my recommended changes and have an updated doc for me to review. Thanks! |
@jgrassel Thanks for your reviews! I didn't have time to work on the doc in the last weeks. I'm planning coming back to this work next week. |
In this case it's not a footnote, but a bibliography reference. |
|
Unfortunately, it's not possible to have footnotes in code blocks. |
No |
Signed-off-by: Dmitry Kornilov <dmitry.kornilov@oracle.com>
I thought there was a way to specify the language for the code block? |
Wow, @jgrassel, that's a lot of feedback! I think in most cases it would be faster to correct the problem than it would be to type up a Personally, I would not worry about whether the document uses the same font style as the The goal right now is to NOT turn this into a "too big to do" project, but rather to find a small |
There are no options for BNF. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No description provided.