What are these ???
Here should go questions about transforming XML with XSLT and FOP.
-
- Posts: 269
- Joined: Sat Jul 10, 2010 4:03 pm
What are these ???
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
here is the result doc
what am I doing wrong?
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>
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>
-
- Posts: 269
- Joined: Sat Jul 10, 2010 4:03 pm
Re: What are these ???
A little more information.
If I apply the transform in the debugger I get the 's inserted.
If I apply the transform through the Document/Transformation/...
I don't get the 's....
Scott
If I apply the transform in the debugger I get the 's inserted.
If I apply the transform through the Document/Transformation/...
I don't get the 's....
Scott
-
- Posts: 2879
- Joined: Tue May 17, 2005 4:01 pm
Re: What are these ???
Hello,
Regards,
Adrian
So what happens if you start the debugging from Document -> Transformation -> Debug scenario ?sderrick wrote:If I apply the transform through the Document/Transformation/...
I don't get the 's....
Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
-
- Posts: 269
- Joined: Sat Jul 10, 2010 4:03 pm
Re: What are these ???
I still get them!!! This is somewhat irritating.
here's another sample of the fubar output
here's a sample of running the same stylesheet, normally(either in Oxygen[not in the debugger] or on the command line using saxon)
It would be nice to find a work around...
Scott
here's another sample of the fubar output
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>
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>
Scott
-
- Posts: 2879
- Joined: Tue May 17, 2005 4:01 pm
Re: What are these ???
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
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
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
-
- Posts: 11
- Joined: Fri Nov 11, 2011 3:39 pm
Re: What are these ???
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
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
-
- Posts: 2879
- Joined: Tue May 17, 2005 4:01 pm
Re: What are these ???
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
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
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
-
- Posts: 11
- Joined: Fri Nov 11, 2011 3:39 pm
Re: What are these ???
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.
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.
-
- Posts: 2879
- Joined: Tue May 17, 2005 4:01 pm
Re: What are these ???
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
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
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service