Page 1 of 1

What are these ???

Posted: Thu Jun 09, 2011 11:08 pm
by sderrick
I applied a transform I haven't used a while, this is an xml to xml transform.

For the first time I am now getting  inserted after every opening tag????

here is the original

Code: Select all


           <publicationStmt>
<publisher>The Writings of Mary Baker Eddy</publisher>
</publicationStmt>
<sourceDesc>
<p>Digital edition derived from Windows Concord markup.</p>
<p>
<msDesc>
<msIdentifier/>
<physDesc>
<objectDesc>
<p>
A complete description of the TEI structure used in this docment can be found
in the associated books/doc/"tei-Unity.doc" file.
</p>
here is the result doc

Code: Select all



<publicationStmt>&#x1e;&#x1e;&#x1e;
<publisher>&#x1e;&#x1e;&#x1e;The Writings of Mary Baker Eddy</publisher>
</publicationStmt>
<sourceDesc>&#x1e;&#x1e;&#x1e;
<p>&#x1e;&#x1e;&#x1e;Digital edition derived from Windows Concord markup.</p>
<p>&#x1e;&#x1e;&#x1e;
<msDesc>&#x1e;&#x1e;&#x1e;
<msIdentifier/>
<physDesc>&#x1e;&#x1e;&#x1e;
<objectDesc>&#x1e;&#x1e;&#x1e;
<p>&#x1e;&#x1e;&#x1e;
A complete description of the TEI structure used in this docment can be found
in the associated books/doc/"tei-Unity.doc" file.
</p>
what am I doing wrong?

Re: What are these &#x1e;&#x1e;&#x1e;???

Posted: Thu Jun 09, 2011 11:12 pm
by sderrick
A little more information.

If I apply the transform in the debugger I get the &#x1e;'s inserted.

If I apply the transform through the Document/Transformation/...

I don't get the &#x1e;'s....

Scott

Re: What are these &#x1e;&#x1e;&#x1e;???

Posted: Fri Jun 10, 2011 4:36 pm
by adrian
Hello,
sderrick wrote:If I apply the transform through the Document/Transformation/...

I don't get the &#x1e;'s....
So what happens if you start the debugging from Document -> Transformation -> Debug scenario ?

Regards,
Adrian

Re: What are these &#x1e;&#x1e;&#x1e;???

Posted: Wed Jun 22, 2011 5:59 pm
by sderrick
I still get them!!! This is somewhat irritating.

here's another sample of the fubar output

Code: Select all


    <teiHeader>&#x1e;&#x1e;&#x1e;
<fileDesc>&#x1e;&#x1e;&#x1e;
<titleStmt>&#x1e;&#x1e;&#x1e;
<title>&#x1e;&#x1e;&#x1e;Pulpit and Press</title>
<author>&#x1e;&#x1e;&#x1e;Mary Baker Eddy</author>
<respStmt>&#x1e;&#x1e;&#x1e;
<name>&#x1e;&#x1e;&#x1e;Scott Derrick</name>
<resp>&#x1e;&#x1e;&#x1e;conversion to TEI markup</resp>
</respStmt>
</titleStmt>
<publicationStmt>&#x1e;&#x1e;&#x1e;
<publisher>&#x1e;&#x1e;&#x1e;The Writings of Mary Baker Eddy</publisher>
</publicationStmt>
here's a sample of running the same stylesheet, normally(either in Oxygen[not in the debugger] or on the command line using saxon)

Code: Select all


    <teiHeader>
<fileDesc>
<titleStmt>
<title>Pulpit and Press</title>
<author>Mary Baker Eddy</author>
<respStmt>
<name>Scott Derrick</name>
<resp>conversion to TEI markup</resp>
</respStmt>
</titleStmt>
<publicationStmt>
<publisher>The Writings of Mary Baker Eddy</publisher>
</publicationStmt>
It would be nice to find a work around...

Scott

Re: What are these &#x1e;&#x1e;&#x1e;???

Posted: Wed Jun 22, 2011 10:32 pm
by adrian
Hi,

Please export your options which include the transformation scenarios(Options -> Export Global Options) and send the exported file to our support email address: support@oxygenxml.com

Regards,
Adrian

Re: What are these &#x1e;&#x1e;&#x1e;???

Posted: Fri Nov 11, 2011 3:43 pm
by yamahito
Hi Adrian,

What was the result of this query? I am experiencing the same symptoms (inclusion of the same illegal characters when running through debugger, expected output when using transformation scenario).

I believe that in my case it is tied to the use of saxon:character-representation='hex' on xsl:output.

I am using Saxon PE without DTD validation.

Cheers,
Tom

Re: What are these &#x1e;&#x1e;&#x1e;???

Posted: Fri Nov 11, 2011 10:16 pm
by adrian
Hi,

After sending us the options file there was no further follow-up, so no conclusion.

I have asked the previous person(but did not get a response) if there are any <xsl:output or <xsl:character-map elements in the stylesheet.
My guess is one of these elements could be triggering that behaviour.

Have you tried removing saxon:character-representation='hex' ?
Did it make a difference?

Regards,
Adrian

Re: What are these &#x1e;&#x1e;&#x1e;???

Posted: Fri Nov 11, 2011 10:52 pm
by yamahito
Yes, removing the 'hex' option bypasses the bug.

In my case that's fine for debugging (or I just live with the invalid result), but the 'hex' option needs to be there when actually run.

So it's not a show-stopper or anything, just a minor annoyance.

Re: What are these &#x1e;&#x1e;&#x1e;???

Posted: Tue Nov 15, 2011 1:42 pm
by adrian
Hi,

We could not reproduce this with saxon:character-representation='hex'.

What version of Oxygen(Help -> About) and what edition and version of Saxon(engine combo) were you using?

Regards,
Adrian