Re: [basex-talk] xslt:transform function not working with XML Catalog

2020-07-08 Thread Imsieke, Gerrit, le-tex
Hi Vincent, I feel your pain. Maybe this comment helps: https://github.com/BaseXdb/basex/issues/1793#issuecomment-579134499 (omit the quotes in the pragma). I documented it here, too: https://docs.basex.org/wiki/Catalog_Resolver#Additional_Notes “The catalog location in the pragma can be

Re: [basex-talk] xslt:transform function not working with XML Catalog

2020-07-08 Thread Lizzi, Vincent
Hi Liam, Thanks for the reply and suggestions. Based on your suggestion I tried pragmas and strace, and had another go at CatalogManager.properties, but they've not had any effect. (I'm using Windows 10 but was able to run strace in Ubuntu via WSL). This query: try { (# db:catfile

Re: [basex-talk] xslt:transform function not working with XML Catalog

2020-07-08 Thread Liam R. E. Quin
On Wed, 2020-07-08 at 22:46 +, Lizzi, Vincent wrote: > I've encountered a problem using xslt:transform in to transform some > old XML that contains a DTD DOCTYPE system literal pointing to a non- > working URI and also uses ENTITYREF attributes to refer to image > files. I have the XML Catalog

[basex-talk] xslt:transform function not working with XML Catalog

2020-07-08 Thread Lizzi, Vincent
I've encountered a problem using xslt:transform in to transform some old XML that contains a DTD DOCTYPE system literal pointing to a non-working URI and also uses ENTITYREF attributes to refer to image files. I have the XML Catalog configured correctly using CATFILE. The XSLT is using

Re: [basex-talk] Position of attributes using copy/modify

2020-07-08 Thread Christian Grün
Hi Giuseppe, the attribute order cannot be enforced indeed. We can’t even guarantee that the attributes of a parsed document are returned in the same order when it’s serialized. This is due to the spec: attributes are treated as node properties with no particular order. A question in reverse: