Search found 264 matches

by sderrick
Wed Apr 15, 2015 3:54 pm
Forum: Common Problems
Topic: Controlling mouse click in xWatch view
Replies: 2
Views: 1437

Re: Controlling mouse click in xWatch view

Thanks, I will try that.
by sderrick
Tue Apr 14, 2015 7:05 pm
Forum: Common Problems
Topic: Controlling mouse click in xWatch view
Replies: 2
Views: 1437

Controlling mouse click in xWatch view

When I'm stepping through a script and have the xWatch view on top. I use this a lot since the variables view is almost worthless because Saxon has completely broken the ability to evaluate a variable "now". Anyway back to the topic at hand. If I click on an item in the xWatch list, instea...
by sderrick
Thu Apr 09, 2015 4:22 pm
Forum: Common Problems
Topic: Flacky XSLT Debugger
Replies: 9
Views: 4486

Re: Flacky XSLT Debugger

thanks for the detailed reply. Its nice to know you folks are up on the problems and seeking solutions.

Its too bad you are so closely tied to a engine that has such poor debugger support. Saxon is making you guys look really bad.
by sderrick
Wed Apr 08, 2015 6:01 pm
Forum: Common Problems
Topic: Flacky XSLT Debugger
Replies: 9
Views: 4486

Re: Flacky XSLT Debugger

Thats good news and appreciated. When you force Saxon to provide a way to disable (late) initialization of variables, so your debugger has a functional variable view, instead of the crippled thing we have now, or figure out a way to work around that I will be a happy customer. Is it possible to have...
by sderrick
Tue Mar 03, 2015 2:07 am
Forum: XSLT and FOP
Topic: Need to tokenize words that are ALL CAPS
Replies: 2
Views: 2357

Re: Need to tokenize words that are ALL CAPS

I've decided to use <xsl:analyze-string select="." regex="([A-Z]{{2,}})( [A-Z]{{2,}})*"> <xsl:matching-substring> <xsl:element name="u"> <xsl:value-of select=" lower-case(.)"/> </xsl:element> </xsl:matching-substring> <xsl:non-matching-substring> <xsl:value-of...
by sderrick
Sat Feb 28, 2015 1:33 am
Forum: XSLT and FOP
Topic: Need to tokenize words that are ALL CAPS
Replies: 2
Views: 2357

Need to tokenize words that are ALL CAPS

I need to tokenize words that are ALL CAPS in certain text() nodes. I can find them using the regex expression '\b(?=[A-Z])[A-Z ]+(?=\W)' except xslt doesn't support boundary identifiers like \b (word boundary) This regex will find the two word groups 'WE DOING' and 'BOB' in the string below. How ar...
by sderrick
Thu Jan 29, 2015 6:16 pm
Forum: Common Problems
Topic: Flacky XSLT Debugger
Replies: 9
Views: 4486

Re: Flacky XSLT Debugger

Adrian, Thanks for the work around on the illusive breakpoint indicators. Thats a big help. I will see if I can come up with an example xml/xsl pair for the most frustrating bugs. I don't have a lot of time to put into what my employers would consider wasted time. Also the problems don't happen on s...
by sderrick
Sat Jan 24, 2015 10:01 pm
Forum: Common Problems
Topic: Flacky XSLT Debugger
Replies: 9
Views: 4486

Re: Flacky XSLT Debugger

Yet another new annoyance: Set a few breakpoints in a xsl script in the debugger. Close Oxygen, reopen Oxygen, the breakpoints are in the breakpoint list, and the debugger will stop at them, but they don't show in the debugger's XSL view. The only way I can get them to show is to mouse click where t...
by sderrick
Sat Jan 24, 2015 7:58 pm
Forum: Common Problems
Topic: Flacky XSLT Debugger
Replies: 9
Views: 4486

Flacky XSLT Debugger

I've been using Oxygen for about 5 years now, upgrading with every new release. Sometimes I regret ever upgrading. The debugger has become more and more unreliable with every upgrade. I continue to expect a better experience and continue to be disappointed. Local variables may or may not be availabl...
by sderrick
Fri Jan 24, 2014 6:50 pm
Forum: Common Problems
Topic: Update without java
Replies: 1
Views: 1095

