Conversation
This will make sure that when we convert to asciidoc the right language is used (right now the default is JAVA)
…coding expected file names
…ch as 'tck-testable'
…ecorations Matching: \+\+([^\+]+)\+\+ To: +$1+
…manual reverts The regex: \+(.+?)\+ Exceptions to be careful about (reverting manually): @pattern(regexp="[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,4}"), //email <xs:pattern value="[0-9]+(\.[0-9]+)*"/>
… on the list are actually different lists
|
Looks great overall; Awesome work! Some minor comments:
|
…resenting a vararg parameter
Great point, and found several more of those. Added a commit to address this: d9d5c57 |
That's an example of why some things are highly puzzling: the markup seems correct to me, but it's not rendering as expected. |
|
Fixed that broken markup; had to add an additional space 👎 Also made sure new chapters would start on a new page for PDF. |
Yes many examples have that same issue. I don't think I can fix that unless we change the Java code of the spec API to workaround it ;-) |
I actually like it, if any it's not wide enough for my personal preferences. I just hate to waste so much paper for people printing it out. |
Are you sure that's what we want? I think it's possible but require manually numbering.
|
I meant to prefix it with the chapter number, e.g. example 2.1, 2.2, 2.3, ..., 3.1, ... . That's what currently is done in the 1.1 spec HTML. |
+1 That is my preference for numbering as well. But as far as I know this is still not supported by Asciidoctor. AFAIK they started working on it though. |
Ok now I understand. That would be my preference too. I couldn't find a way to customize it.. someone has suggestions? If only I knew the attribute name for the label I could make it as a preprocessor. |
|
Pushed a fix for the code highlighter (simply switched to another one, which happens to work and also happens to look nicer IMO) |
|
@emmanuelbernard could you send me a PR to this branch with the new Evaluation License? You mentioned wanting it changed. |
…n' should not be marked as Java code
| <delete dir="${document.basedir}/build" /> | ||
| </target> | ||
|
|
||
| <target name="createTckAuditFile"> |
There was a problem hiding this comment.
Can you please restore this target? It's used for creating the audit file.
There was a problem hiding this comment.
Also the tck-audit.xsl itself is gone. We need that back.
There was a problem hiding this comment.
Why do you need them back? They won't work with the other changes. If you need them as development reference, they are in git.. I often worked with that deletion reverted in my work-in-progress branch as they are obviously useful to make progress.
There was a problem hiding this comment.
Sure, I can restore them, but I don't understand why you'd delete them in the first place. It's an essential part of the overall mechanism. At least as a "reminder" they should remain in place, the task is not done without this piece working. Also the delete-and-restore obfuscates the history, making it much harder to understand the actual changes needed the these files.
|
Could you add "lib" and "target" to .gitignore? |
|
One difference I see in the Docbook XML file is the following on line 350. It used to be:
Whereas now it is
(space is added after ) Do you think this can be avoided with reasonable effort? |
I tried in many ways but I couldn't find one which wouldn't break in some corner cases. This is an example of the kind of polishing which I'd like to see as follow ups rather than blockers for the PR, as someone else might have a better idea on how to do it. |
I already had done that: 6e73eaa |
|
I don't think we need a topic branch on the main repo. Making the audit work will require at least a day of work so we can't do that now. |
Ok, that's fine with me. In the worst case we can leave that as is, it doesn't matter that much for the audit file. I've sent PR Sanne#3 against your fork for restoring and updating the XSL transformation that creates the audit file. It looks good overall, the output it generates only deviates a bit from the previous one:
But re-generating the audit file also reveals some glitches in the AsciiDoc that need fixing:
Whereas it used to be
Also search for "formatterbean", "Message, groupsand payloadare", "${}within", "ConstraintValidatorsupported", "ConstraintValidatorsupporting".
It should be
|
|
Going to close this one, as I'll send a replacement shortly. Thanks for doing the main work of this, @Sanne! |
https://hibernate.atlassian.net/browse/BVAL-502
I don't think we should merge this in master yet as it doesn't have the tooling to extract a valid XML containing all the TCK tests yet.
However these commits seem "stable enough" to me now to be shared, we could merge this in a feature branch so that others can start collaborate on top of these?
I just realize I forgot to update the README, will add a commit about that soon. Essentially to build it, just invoke "ant".