Fix bug with inline script parsing in libxml