add missing dep for saxparser

Change-Id: I93914949cbb20187c48d9771fd98d54602211c13
do not forward-declare templates

Change-Id: I3b0a145f70406f0c8a12b6c4b7876c4148f76e93
just check if the fraction is < 0

Change-Id: I23f631898f29d8285d3da333686da8d3f28a00f8
simplify condition

Change-Id: Idceac888c57cc27142877d0cf83dd525ab3f92ca
make sure the denominator is not 0

Change-Id: Ic32e0f354bb290ad77f1d7709bee89858e1889b7
make sure the denominator is not 0

Change-Id: Ia618379a8d33048b6716f22ad1e5dcbca0bbf307