-
Notifications
You must be signed in to change notification settings - Fork 0
Fix/resourceredirect #149
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
Open
rainer-prosi
wants to merge
16
commits into
master
Choose a base branch
from
fix/resourceredirect
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Fix/resourceredirect #149
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
9cd2051
minor redirect snafu
rainer-prosi 7c1b64e
test fix
rainer-prosi 3fb4c0d
added getter
rainer-prosi 5d5c493
added test
rainer-prosi b9d1465
try catch differs for various jars
rainer-prosi 4c99dd3
add filetracker
rainer-prosi 118377b
oops...
rainer-prosi cd5b39a
new gwenerator for enums
rainer-prosi 08f8167
commons.lang3 fix
rainer-prosi f880aec
lang3 ++
rainer-prosi 8f92726
undo zapp escape
rainer-prosi 2502715
required test file
rainer-prosi d11f76f
new gradle
rainer-prosi 3d48724
improved enum comments
rainer-prosi 31be1e3
Merge branch 'master' into fix/resourceredirect
rainer-prosi 279619c
Merge remote-tracking branch 'origin/master' into fix/resourceredirect
MichelHartmann File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,284 @@ | ||
| <html> | ||
|
|
||
| <head> | ||
| <meta charset="UTF-8" /> | ||
| <title>CIP4 JDF Toolbox</title> | ||
|
|
||
| <!-- bootstrap 4 --> | ||
| <link rel="stylesheet" | ||
| href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css" /> | ||
| <script | ||
| src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> | ||
| <script | ||
| src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.0/umd/popper.min.js"></script> | ||
| <script | ||
| src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.0/js/bootstrap.min.js"></script> | ||
|
|
||
| <!-- google fonts --> | ||
| <link rel="stylesheet" | ||
| href="https://fonts.googleapis.com/css?family=Merriweather:400,400i,700%7CRoboto:300,300i,400,400i,500,500i,700,700i" /> | ||
|
|
||
| <script src="./index.js"></script> | ||
| <link rel="stylesheet" href="./index.css" /> | ||
| </head> | ||
|
|
||
| <body data-spy="scroll" data-target=".navbar" data-offset="150"> | ||
|
|
||
| <!-- navigation --> | ||
| <nav class="navbar navbar-expand-sm fixed-top"> | ||
| <a class="navbar-brand" href="#"> | ||
| <img class="nav-logo" | ||
| src="http://assets.cip4.org/logo/cip4-organization.png" /> | ||
| <span class="cip">CIP4</span> | ||
| Organization | ||
| </a> | ||
|
|
||
| <!-- left --> | ||
| <ul class="navbar-nav mr-auto"> | ||
|
|
||
| </ul> | ||
|
|
||
| <!-- left --> | ||
| <ul class="navbar-nav"> | ||
| <li class="nav-item"> | ||
| <a class="nav-link active" href="#check-jdf">Check JDF</a> | ||
| </li> | ||
| <li class="nav-item"> | ||
| <a class="nav-link" href="#fix-jdf">Fix JDF</a> | ||
| </li> | ||
| </ul> | ||
| </nav> | ||
|
|
||
| <div class="container"> | ||
|
|
||
| <!-- check jdf --> | ||
| <div id="check-jdf" class="row"> | ||
| <div class="col-12"> | ||
| <h1>CheckJDF</h1> | ||
| <p> | ||
| Checks the validity of an uploaded JDF or ZIP file and reports | ||
| problems. | ||
| Note the known buglet that ZIP files should not contain | ||
| any | ||
| non-ascii | ||
| characters. | ||
| </p> | ||
| </div> | ||
| </div> | ||
| <div class="row"> | ||
| <div class="col-12"> | ||
| <form method="post" enctype="multipart/form-data" | ||
| action="/CheckJDFServlet"> | ||
| <div class="custom-file"> | ||
| <input type="file" class="custom-file-input" id="file1" | ||
| name="file1" /> | ||
|
|
||
| <label class="custom-file-label" for="file1">File to check (JDF, | ||
| JMF or zip)</label> | ||
| </div> | ||
|
|
||
| <br /> | ||
| <br /> | ||
|
|
||
| <button type="submit" class="btn btn-primary">Check JDF File</button> | ||
|
|
||
| <br /> | ||
| <br /> | ||
| <br /> | ||
|
|
||
|
|
||
| <div class="form-group form-check"> | ||
| <input class="form-check-input" type="checkbox" | ||
| name="PrettyFormat" value="true" checked="checked" /> | ||
| <label class="form-check-label"> | ||
| Pretty formatting of | ||
| XML output - if unchecked | ||
| show raw XML output | ||
| </label> | ||
|
|
||
| </div> | ||
| <div class="form-group form-check"> | ||
| <input class="form-check-input" type="checkbox" | ||
| name="UseSchema" value="true" checked="checked" /> | ||
| <label class="form-check-label"> | ||
| Use XML Schema for | ||
| validation | ||
| </label> | ||
| </div> | ||
| <div class="form-group form-check"> | ||
| <input class="form-check-input" type="checkbox" | ||
| name="IgnorePrivate" value="true" /> | ||
| <label class="form-check-label"> | ||
| Ignore | ||
| Private extensions | ||
| </label> | ||
| </div> | ||
|
|
||
| <br /> | ||
| <br /> | ||
|
|
||
| <div class="form-group"> | ||
| <label for="ValidationLevel">Validation level:</label> | ||
| <select name="ValidationLevel" id="ValidationLevel" | ||
| class="form-control" size="1"> | ||
| <option>NoWarnIncomplete</option> | ||
| <option>NoWarnComplete</option> | ||
| <option>Incomplete</option> | ||
| <option>Complete</option> | ||
| </select> | ||
| </div> | ||
| <div class="form-group"> | ||
| <label for="Language">Language:</label> | ||
| <select name="Language" id="Language" class="form-control" | ||
| size="1"> | ||
| <option>English</option> | ||
| <option>Deutsch</option> | ||
| <option>Nederlands</option> | ||
| </select> | ||
| </div> | ||
|
|
||
| <br /> | ||
| <br /> | ||
|
|
||
| <div class="custom-file"> | ||
| <input type="file" class="custom-file-input" | ||
| id="devcapFile" name="devcapFile" /> | ||
| <label class="custom-file-label" for="devcapFile"> Device capabilities | ||
| file (optional)</label> | ||
| </div> | ||
|
|
||
| <br /> | ||
| <br /> | ||
|
|
||
| <p> | ||
| Note that the device capabilities translation feature is still | ||
| work | ||
| in | ||
| progress although the results in the raw output should be | ||
| correct. | ||
| </p> | ||
| </form> | ||
| </div> | ||
| </div> | ||
| </div> | ||
| <div class="container"> | ||
|
|
||
| <!-- fix jdf --> | ||
| <div id="fix-jdf" class="row"> | ||
| <div class="col-12"> | ||
| <h1>FixJDF</h1> | ||
| <p> | ||
| Updates a JDF, JMF, XJDF or XJMF File to a selected version, | ||
| replacing deprecated syntax with recommended syntax. | ||
| </p> | ||
| </div> | ||
| </div> | ||
| <div class="row"> | ||
| <div class="col-12"> | ||
| <form method="post" enctype="multipart/form-data" | ||
| action="/CheckJDFServlet/FixJDF"> | ||
| <div class="custom-file"> | ||
| <label class="custom-file-label" for="file2">File to update</label> | ||
| <input type="file" class="custom-file-input" id="file2" | ||
| name="file2" /> | ||
| </div> | ||
|
|
||
| <br /> | ||
| <br /> | ||
|
|
||
| <button type="submit" class="btn btn-primary">Update XML File</button> | ||
|
|
||
| <br /> | ||
| <br /> | ||
| <br /> | ||
|
|
||
| <div class="form-check"> | ||
| <label class="form-check-label"> | ||
| <input type="radio" class="form-check-input" | ||
| name="Version" value="Retain" /> | ||
| Update to Version specified in JDF/XJDF root | ||
|
|
||
| </label> | ||
| </div> | ||
| <div class="form-check"> | ||
| <input type="radio" class="form-check-input" name="Version" | ||
| value="General" /> | ||
| <label class="form-check-label">Generic Fixes only</label> | ||
| </div> | ||
| <div class="form-check"> | ||
| <input type="radio" class="form-check-input" name="Version" | ||
| value="1.0" /> | ||
| <label class="form-check-label">JDF 1.0</label> | ||
| </div> | ||
| <div class="form-check"> | ||
| <input type="radio" class="form-check-input" name="Version" | ||
| value="1.1" /> | ||
| <label class="form-check-label">JDF 1.1</label> | ||
| </div> | ||
| <div class="form-check"> | ||
| <input type="radio" class="form-check-input" name="Version" | ||
| value="1.2" /> | ||
| <label class="form-check-label">JDF 1.2</label> | ||
| </div> | ||
| <div class="form-check"> | ||
| <input type="radio" class="form-check-input" name="Version" | ||
| value="1.3" /> | ||
| <label class="form-check-label">JDF 1.3</label> | ||
| </div> | ||
| <div class="form-check"> | ||
| <input type="radio" class="form-check-input" name="Version" | ||
| value="1.4" /> | ||
| <label class="form-check-label">JDF 1.4</label> | ||
| </div> | ||
| <div class="form-check"> | ||
| <input type="radio" class="form-check-input" name="Version" | ||
| value="1.5" /> | ||
| <label class="form-check-label">JDF 1.5</label> | ||
| </div> | ||
| <div class="form-check"> | ||
| <input type="radio" class="form-check-input" name="Version" | ||
| value="1.6" /> | ||
| <label class="form-check-label">JDF 1.6</label> | ||
| </div> | ||
| <div class="form-check"> | ||
| <input type="radio" class="form-check-input" name="Version" | ||
| value="1.7" checked="checked" /> | ||
| <label class="form-check-label">JDF 1.7</label> | ||
| </div> | ||
| <div class="form-check"> | ||
| <input type="radio" class="form-check-input" name="Version" | ||
| value="1.8" checked="checked" /> | ||
| <label class="form-check-label">JDF 1.8</label> | ||
| </div> | ||
| <div class="form-check"> | ||
| <input type="radio" class="form-check-input" name="Version" | ||
| value="2.0" /> | ||
| <label class="form-check-label">XJDF 2.0</label> | ||
| </div> | ||
| <div class="form-check"> | ||
| <input type="radio" class="form-check-input" name="Version" | ||
| value="2.1" /> | ||
| <label class="form-check-label">XJDF 2.1</label> | ||
| </div> | ||
| <div class="form-check"> | ||
| <input type="radio" class="form-check-input" name="Version" | ||
| value="2.2" /> | ||
| <label class="form-check-label">XJDF 2.2</label> | ||
| </div> | ||
| </form> | ||
| </div> | ||
|
|
||
| <div id="version" class="row"> | ||
| <div class="col-12"> | ||
| <small> | ||
| <b>JDFToolbox</b> | ||
| build ${build} (${timestamp}) | ||
| <i>based on JDFLibJ ${jdflibj.version}</i> | ||
| </small> | ||
| </div> | ||
| </div> | ||
| </div> | ||
| </div> | ||
| </body> | ||
|
|
||
| </html> | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Two radio buttons have
checked=\"checked\"attribute: both 'JDF 1.7' (line 245) and 'JDF 1.8' (line 250). Only one radio button in a group can be checked. Remove the checked attribute from line 245 or 250.