a more elegant fail on a kindlegen mobipocket pagebreak command

dear validator gearheads-

i realize that crap like this...

>   <mbp:pagebreak />

....probably upsets your constitution.

it's the kindlegen command to throw a pagebreak
when creating a mobipocket file (for the kindle)...

here's an example file with the offending outrage:
>    http://zenmagiclove.com/prapr-reg.html

and the same file, without the devil pagebreaks:
>    http://zenmagiclove.com/prapr-vme.html

now of course your validator should _raise_a_flag_
when it encounters such a monstrosity, but lately,
it has been choking completely, which is not good.

perhaps you could cause it to fail more elegantly?

it would be even nicer if it would just continue on
with its validation checking for the rest of the file.

because it's not as if this tag appears by accident.

***

greatly appreciated, thank you very much...

-bowerbird

Received on Friday, 10 February 2012 08:05:33 UTC