From 515682dc8834994f8c992511522fbccc6337420f Mon Sep 17 00:00:00 2001 From: Tobias Fischer Date: Wed, 27 Sep 2017 23:26:03 +0200 Subject: [PATCH] report non-matching identifiers in OPF and NCX as an error again resolves #669 refs #329 --- .../epubcheck/messages/MessageDictionary.java | 2 +- .../api/Epub20CheckExpandedTest.java | 2 +- .../resources/20/epub/ContainerNotOPF20.epub | Bin 4660 -> 4669 bytes src/test/resources/20/epub/EmptyDir20.epub | Bin 4499 -> 4508 bytes .../resources/20/epub/MetaInfNotOPF20.epub | Bin 4603 -> 4612 bytes src/test/resources/20/epub/Non8601Date20.epub | Bin 4365 -> 4374 bytes src/test/resources/20/epub/NullDate20.epub | Bin 4354 -> 4363 bytes .../20/epub/OPFIllegalElement20.epub | Bin 4355 -> 4360 bytes src/test/resources/20/epub/PageMap20.epub | Bin 4565 -> 4586 bytes src/test/resources/20/epub/Test20.epub | Bin 4604 -> 4611 bytes .../resources/20/epub/Unmanifested20.epub | Bin 4770 -> 4779 bytes .../20/epub/UnmanifestedGuideItems20.epub | Bin 4474 -> 4483 bytes .../resources/20/epub/invalid/issue170.epub | Bin 446852 -> 446866 bytes .../lorem-xrenditions-2ops/EPUB_2/lorem.ncx | 2 +- .../lorem-xrenditions-2ops/EPUB_2/lorem.opf | 2 +- .../test/package/wrong_extension.zip | Bin 5361 -> 5380 bytes .../wrong_extension_expected_results.json | 6 +++--- 17 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/main/java/com/adobe/epubcheck/messages/MessageDictionary.java b/src/main/java/com/adobe/epubcheck/messages/MessageDictionary.java index 07f10d72a..fcb63fdf9 100644 --- a/src/main/java/com/adobe/epubcheck/messages/MessageDictionary.java +++ b/src/main/java/com/adobe/epubcheck/messages/MessageDictionary.java @@ -185,7 +185,7 @@ static Map getDefaultSeverities() map.put(MessageId.NAV_009, Severity.ERROR); // NCX - map.put(MessageId.NCX_001, Severity.USAGE); + map.put(MessageId.NCX_001, Severity.ERROR); map.put(MessageId.NCX_002, Severity.ERROR); map.put(MessageId.NCX_003, Severity.USAGE); map.put(MessageId.NCX_004, Severity.USAGE); diff --git a/src/test/java/com/adobe/epubcheck/api/Epub20CheckExpandedTest.java b/src/test/java/com/adobe/epubcheck/api/Epub20CheckExpandedTest.java index e46693b9f..6c3a92f2b 100644 --- a/src/test/java/com/adobe/epubcheck/api/Epub20CheckExpandedTest.java +++ b/src/test/java/com/adobe/epubcheck/api/Epub20CheckExpandedTest.java @@ -163,7 +163,7 @@ public void testIssue329_IDSpaces() @Test public void testIssue329_NonMatchingId() { - // expectedWarnings.add(MessageId.NCX_001); // Now USAGE + expectedErrors.add(MessageId.NCX_001); testValidateDocument("invalid/ncx-uid-nomatch"); } diff --git a/src/test/resources/20/epub/ContainerNotOPF20.epub b/src/test/resources/20/epub/ContainerNotOPF20.epub index 3a635bf8634f4f27b100a3dcafc8c289c62555be..f56fcad43bdedb28e128b854b37a9051c5dc28ff 100644 GIT binary patch delta 535 zcmdm@vR7q-OMT>aYi|Z5zzbyiyE+8~>zCvw>*Xa^^iJ~4Z*mZ5d++;8ep_`sTfi#Q zZnaQ;wJ^_B?Q-H}t5r4#$cX%YeOhaUZ}z3zHG9rm8_#~aSj+cBoak{^mOR1Fj0YYTY*^A! z?yjwE_Tg&fOZ(=Fj=UR;6FjF}@iCP9TC?}_e`n^sdR1mdYAqku3Vjl}TDU4eKsV@V zaOcAXJ*ujK%K|gMWJbPljGWF^`+IYGb>NYh%-w4qe|38HE#{z;yVupyJ?n0lYTWra zMeF$6-ulbwo2Z1 z-O+!(Pu8wG*Q9gJBkAR3tCPM?p7S~$ZsWDn-mpqJGJX2xj@rNNh z6h3r6Jgb-z?qauhQrOm`COh}BZP{&_9wYYr89UE@#sF`2RgRNsd^M4b3=Hd;7#IS) znOV3P7&tf>{Br{xkKA6~v=J!N$hR delta 526 zcmdn1vPETr3!i^(pd$kuY<|Xgijj|<QtG#TDq^3%_xVF%3E3+Q z*$m!`mV6aT4$Qw^{omf;LiU+s%fBhK9Q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D-_V?!W>cAs0nY-6K{_6DXTg*Wxcdx6Zd)D19)wuI21ystxsMQr5z%=ZI!(3x}*PmpR8SXu1V*b zN7Bp7RwsR(Jm+;h-ZWvAfx79f%~g6%Q)9HwE_oQWc&5V4;}1i2D17LCcvdkb+{JG1 zq_C|=O?K{M+p^moA?>nj9u5u(^rv9HSs8qLB6SPEHgM7bwY3*2_z-2=HcP zvS$DqHQ84{k?9=c&`g)cle(2)TSHa}xL#mL9bapd;$rj3jY42{eT44c<6pXI90H~Qrl02G$00^n|2rb{eN#?A8ogC(-fJ|o&H5{gO6`|neyj=eERE`&unK1%Z94l z*ry{N>?C<0>*F@I8M$fGnXlJxvwg;JCVa{TiH#DBbNtl3yHe`6eJWy~zxVk=VF}qQ z4A~6cif;H2)>fKEI>fl=xK20!xs}gycWeQzVzbq z!oP+a_G%=p+Y)>2Gn-;D`?`dM%1d8a$K8KxE%L8y(y9YLj=f$dP%M(EP?j}I-lYDX zz&BeZ;i(tb^F^*Wb)TXAU0uwxi)sf$w%V=G%2C~}9@G7JwMJCnU6#s46ICuPFAbj2 zHc3hJd8uY-=DJHB(jS9bwBEA4o%AtmapCkcj|(JA82+eKNY8(B`o!|^bE}fhTzaqG zpcf{*-}}s2^Zxw|0p83kTnr2x91JnN(U!a>n``;*FixH#Ajf3IFnNoBEt3}0@O%FgC0ZhNM(4*Gr3YgdUCX&9AnDlDnWb3;>o)NUD)^pKuQ3Sb=1}X diff --git a/src/test/resources/20/epub/Non8601Date20.epub b/src/test/resources/20/epub/Non8601Date20.epub index ecd6f879cff72b521497fe36a31171cf53d52615..ae1d7508ef387cc5fa5ba9f67ed1925ada4517cd 100644 GIT binary patch delta 532 zcmeBGnx-_trQT+{wKoG2;03b%U7Z4g^-J=T_41M{dMEkjH#rEjz4!ekzpXl+Ent;t zw^}H_TA1gmb~*8~)hZhVWJG?yKCQLFH~Z45IYH%(Y&pl*6=bCsUc)EKR^OCCloo~bbN_`{GL z3Lm;3o>fc-d}*EkIF)tQr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VN`7O`Ln_bD}I=k_^^Tussw<~(_~p0D0oC5qc`yP=L{acw{i zZ~oJbJ6S#%<@G#$&i+39lgQ~Oho+uCnEhjaNLH>Ef12z!M%OR0fqY`^;rjc&*Jf

    pmHWndd}&m&MJnP@Ng~X43^fj|BoYTJK)Evo5=twrO{<-~ada_0e`KH%*ZV z-RWQSHu(6amnnY^$fv)4`OJ2PuxzNxjeR=e!A_C~vOaEOn~|F~o%wqGHrr(&454K8G#Ikxwnv#(27sJ!%*b=>{8 z)*}DPCapT~vVk3T0WdM`AqS8GHC-esv=G*RW!^3vcLZIhHlpO>AqDLMgGr#7Ue1~6paw(q(H$pIN N@?8N{wo-nO2msu5y3YUr diff --git a/src/test/resources/20/epub/PageMap20.epub b/src/test/resources/20/epub/PageMap20.epub index 30ea1af03690c633190ceda564efe4d4f981dedd..5c077338fbdcf94baef7058c78c11964d558c0f6 100644 GIT binary patch delta 1164 zcmcbr{7RW4z?+$ci-Cb-B8Npi2L}g3;Wle;1|%Q|Wc#~11qACS=jWBA=9TE>7o^or zzPN6Rfk4}O(~q*V?#&81aCeQOLy=Jao(mNV`2%h>u4TU^XH{yMpZ`+t&9N2bb07Zy zKeLW^tMI2t9*3rj`iwKe5(2(UJ!>nwW|!@HQh&zYZOay>POA^z&!W3{m*}ntbLuo$m?Y6^Fuajy_00zW;_x(-@WF+mfG*%d~F%IR0Gx=-Kyl~ zbKwFb&l#q-KAl_G7O!3Cf2z#EZnpn}uL&CaXH8iX@R;N6_ODix3rz1v&vrPsAVpGqpU(M(8-}RqxqpqI4{}vC+d53E^^bbw6ljsy|moVL@_I=sCJLPRIt7Vg= z(}G(Ugnl)A@BcHBU(m5|%_k4)j~-DX^}a?_hKC;f$VS6JH0IS!czKU{TvbZBRw_r|!1`aX%`^`h?| zSLe<7z92y;=4fB^z5czEb<=yM)w8dk|9_U&-uu^^Pxdk?dhb21(Zc%k*5Avr^J|ND zd#Fyk`DwqcPRY5=p{Evo+ZW*S(_#HLKWPQQ>%8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R}7zM^uLzrhvh*jfD0VoAY%UH8T_4WA`GBZFj-x|0L%oYj_U#nOjZn& ze+tOJM5F~3nD`kd+X~7!f|TRRzi^WoegbVl$;|=Yj7$)%z{ID(RKhd4QBXnyVmI~_ kh%l^~cXGXeI2#uO$mx?O@{4gJk?qHnj8y`Wx0k8FkMhWH;CB)V87p+f=AnfndWQw>^${QQwe|i(13eFVGSVi5u#M#6c)MYVL{1b>q(=n?gCY`?gsDQQ(4$4J21S(` z^sSGc<%Xf*2+J`#ZZ9yLp2Lm67D9Gyx9fCm3P;Pz{)eZK8E!6IuPZS{9{YSP$7!MP z0kMnBuz^o;A8E^3zBmiG)Y1AkzUQ zS@3IG5I2mr;i+yQV74WhO?OJPin zbYlSk0JW1@5KIBslco?p0pyeA5JLmG1OSuI1TT|X5h?-3lZ6pK1Jw@zlj{#5ljso+ K1`!Yd0000=^3l=& delta 460 zcmV;-0WW?gL;~cpkwzeYkxg&HFbsyzo3#IsW#`mwp@X3mqyYyc29?GRJElzr zmD;o_2FiZ@8fbxiAnlacexKKN!UtuVkgY1#ai)FhST-H>?{4}1Xg*xL2VLd<&ryWP%`B3|#UtXRTl>#6&H2u24Lz>a_= zQBu>zcvSuM+W!v?^gQU%$e0kqS4zmk?S`ic1<@i^K9v~uHnF56$}}pCKJD5c9ovf{ z=1SXTEw2+Yx8n*HI#Q~(xpmD3U-d)iB#=yg=-$NGeJL z%rqD72Zu4-a>~@5`fnOd2gy7Rhr|hiUktAoA?qUY>6x_36{g8U^*Y}9NuU|9-sLns zH=kdfUrH%pE4dk*rOI+6h zkz4@)0IZW>5KIBlldTXw0^I|W1Q?SA5h?+)lQ0om0l$-s5kCRWlgtq@1_}@W0002t CPSI}w diff --git a/src/test/resources/20/epub/Unmanifested20.epub b/src/test/resources/20/epub/Unmanifested20.epub index 3fce23607515999cb0785fe58794080a1676aa2e..b2637b0f7af447139ab0642bac684437357d5a4f 100644 GIT binary patch delta 547 zcmZ3ax>|LDOMU8gYi|Z5zzby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PWl+OxN!QJ#|4rl41ZKAr02gmePVg|xm8JLF1=T8 z&d%E(Qh;4u+WCXiHv`&ENPO87CJB$T3+lOr9iQ%e0tj@WL-fm#=Dav1XbDI@PpI=00BYL&;S4c diff --git a/src/test/resources/20/epub/invalid/issue170.epub b/src/test/resources/20/epub/invalid/issue170.epub index b17083eccda30a429cc2bae8b0acea6d2b208c1e..b02091d86d6113104a6b846ff3cbbeb485c7dce0 100644 GIT binary patch delta 1218 zcmZo!EInzlG)I6pGYc031IKjv^K4=h<&^3;>!jCZRZo){wtI;CFWS_O_)@8htt*|W(UiRhbwMKNB8P-dgfiKzrQub zy46fpLeF!{?)RJJZ)xnd+Qz$+HMwCyXthx|A*^KemAENiTs*6}ik8M+yk)sJbWVw>%B%( zdL(z>^gACHL`*xXa%pbno&`D*CKr;tPCxrNhxd!B(LbfbI@;Y!h1WICncSOE%A9ie z?{&u=vkHm~yuy~e+MsQua_WYPl;HCEd7T=|w|(yKK3($hpL5YiJx}qtGOjsWc&CT9 ze?DD)tlj6i;R1sLbB$QKWo9r%NfxCDht`QN|@6u{jIZC%Zac`V+0IW2v!O{YP$g-U6P-g{A^`bEN|(oO={i zak&1LrSi79hky5()qdC|Sgjyl=(Nv!ZIAQU*RQiby-eQ{`TdzW3!{SWk$p!3oK~!e zXHcr_wiV}^-Z9C^vpu#y{n_`H-fp37ZQdK1Uo$ybWc*!v;*p1EF2nan+WSRC-)pD% ziEjM9C4ftAr}f?Q;n_NxEHaBPgya>-?f*J)if+^U{u;`_X=He(CZT^Ul_=+O70| zKfimyp$LN?IZ38gm(>Cu#rJ>w@a5{}0J@Ba6U0p9E! z=hV(Slrk|eJZ5EJfF=KaizpsZ9jGe$^aFTB7e*1VOy zeJeX75HkTWGZ3=?G3)lN>}(GXft78ad5WzKs^i2twm>#}23S^+sz+px+|1n6lFEYA z0B=Sndj=5(SPnvVBPa(UfEAF5o}VDPLFRKXblSXi*l=r;`C_2DFF-7Y&Y)zI9N2?&TQD z$iTqH%)lUya1fB?a+YoSx>IZt+Q?dtSHE@OSCoCD3{+qY#3CqK&P@-$$fnMwe4Y&` F3;;u)tlIzp delta 1197 zcmbQVSh{7gG)I6pGYc036T?If3nnIp=?l-ZiB0Ba-pe8a6q~Mh0m$oM6PYf1fsK9h zU*zdk`1fw?h!E|A9tsPddw1 zz*rBmf`dUnG|cgi$r`J2CI*JztPBhS3=9me0ijO%1&PVoiRr0&`2}f9r}*|?HV|k# z@A}AIV!p$PLTSDQT4%FvGCw-BwBg9b(q*07J9Bf=Z~y)7^F~GYO}j(PtSY;C$|jM@50&}oB6-2s;~LEXoHiS3-6NauhRK_LKigO(k_tR zW&CV`R@Jg6%&a?ajh5SOBJH8-V{3#cI0?qYa2&ViQDxh?>1^1 zaf#OW%@U}8KCg4tvu&rXm#SKAx+OWk@oo7T_Z{bzrn%-EnagOrS#;OC!gWvY9i8yg zhSh^zNy2@@%&o?{IV)Z;>+V+%{KV;+{7Az5`9qh5XQr>7vv!)!`DC9hM;pR>1ed>3 zt2lIHj&W4MwvBzftiGq$_kMbkai{UYW%EOhQ;&&BDcs0it@5(ocAd9LO#6c?>-cxD z=UB7EZ-2$`BzBw1{Vk??3Ey7Nmj3jS{dOGxGjkTk1-2<0kAyg_%81}ug~bymH@_G6_HW%G%{r#?5hzhUnS<;Y9lez)t`N;kj|ak ziTkc4d1^j5vTDQOj_nqcRqD$RPPylQCU-}EnovAcfP(Sv_0>Nz)8b@+b!ulC%3!smLG z$6PUYsvfSr(V zq}^ljdK8{&WmEU{&&QhP^)qHOK7M&quiWk{r>tR-4 z%b_4!AXZ49VZ+F;2&Z!}9It-sz^^F#Mj5EX7>GqcT7dwf`@lJ - + diff --git a/src/test/resources/20/expanded/valid/lorem-xrenditions-2ops/EPUB_2/lorem.opf b/src/test/resources/20/expanded/valid/lorem-xrenditions-2ops/EPUB_2/lorem.opf index 8b189adc0..7cbfdf696 100644 --- a/src/test/resources/20/expanded/valid/lorem-xrenditions-2ops/EPUB_2/lorem.opf +++ b/src/test/resources/20/expanded/valid/lorem-xrenditions-2ops/EPUB_2/lorem.opf @@ -1,7 +1,7 @@ - urn:uuid:4ADD6D78-8F7E-4BCB-BB03-EB07560F46E7 + urn:uuid:6179D963-C94E-459B-A7A4-4139D120998E Lorem Ipsum - alt la 2012-10-17 diff --git a/src/test/resources/com/adobe/epubcheck/test/package/wrong_extension.zip b/src/test/resources/com/adobe/epubcheck/test/package/wrong_extension.zip index d3e31366c6ee44b6a3569d93f5871124e261234c..a33feac1dcd894e2fd0b1f9f35dc11d5b64e452c 100644 GIT binary patch delta 663 zcmeyU*`hVUu3m(JgM)*?WtX)#0}|i{vi$>s^-J=T_41M{dM5_vHyMbu&VRms$7}1D z8=H60_s+Iyp1US1G-LkG zZHFCR?GW%%w~Kbyzc!(_xv|_j)_2kO0yeAqJcSs0{b#}nVvmacZF8FAcKO|-bA@s` z;)UB%4g@VKYT0rBeeS`~+6~=W2haar{!m#;c3Z<$=4}cGql7On>Rp`u-`-#wN5gb4 zy)(=1KAU8bG0%HG=dGS?UIrc9zCn}E&x!ATcz@0W)urM~s(n3JKk7W`oFfwLJ3a1t z#~gFF{del0Nk{%=v$64g+^N(jlKSaJdy4Zxr7!w14UG$&UpB!Z)7h zd3ej$tFo+)+2-gA=J`TZ&xD%~iU)YJbL_OaujI+dz|h3Rz{s%C>YD&FBa{8)MM9?5 z_6&&lKvKm3iVp;^0y2?eC%_x1onfM#6c0kl9>&T4g=B!jljRttlo8@{m>^n{^Ycnl z^Gfvc3(_FkCo3`|>z~guxj|S8r2hkocpmFy4i;H9sGdY#smcF^xtQ+rP39Jn2B{9< mLpJ3c|71UixII6z_+Ej@6GenYSlK`h;{-xGptCjzfp`F^dECVS delta 631 zcmZqC`lva92^YqGrXN{T^7o8V`N|`U}9k4W?*3O4+z#T$xqhH zORngh7?|H=AaH#C^W{6f%JOZ?DP%L4x$DRg&66Jz`=^>+;NfZvE}UN%a$#qVTJ`I# z`{Uo&uQkv6#8b9uRp`RnXSev6S3Y*qnEN9~c5j5U86Vrdw6-xQ`vzPaMPT1M8S(SO3&{X9kf9vwO*S%_v4dJZ2XU{8tvET+*nEH(- zmh9Oxv~OAL`u1Nrc{M}D$|r|(Zl&sVHb2|>W#)pj8LL^EcU(|0{n_*I{*(!-OU36@ z^Db$s5c}lf*R^&T_u-vsPxcu8DVklMpYk>O!-pw%goJpKNPty(I6jNsYh% z>qU!ZhGo}kzMndMFROb)z$^#O`7bXONluZpU!$d{Z5-ZS`k*O4MT{qJSD5j{6H<%h z_x7pOE&l6g&vGU7jdAjhvdKa7=H6%UH{5k#dCRV3e9{FU-Yc#W2}hSOz4rfJur67za=w#W=ZNSd>v@@={?{CRygmXN0AIoaaE! z8|KM;B8otcfrzSHEH5P1d@}R0LlTS9Q%el>Dl$rPbHMgaE*4Q`^5L62OGFxE!$AS5 u9GLkG4A%S*ts$w!D4M{I#hyM8n)L)xQcHk0D;r3X6A0~qiD|A7hz9_#gX81? diff --git a/src/test/resources/com/adobe/epubcheck/test/package/wrong_extension_expected_results.json b/src/test/resources/com/adobe/epubcheck/test/package/wrong_extension_expected_results.json index 17feaa587..c2c5217fb 100644 --- a/src/test/resources/com/adobe/epubcheck/test/package/wrong_extension_expected_results.json +++ b/src/test/resources/com/adobe/epubcheck/test/package/wrong_extension_expected_results.json @@ -109,10 +109,10 @@ "id" : "ncx", "fileName" : "OPS/toc.ncx", "media_type" : "application/x-dtbncx+xml", - "compressedSize" : 326, - "uncompressedSize" : 624, + "compressedSize" : 329, + "uncompressedSize" : 642, "compressionMethod" : "Deflated", - "checkSum" : "913b6f1c2783e126ab6b175bd8547e236d2736d9228503c1470e1213957d85e", + "checkSum" : "9e69dbe536e1f03e2447556f7159dec1b7eca4785f45436aa753313d5729b0a9", "isSpineItem" : false, "spineIndex" : null, "isLinear" : false,