$\textbf{Context:}$ While just browsing the site, I came across this integral in this post:
$$\int_0^{10}x^2\mathrm d\left\{x+\frac12\right\}$$
$\textbf{Doubt 1:}$ $\dfrac{\mathrm d\left\{x+\frac12\right\}}{\mathrm dx}$ is not defined for half-integral values of $x$. Then, how does the above integral make sense as this differential is not defined at $x=\frac12,\frac32\cdots\frac{19}2$?!
$\textbf{My attempt:}$ Let's assume for a moment that this notation makes sense. Since $\left\{x+\frac12\right\}$ is not differentiable when $x$ is a half-integer, we need to split the integral such that the differential is defined for the values of $x$ lying in the open interval described by the bounds of each integrral: $$\int_0^{10}x^2\mathrm d\left\{x+\frac12\right\}=\int_0^\frac12x^2\mathrm dx+\int_\frac12^\frac32x^2\mathrm dx\cdots\int_\frac{19}2^{10}x^2\mathrm dx$$
Now, using the below property repeatedly
$$\displaystyle\int_a^bf(x)\mathrm dx+\displaystyle\int_b^cf(x)\mathrm dx=\displaystyle\int_a^cf(x)\mathrm dx$$
we can rewrite the integral as $\displaystyle\int_0^{10}x^2\mathrm dx$. But, this is wrong as per this answer. It also states that this is a Riemann-Stieltjes integral which I don't understand at all(I'm in high school).
$\textbf{Doubt 2:}$ Where did I make a mistake in simplifying the given integral?
Please help me out with my doubts. I'm not able to find what is wrong with my procedure and am really perplexed.