[Dev-luatex] PDF validation

Fabrice Popineau fabrice.popineau at supelec.fr
Sun Feb 7 17:21:53 CET 2016


2016-02-07 17:17 GMT+01:00 Patrick Gundlach <patrick at gundla.ch>:

> > Shouldn't those parenthesis be escaped in some way? Or is it the
> validator parser which is buggy?
>
> The spec allows nested parenthesis:
>
> PDF Spec 1.7 3.2.3 Literal Strings
>
> A literal string is written as an arbitrary number of characters enclosed
> in parentheses. Any characters may appear in a string except unbalanced
> parentheses and the backslash, which must be treated specially. Balanced
> pairs of parentheses within a string require no special treatment.
>
> Example from the spec:
>
> (Strings may contain balanced parentheses ( ) and special characters
> (*!&}^% and so on).)
>
>
>
> So I bet the validator is buggy.
>
>
>
Thanks Patrick, so yes, this is the validator (some version of JHOVE) which
is buggy and the problem is closed.
At least there is an easy workaround.


-- 
Fabrice
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/dev-luatex/attachments/20160207/ec4a6986/attachment.html>


More information about the dev-luatex mailing list