For t := x^(1-I), f := arcsin(t) + arcsin(1/t) i have problems with

  dd:= PDEtools[dpolyform](y(z)=f,no_Fn);

                           d
                    dd := [-- y(x) = 0] &where []
                           dx

and using dsolve after that

The imaginary part of f is zero (for x in 0 ... 1, for which I could
not convince Maple 12 to tell it) and the the real part is piecewise
constant (plot it, zooming closer towards 0).

So the answer is correct.

However dsolve for such an differential equation would return only
the trivial solution. Of course.

Is there a 'reasonable' way to use 'dpolyform' in such ugly cases
and to continue with dsolve?

Please Wait...