Update without java

I already have the latest java jdk installed. I don't want an older version.

How can I download the latest update of Oxygen without the wasted payload?

Scott
by sderrick
Wed Oct 02, 2013 5:20 pm
Forum: XSLT and FOP
Topic: Error messages from saxon
Replies: 3
Views: 2509

Re: Error messages from saxon

Adrian,

thanks. I will look into writing my own trace class that only outputs the source line of an error.

I think the ultimate solution is to really lock down the xml with a hardened schema.

thanks

Scott
by sderrick
Tue Oct 01, 2013 5:19 pm
Forum: XSLT and FOP
Topic: Error messages from saxon
Replies: 3
Views: 2509

Error messages from saxon

I know this is not a Oxygen specific question but I get better answers here than anywhere else. After developing a script for transformation using Oxygen, it goes into production using a website interface, that executes the saxon command line java program. If there is a problem the terminal output i...
by sderrick
Wed Sep 11, 2013 4:53 pm
Forum: Feature Request
Topic: Can I force a really dumb Author mode?
Replies: 2
Views: 2179

Re: Can I force a really dumb Author mode?

Alex,

thanks for the info. Just what I was looking for!

Scott
by sderrick
Tue Sep 10, 2013 8:52 pm
Forum: Feature Request
Topic: Can I force a really dumb Author mode?
Replies: 2
Views: 2179

Can I force a really dumb Author mode?

We have a large selection of books in XML, TEI to be exact. Some of the books are translated versions, and the translations are updated periodically. The structure never changes but the text does. In Author mode there are indications of underlying tags and special unicode characters. There is also f...
by sderrick
Fri May 10, 2013 10:08 pm
Forum: Common Problems
Topic: HELP! Cannot debug xsl that uses xsl:result-document anymor
Replies: 8
Views: 4502

Re: HELP! Cannot debug xsl that uses xsl:result-document an

If or when I find the time I can do that.

In the mean time I've gone back to 14.1

Scott
by sderrick
Fri May 10, 2013 8:14 pm
Forum: Common Problems
Topic: HELP! Cannot debug xsl that uses xsl:result-document anymor
Replies: 8
Views: 4502

Re: HELP! Cannot debug xsl that uses xsl:result-document an

I just started up 14.1 to verify the problem was in 14.2 and it runs the script fine in the debugger...

Scott
by sderrick
Fri May 10, 2013 7:33 pm
Forum: Common Problems
Topic: HELP! Cannot debug xsl that uses xsl:result-document anymor
Replies: 8
Views: 4502

HELP! Cannot debug xsl that uses xsl:result-document anymor

I just upgraded to 14.2, Linux stand alone Oxygen I needed to debug a script I hadn't looked at since I upgraded. Now the debugger reports an error as soon as I encounter this line, #154 <xsl:result-document href="{$filename}" format="csps-xhtml"> Of course the script runs fine b...
by sderrick
Tue May 07, 2013 10:39 pm
Forum: Common Problems
Topic: Error reported in schema when using xsi:schemaLocation
Replies: 2
Views: 4020

Re: Error reported in schema when using xsi:schemaLocation

I knew it was pilot error!

That did the trick, thanks..

Scott
by sderrick
Tue May 07, 2013 8:08 pm
Forum: Common Problems
Topic: Error reported in schema when using xsi:schemaLocation
Replies: 2
Views: 4020

Error reported in schema when using xsi:schemaLocation

I have a schema, if I load up the rnc file Oxygen says its OK. If I use this at the top of my xml file the schema is used, no errors and Oxygen validates with the schema <?xml version="1.0" encoding="UTF-8"?> <?oxygen RNGSchema="../schemas/mbel.rnc" type="compact&q...
by sderrick
Fri Mar 22, 2013 6:20 pm
Forum: General XML Questions
Topic: non-greedy reg-ex broken?
Replies: 4
Views: 2876

Re: non-greedy reg-ex broken?

