GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix: remove undefined script-related fields from the JSON report · w3c/epubcheck@1931d73

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • src/main/java/com/adobe/epubcheck
    • reporting
      • ItemMetadata.java
    • util
      • FeatureEnum.java
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎src/main/java/com/adobe/epubcheck/reporting/ItemMetadata.java‎

Copy file name to clipboardExpand all lines: src/main/java/com/adobe/epubcheck/reporting/ItemMetadata.java
-24Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,6 @@ public class ItemMetadata implements Comparable<ItemMetadata>
3737
@JsonProperty
3838
private boolean isScripted;
3939
@JsonProperty
40-
private boolean scriptSrc;
41-
@JsonProperty
42-
private boolean scriptTag;
43-
@JsonProperty
44-
private boolean scriptInline;
45-
@JsonProperty
4640
private String renditionLayout;
4741
@JsonProperty
4842
private String renditionOrientation;
@@ -167,24 +161,6 @@ public void handleInfo(FeatureEnum feature, String value)
167161
case SPINE_INDEX:
168162
this.spineIndex = Integer.parseInt(value.trim());
169163
break;
170-
case SCRIPT:
171-
if (value.equals("inline"))
172-
{
173-
this.scriptInline = true;
174-
}
175-
else if (value.equals("external"))
176-
{
177-
this.scriptSrc = true;
178-
}
179-
else if (value.equals("javascript"))
180-
{
181-
this.scriptSrc = true;
182-
}
183-
else if (value.equals("tag"))
184-
{
185-
this.scriptTag = true;
186-
}
187-
break;
188164
case RENDITION_LAYOUT:
189165
this.renditionLayout = value;
190166
break;
Collapse file

‎src/main/java/com/adobe/epubcheck/util/FeatureEnum.java‎

Copy file name to clipboardExpand all lines: src/main/java/com/adobe/epubcheck/util/FeatureEnum.java
-1Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,6 @@ public enum FeatureEnum
7474
RENDITION_ORIENTATION("rendition:orientation"),
7575
RENDITION_SPREAD("rendition:spread"),
7676
RESOURCE("resource"),
77-
SCRIPT("script"),
7877
SECTIONS("sections"),
7978
SHA_256("SHA-256"),
8079
SIZE("size"),

0 commit comments

Comments
0 (0)
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.