What about the following integral?
$$\int_0^a x^3 \delta(x-1) dx$$
If $a$ is more or less than 1 it's all clear, but what if $a=1$.
Is the integral is equal to $1/2$ ?
Edit: this is my motivation, assume f(x) is even, $a>0$
$$\int_{-a}^a f(x) \delta(x) dx = \int_{-a}^0 f(x) \delta(x) dx + \int_{0}^a f(x) \delta(x) dx = -\int_{a}^0 f(-x) \delta(-x) dx + \int_{0}^a f(x) \delta(x) dx = 2\int_{0}^a f(x) \delta(x) dx = f(a)$$ implies $$ \int_{0}^a f(x) \delta(x) dx = \frac{f(0)}{2}$$
It's certainly true for even functions, what displaced odd functions puzzle me.
The function is not defined at $a=1$, or better, you have to specify what do you mean by that integral. Indeed write: $$\int_0^1x^3\delta(x-1)dx=\int_\mathbb{R}x^3\delta(x-1)\chi_{[0,1]}(x)dx=x^3\chi_{[0,1]}(x)|_{x=1}=1$$ but at the same time, if you write: $$\int_0^1x^3\delta(x-1)dx=\int_\mathbb{R}x^3\delta(x-1)\chi_{[0,1)}(x)dx=x^3\chi_{[0,1)}(x)|_{x=1}=0$$