> But words like "feuertrunken" are really quite untranslatable.
 
Native speakers of the language said that "feuertrunken" means something like "entranced with (or by) fire"

On Sun, Aug 11, 2013 at 11:17 AM, Michael Kay <mike@saxonica.com> wrote:
Thanks for reporting it.

Logged here:

https://saxonica.plan.io/issues/1861

Michael Kay
Saxonica

(I once attempted a translation of the Schiller into English for a concert programme, finding existing translations unsatisfactory. I was quite pleased with the result, but sadly can no longer lay my hands on it. But words like "feuertrunken" are really quite untranslatable.)


On 11 Aug 2013, at 16:14, Dimitre Novatchev wrote:

Hi,
 
Given this source XML document:
 
<p xmlns="http://example.com/one" xml:lang="de" author="Friedrich von Schiller">
Freude, schöner Götterfunken,<br/>
Tochter aus Elysium,<br/>
Wir betreten feuertrunken,<br/>
Himmlische, dein Heiligtum.</p>
 
 
I try to transform it with the following XSLT 3.0 transformation:
 
<xsl:stylesheet version="3.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
 <xsl:output omit-xml-declaration="yes" indent="yes"/>
 <xsl:strip-space elements="*"/>
 <xsl:template match="/">
   <xsl:sequence select=
   "/Q{http://example.com/one}p[1]/@Q{http://www.w3.org/XML/1998/namespace}lang"/>
 </xsl:template>
</xsl:stylesheet>
 
 
When run with axon-EE 9.5.0.1J, the result is:
 
Saxon-EE 9.5.0.1J from Saxonica
Java version 1.7.0_25
Using license serial number XXXXXXXXX
Generating byte code...
Stylesheet compilation time: 291 milliseconds
Processing file:C:/Program%20Files%20(x86)/Java/jre7/bin/marrowtr.xml
Using parser com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser
Building tree for file:/C:/Program%20Files%20(x86)/Java/jre7/bin/marrowtr.xml using class net.sf.saxon.tree.tiny.TinyBuilder
Tree built in 3 milliseconds
Tree size: 10 nodes, 106 characters, 2 attributes
Error on line 1048575
  XTDE0420: Cannot create an attribute node (xml:lang) whose parent is a document node
Transformation failed: Run-time errors were reported
 
 
I understand that we cannot create an attribute node for a document node, however the transformation has far less than 1048575 lines.
 
In a larger transformation, it wouldn't be easy for the user to locate exactly where the reported error happens.
 
Hope it isn't too difficult to fix this issue.

--
Cheers,
Dimitre Novatchev
---------------------------------------
Truly great madness cannot be achieved without significant intelligence.
---------------------------------------
To invent, you need a good imagination and a pile of junk
-------------------------------------
Never fight an inanimate object
-------------------------------------
To avoid situations in which you might make mistakes may be the
biggest mistake of all
------------------------------------
Quality means doing it right when no one is looking.
-------------------------------------
You've achieved success in your field when you don't know whether what you're doing is work or play
-------------------------------------
Facts do not cease to exist because they are ignored.
-------------------------------------
Typing monkeys will write all Shakespeare's works in 200yrs.Will they write all patents, too? :)
-------------------------------------
I finally figured out the only reason to be alive is to enjoy it.
 
------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk_______________________________________________
saxon-help mailing list archived at http://saxon.markmail.org/
saxon-help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/saxon-help




--
Cheers,
Dimitre Novatchev
---------------------------------------
Truly great madness cannot be achieved without significant intelligence.
---------------------------------------
To invent, you need a good imagination and a pile of junk
-------------------------------------
Never fight an inanimate object
-------------------------------------
To avoid situations in which you might make mistakes may be the
biggest mistake of all
------------------------------------
Quality means doing it right when no one is looking.
-------------------------------------
You've achieved success in your field when you don't know whether what you're doing is work or play
-------------------------------------
Facts do not cease to exist because they are ignored.
-------------------------------------
Typing monkeys will write all Shakespeare's works in 200yrs.Will they write all patents, too? :)
-------------------------------------
I finally figured out the only reason to be alive is to enjoy it.