Got it! Sorry for being such a dufus! :shock:
by sderrick
Thu Mar 21, 2013 4:51 pm
Forum: General XML Questions
Topic: non-greedy reg-ex broken?
Replies: 4
Views: 2876

Re: non-greedy reg-ex broken?

Apparently the whole world(every site I checked) disagrees with your interpretation of non-greedy expressions. As I stated, a <tag>.*?</tag> should only match the first pair or tags in the string see http://www.regular-expressions.info/repeat.html http://www.itworld.com/nl/perl/01112001 http://www.a...
by sderrick
Thu Mar 21, 2013 12:12 am
Forum: General XML Questions
Topic: non-greedy reg-ex broken?
Replies: 4
Views: 2876

non-greedy reg-ex broken?

Linux 14.1 Editor using "<emph ana="italic">(.*?)</emph>," as my search string on "<emph ana="italic">is</emph> my sister? so I might have taken her to me to wife: now therefore behold thy wife, take <emph ana="italic">her</emph>," I would expect it ...
by sderrick
Wed Feb 06, 2013 9:28 pm
Forum: General XML Questions
Topic: Restrictive editing?
Replies: 2
Views: 1972

Re: Restrictive editing?

I just found

Editor / Edit modes / Text / "Lock the XML Tags"!

Which as first blush looked like exactly what I wanted.

However I don't see that option in "Author Mode"? Really! :cry:

Scott
by sderrick
Wed Feb 06, 2013 9:14 pm
Forum: General XML Questions
Topic: Restrictive editing?
Replies: 2
Views: 1972

Restrictive editing?

We have many xml(TEI) documents that have the "text" in English. The structure is as important as the text. Normally our translators use Word to type in the translated edition and then we go through a laborious process of getting that .doc format into the correct and identical XML structur...
by sderrick
Wed Oct 03, 2012 10:35 pm
Forum: Common Problems
Topic: Lost transformation scenarios?
Replies: 1
Views: 1206

Re: Lost transformation scenarios?

found um!
by sderrick
Wed Oct 03, 2012 10:29 pm
Forum: Common Problems
Topic: Lost transformation scenarios?
Replies: 1
Views: 1206

Lost transformation scenarios?

I upgraded to 14 and now I don't see all my transformation scenarios?

I see only one per source document, I had 3 or 4 per source depending on the target format?

Where could they be hiding?

thanks,

Scott
by sderrick
Thu Sep 27, 2012 12:41 am
Forum: XSLT and FOP
Topic: calling the document() function from within a for-each loop
Replies: 2
Views: 4064

calling the document() function from within a for-each loop

I need to process multiple documents, I have a list of filenames and am using a for-each loop to process the list When inside the for-each, I can't use something like document(resolve-uri('build.log', document-uri(/))) because document-uri(/) means nothing in the context of a for-each loop I tried a...
by sderrick
Thu Sep 27, 2012 12:16 am
Forum: Common Problems
Topic: Variable not defined sometimes?
Replies: 11
Views: 5328

Re: Variable not defined sometimes?

Fantastic news!!! :D

I'll wait for the official release of 14.1 as I'm up to my elbows in a xml transformation project and don't have time righ tnow to play beta tester.

thanks for pursuing this.

Scott
by sderrick
Wed Sep 26, 2012 11:11 pm
Forum: Common Problems
Topic: can't get -it parameter to work?
Replies: 3
Views: 1694

Re: can't get -it parameter to work?

Yes I figured out that work around for the bug in your UI. Buts its not good enough. To properly debug a script I need to call it like it is called "in the wild". Supplying the -s option to the script in the debugger is not the same as not supplying it when I use it in production. I need a...
by sderrick
Tue Sep 25, 2012 11:39 pm
Forum: Common Problems
Topic: can't get -it parameter to work?
Replies: 3
Views: 1694

can't get -it parameter to work?

Version 14, Linux I'm processing a non-xml file into an xml file. Using the unparsed-text(filename) function. I have a named template I want to call when I execute the script. I'm trying to run it in the debugger using the -it parameter. my template <xsl:template match="/" name="main&...