From espen at espenore.tk Thu Sep 1 01:48:38 2011 From: espen at espenore.tk (Espen S. Ore) Date: Thu, 01 Sep 2011 08:48:38 +0200 Subject: [oXygen-user] Validating entities? Message-ID: <4E5F2AC6.6090809@espenore.tk> This is possibly a silly question, please forgive me if that is the case: We have text files and RelaxNG schemas for them. In addition we point to DTD-fragments for defining entities. It seems that validation in Oxygen (both 12.x and 13) out-of-the-box does not check to see if entities used in the text file are declared or not, that the files are considered valid even if they use entity-names that are not used. A typical start-of-textfile may look like this: %HIS_entiteter; ]> Henrik Ibsens skrifter Diplomatarisk tekstarkiv Peer Gynt NBO Ms.8° 894 (trykt eksemplar med rettelser) [1874] What can we do to have an error flagged if [ is not declared? Best regards, Espen Ore University of Oslo From radu_coravu at sync.ro Thu Sep 1 03:00:36 2011 From: radu_coravu at sync.ro (Radu Coravu) Date: Thu, 01 Sep 2011 11:00:36 +0300 Subject: [oXygen-user] Validating entities? In-Reply-To: <4E5F2AC6.6090809@espenore.tk> References: <4E5F2AC6.6090809@espenore.tk> Message-ID: <4E5F3BA4.9070300@sync.ro> Hi Espen, The TEI P5 document is validated against the RelaxNG schema but the Xerces parser is used to parse the XML file (and also the associated DTD infoset). By default the Xerces parser does not report unknown entity declarations when it is used to parse an XML file. To activate this behavior you can modify the XML declaration on top of the file to set the "standalone" flag like: > If you do not specify the flag the parser will consider the file as being a possible module and thus does not report the unknown entity references as errors. The specs for the "standalone" attribute is here: > http://www.w3.org/TR/xml/#sec-rmd Regards, Radu Radu Coravu XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com On 9/1/2011 9:48 AM, Espen S. Ore wrote: > This is possibly a silly question, please forgive me if that is the case: > > We have text files and RelaxNG schemas for them. In addition we point to > DTD-fragments for defining entities. It seems that validation in Oxygen > (both 12.x and 13) out-of-the-box does not check to see if entities used > in the text file are declared or not, that the files are considered > valid even if they use entity-names that are not used. A typical > start-of-textfile may look like this: > > > [ > 'http://www.edd.uio.no/ibsen/schema/ibsen-charent.dtd'> > %HIS_entiteter; > ]> > type="application/relax-ng-compact-syntax"?> > xmlns:HIS="http://www.example.org/ns/HIS"> > > > > Henrik Ibsens skrifter > Diplomatarisk tekstarkiv > Peer Gynt > NBO Ms.8° 894 (trykt eksemplar med > rettelser) > [1874] > > What can we do to have an error flagged if[ is not declared? > > Best regards, > Espen Ore > University of Oslo > _______________________________________________ > oXygen-user mailing list > oXygen-user at oxygenxml.com > http://www.oxygenxml.com/mailman/listinfo/oxygen-user > From espen at espenore.tk Thu Sep 1 03:12:42 2011 From: espen at espenore.tk (Espen S. Ore) Date: Thu, 01 Sep 2011 10:12:42 +0200 Subject: [oXygen-user] Validating entities? In-Reply-To: <4E5F3BA4.9070300@sync.ro> References: <4E5F2AC6.6090809@espenore.tk> <4E5F3BA4.9070300@sync.ro> Message-ID: <4E5F3E7A.8050409@espenore.tk> Thank you very much! Espen Den 01. sep. 2011 10:00, skrev Radu Coravu: > Hi Espen, > > The TEI P5 document is validated against the RelaxNG schema but the > Xerces parser is used to parse the XML file (and also the associated DTD > infoset). > > By default the Xerces parser does not report unknown entity declarations > when it is used to parse an XML file. > To activate this behavior you can modify the XML declaration on top of > the file to set the "standalone" flag like: > >> > > If you do not specify the flag the parser will consider the file as > being a possible module and thus does not report the unknown entity > references as errors. > > The specs for the "standalone" attribute is here: > >> http://www.w3.org/TR/xml/#sec-rmd > > Regards, > Radu > > Radu Coravu > XML Editor, Schema Editor and XSLT Editor/Debugger > http://www.oxygenxml.com > > > On 9/1/2011 9:48 AM, Espen S. Ore wrote: >> This is possibly a silly question, please forgive me if that is the case: >> >> We have text files and RelaxNG schemas for them. In addition we point to >> DTD-fragments for defining entities. It seems that validation in Oxygen >> (both 12.x and 13) out-of-the-box does not check to see if entities used >> in the text file are declared or not, that the files are considered >> valid even if they use entity-names that are not used. A typical >> start-of-textfile may look like this: >> >> >> > [ >> > 'http://www.edd.uio.no/ibsen/schema/ibsen-charent.dtd'> >> %HIS_entiteter; >> ]> >> > type="application/relax-ng-compact-syntax"?> >> > xmlns:HIS="http://www.example.org/ns/HIS"> >> >> >> >> Henrik Ibsens skrifter >> Diplomatarisk tekstarkiv >> Peer Gynt >> NBO Ms.8° 894 (trykt eksemplar med >> rettelser) >> [1874] >> >> What can we do to have an error flagged if[ is not declared? >> >> Best regards, >> Espen Ore >> University of Oslo >> _______________________________________________ >> oXygen-user mailing list >> oXygen-user at oxygenxml.com >> http://www.oxygenxml.com/mailman/listinfo/oxygen-user >> > _______________________________________________ > oXygen-user mailing list > oXygen-user at oxygenxml.com > http://www.oxygenxml.com/mailman/listinfo/oxygen-user > From josteinaj at gmail.com Thu Sep 1 07:46:27 2011 From: josteinaj at gmail.com (Jostein Austvik Jacobsen) Date: Thu, 1 Sep 2011 14:46:27 +0200 Subject: [oXygen-user] Changing the line width Message-ID: Hi. I use the "Detect line width on open" option in Preferences->Editor->Format so that I don't mess up other peoples files when pretty-printing them. However, sometimes I do wish to change the line width of a specific file. Is it possible to change the line width of a specific file while at the same time having the "Detect line width on open" option enabled? Regards Jostein -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.oxygenxml.com/pipermail/oxygen-user/attachments/20110901/07b0847c/attachment.html From tkuster at collab.net Thu Sep 1 14:04:24 2011 From: tkuster at collab.net (Ted Kuster) Date: Thu, 01 Sep 2011 12:04:24 -0700 Subject: [oXygen-user] included in PDF Message-ID: <4E5FD738.5070709@collab.net> I have the same issue described here, where unwanted navtitle content is rendered in my PDF output: http://tech.groups.yahoo.com/group/dita-users/message/3701 I've tried the fixes suggested by Deborah, to no avail. I think I'm editing the right files, because I can change the label string (see screenshot attached). Can anyone suggest what I'm missing? Thanks Ted Kuster CollabNet -------------- next part -------------- A non-text attachment was scrubbed... Name: navtitle_problem.png Type: image/png Size: 111050 bytes Desc: not available Url : http://www.oxygenxml.com/pipermail/oxygen-user/attachments/20110901/31aa3ba5/attachment-0001.png From ekimber at reallysi.com Thu Sep 1 14:36:25 2011 From: ekimber at reallysi.com (Eliot Kimber) Date: Thu, 1 Sep 2011 14:36:25 -0500 Subject: [oXygen-user] included in PDF In-Reply-To: <4E5FD738.5070709@collab.net> Message-ID: What version of the Toolkit are you using? Are you using a Bookmap or a generic map? I've had this issue in the past and was looking for it in some PDF customization work I've been doing but haven't seen it. I just updated my Bookmap test to add navtitles to a chapter topic and a subchapter topic and I don't get either in the PDF output. This is with the 1.5.4M3 Toolkit. Cheers, E. On 9/1/11 2:04 PM, "Ted Kuster" wrote: > I have the same issue described here, where unwanted navtitle content is > rendered in my PDF output: > http://tech.groups.yahoo.com/group/dita-users/message/3701 > I've tried the fixes suggested by Deborah, to no avail. > I think I'm editing the right files, because I can change the label > string (see screenshot attached). > Can anyone suggest what I'm missing? > Thanks > Ted Kuster > CollabNet -- Eliot Kimber Senior Solutions Architect "Bringing Strategy, Content, and Technology Together" Main: 512.554.9368 www.reallysi.com www.rsuitecms.com From radu_coravu at sync.ro Fri Sep 2 02:09:47 2011 From: radu_coravu at sync.ro (Radu Coravu) Date: Fri, 02 Sep 2011 10:09:47 +0300 Subject: [oXygen-user] included in PDF In-Reply-To: <4E5FD738.5070709@collab.net> References: <4E5FD738.5070709@collab.net> Message-ID: <4E60813B.6090809@sync.ro> Hi Ted, As Eliot said, we need more details. What version of the DITA OT are you using? Can you give us some sample DITA content? Are you using the PDF IDIOM DITA OT transformation or the old deprecated DITA OT PDF transformation? The Dita Users thread you are referring to was started by someone using the old DITA OT PDF plugin. Regards, Radu Radu Coravu XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com On 9/1/2011 10:04 PM, Ted Kuster wrote: > I have the same issue described here, where unwanted navtitle content is > rendered in my PDF output: > http://tech.groups.yahoo.com/group/dita-users/message/3701 > I've tried the fixes suggested by Deborah, to no avail. > I think I'm editing the right files, because I can change the label > string (see screenshot attached). > Can anyone suggest what I'm missing? > Thanks > Ted Kuster > CollabNet > > > > _______________________________________________ > oXygen-user mailing list > oXygen-user at oxygenxml.com > http://www.oxygenxml.com/mailman/listinfo/oxygen-user From lists at fgeorges.org Wed Sep 7 04:13:20 2011 From: lists at fgeorges.org (Florent Georges) Date: Wed, 7 Sep 2011 10:13:20 +0100 (BST) Subject: [oXygen-user] oXygen vocabulary for XSLT documentation Message-ID: <1315386800.2195.YahooMailNeo@web29516.mail.ird.yahoo.com> ? Hi, ? I use the http://www.oxygenxml.com/ns/doc/xsl elements to document a stylesheet. ?I am looking for an equivalent of the HTML element CODE, to insert an inline piece of code. ?But the only inline elements I can find are for bold and italic. ?Did I miss something? ? Also, because I know I am going to generate HTML output, is it possible to use XHTML elements in an xd:p element? ?In order to escape to raw HTML when there is no support in the oXygen doc vocabulary for something I want to use in HTML (e.g. the CODE element, if it happens to be not supported). ? And finally, for the same reason, is it possible to customize the generation of the output? (I guess there is at least some XSLT involved in there... ;-p) ? Regards, --? Florent Georges http://fgeorges.org/ http://h2oconsulting.be/ From alex_jitianu at sync.ro Wed Sep 7 06:39:41 2011 From: alex_jitianu at sync.ro (Alex Jitianu) Date: Wed, 07 Sep 2011 14:39:41 +0300 Subject: [oXygen-user] oXygen vocabulary for XSLT documentation In-Reply-To: <1315386800.2195.YahooMailNeo@web29516.mail.ird.yahoo.com> References: <1315386800.2195.YahooMailNeo@web29516.mail.ird.yahoo.com> Message-ID: <4E6757FD.70003@sync.ro> Hi, Unfortunately such an element doesn't exist. I will post a request for us to add an element similar to the HTML 'code' element. But for now, you can use HTML elements and they will be recognized and copied as they are (they must be from namespace http://www.w3.org/1999/xhtml in order to be recognized). Also the stylesheets used to obtain the HTML output are available in {oXygenInstallDir}/frameworks/stylesheet_documentation/xsl. The schemas for the documentation format as well as for the intermediate XML generated from the stylesheets are also available in the stylesheet_documentation folder. To make Oxygen use other stylesheets for output you have to switch to the "Custom" format in the "XSL Stylesheet Documentation" dialog and specify the stylesheets to be used through the "Options" button. Regards, Alex Alex Jitianu XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com On 9/7/2011 12:13 PM, Florent Georges wrote: > Hi, > > I use the http://www.oxygenxml.com/ns/doc/xsl elements to > document a stylesheet. I am looking for an equivalent of the > HTML element CODE, to insert an inline piece of code. But the > only inline elements I can find are for bold and italic. Did I > miss something? > > Also, because I know I am going to generate HTML output, is it > possible to use XHTML elements in an xd:p element? In order to > escape to raw HTML when there is no support in the oXygen doc > vocabulary for something I want to use in HTML (e.g. the CODE > element, if it happens to be not supported). > > And finally, for the same reason, is it possible to customize > the generation of the output? (I guess there is at least some > XSLT involved in there... ;-p) > > Regards, > > -- > Florent Georges > http://fgeorges.org/ > http://h2oconsulting.be/ > _______________________________________________ > oXygen-user mailing list > oXygen-user at oxygenxml.com > http://www.oxygenxml.com/mailman/listinfo/oxygen-user > From adrian at sync.ro Wed Sep 7 07:21:58 2011 From: adrian at sync.ro (Adrian Buza) Date: Wed, 07 Sep 2011 15:21:58 +0300 Subject: [oXygen-user] Changing the line width In-Reply-To: References: Message-ID: <4E6761E6.8040307@sync.ro> Hello, Unfortunately, as you've probably guessed by now, this is not possible. If you want to change the width only for a specific file you will have to manually disable "Detect line width on open", change the "Line width - Format and Indent" option and format the document. Then you have to manually re-enable "Detect line width on open" so you won't affect other files. The new width will be detected in the already formatted file. Regards, Adrian Adrian Buza oXygen XML Editor and Author Support support at oxygenxml.com Jostein Austvik Jacobsen wrote: > Hi. > > I use the "Detect line width on open" option in > Preferences->Editor->Format so that I don't mess up other peoples > files when pretty-printing them. However, sometimes I do wish to > change the line width of a specific file. > > Is it possible to change the line width of a specific file while at > the same time having the "Detect line width on open" option enabled? > > Regards > Jostein > ------------------------------------------------------------------------ > > _______________________________________________ > oXygen-user mailing list > oXygen-user at oxygenxml.com > http://www.oxygenxml.com/mailman/listinfo/oxygen-user > From lists at fgeorges.org Wed Sep 7 10:00:20 2011 From: lists at fgeorges.org (Florent Georges) Date: Wed, 7 Sep 2011 16:00:20 +0100 (BST) Subject: [oXygen-user] oXygen vocabulary for XSLT documentation In-Reply-To: <4E6757FD.70003@sync.ro> References: <1315386800.2195.YahooMailNeo@web29516.mail.ird.yahoo.com> <4E6757FD.70003@sync.ro> Message-ID: <1315407620.37421.YahooMailNeo@web29508.mail.ird.yahoo.com> Alex Jitianu wrote: ? Thanks! ?That's helpful info. > But for now, you can use HTML elements and they will be > recognized and copied as they are (they must be from namespace > http://www.w3.org/1999/xhtml in order to be recognized). ? That's what I thought too, so I tried but it didn't work. But... ?I must agree that by "didn't work" I mean it did not produce the expected visual result in the browser. ?But after your response I looked at the generated HTML source, and it turned out that the element was there, in the correct namespace, with the same prefix, but browsers interpret it as XHTML only when the element name has no prefix... ? So this works, yes, but only when one uses the XHTML namespace without prefix in the stylesheet itself. ?Which is too big a constraint for me. ? So I changed stylesheet_documentation/xsl/htmlDocToHtml.xsl by removing: ? ? ? ? ? ? ? ? ? ? ? ... and changing it to: ? ? ? ? ? ? ? ? ? ? ? ... which should solve the problem, but it does not seem to change anything in the output (even after I restarted oXygen). ?Maybe I simply picked the wrong stylesheet? ? Regards, --? Florent Georges http://fgeorges.org/ http://h2oconsulting.be/ From alex_jitianu at sync.ro Thu Sep 8 01:17:52 2011 From: alex_jitianu at sync.ro (Alex Jitianu) Date: Thu, 08 Sep 2011 09:17:52 +0300 Subject: [oXygen-user] oXygen vocabulary for XSLT documentation In-Reply-To: <1315407620.37421.YahooMailNeo@web29508.mail.ird.yahoo.com> References: <1315386800.2195.YahooMailNeo@web29516.mail.ird.yahoo.com> <4E6757FD.70003@sync.ro> <1315407620.37421.YahooMailNeo@web29508.mail.ird.yahoo.com> Message-ID: <4E685E10.6060401@sync.ro> Have you switched to the "Custom" format in the "XSL Stylesheet Documentation" dialog? I forgot to mention that the main XSL that should be specified in the "Options" dialog is "xslDocHtml.xsl" from the same folder {oXygenInstallDir}/frameworks/stylesheet_documentation/xsl. The stylesheets from the "frameworks" folder are a copy of the ones used for the HTML format so you have to switch to "Custom" in order for them to be used. It's also helpful to check "Copy additional resources to the output folder" - it will copy the images used by the HTML format. Also, considering the fact that the output is HTML I think that your approach to remove the prefix from the XHTML element is the way to go. We will update the stylesheets ourselves with this fix. Thanks for letting us know. Regards, Alex Alex Jitianu XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com On 9/7/2011 6:00 PM, Florent Georges wrote: > So I changed stylesheet_documentation/xsl/htmlDocToHtml.xsl by > removing: > > > > ... > > and changing it to: > > > namespace="http://www.w3.org/1999/xhtml"> > ... > > which should solve the problem, but it does not seem to change > anything in the output (even after I restarted oXygen). Maybe I > simply picked the wrong stylesheet? > > Regards, > > -- > Florent Georges > http://fgeorges.org/ > http://h2oconsulting.be/ > From lists at fgeorges.org Mon Sep 12 04:32:58 2011 From: lists at fgeorges.org (Florent Georges) Date: Mon, 12 Sep 2011 10:32:58 +0100 (BST) Subject: [oXygen-user] oXygen vocabulary for XSLT documentation In-Reply-To: <4E685E10.6060401@sync.ro> References: <1315386800.2195.YahooMailNeo@web29516.mail.ird.yahoo.com> <4E6757FD.70003@sync.ro> <1315407620.37421.YahooMailNeo@web29508.mail.ird.yahoo.com> <4E685E10.6060401@sync.ro> Message-ID: <1315819978.12357.YahooMailNeo@web29514.mail.ird.yahoo.com> Alex Jitianu wrote: ? Hi, > The stylesheets from the "frameworks" folder are a copy of the > ones used for the HTML format so you have to switch to "Custom" > in order for them to be used. ? Good catch! ?Because I modified directly the framework dir, I thought the changes whould be taken into account directly. ?They were not, but they are now specifying it in "Custom". > Also, considering the fact that the output is HTML I think that > your approach to remove the prefix from the XHTML element is the > way to go. ?We will update the stylesheets ourselves with this > fix. ? Good, thank you. ?I confirm it works on my system at least. ? Regards, --? Florent Georges http://fgeorges.org/ http://h2oconsulting.be/ From tkuster at collab.net Tue Sep 13 12:24:35 2011 From: tkuster at collab.net (Ted Kuster) Date: Tue, 13 Sep 2011 10:24:35 -0700 Subject: [oXygen-user] included in PDF In-Reply-To: References: Message-ID: <4E6F91D3.7000207@collab.net> Thanks for the quick reply and sorry for the delayed response. Release frenzy here. I was using the 1.5 toolkit, bundled with Oxygen Author 11.2. (I should upgrade, I know.) I swapped in the 1.5.3 toolkit and the problem went away. Ted On 09/01/2011 12:36 PM, Eliot Kimber wrote: > What version of the Toolkit are you using? Are you using a Bookmap or a > generic map? > > I've had this issue in the past and was looking for it in some PDF > customization work I've been doing but haven't seen it. I just updated my > Bookmap test to add navtitles to a chapter topic and a subchapter topic and > I don't get either in the PDF output. > > This is with the 1.5.4M3 Toolkit. > > Cheers, > > E. > > On 9/1/11 2:04 PM, "Ted Kuster" wrote: > >> I have the same issue described here, where unwanted navtitle content is >> rendered in my PDF output: >> http://tech.groups.yahoo.com/group/dita-users/message/3701 >> I've tried the fixes suggested by Deborah, to no avail. >> I think I'm editing the right files, because I can change the label >> string (see screenshot attached). >> Can anyone suggest what I'm missing? >> Thanks >> Ted Kuster >> CollabNet From ekimber at reallysi.com Tue Sep 20 09:06:11 2011 From: ekimber at reallysi.com (Eliot Kimber) Date: Tue, 20 Sep 2011 09:06:11 -0500 Subject: [oXygen-user] Enhancement Request: Toolbar button for Search/Replace in Files in Map Manager Message-ID: I use the search/replace across files in the map manager a lot and really miss having a button for it. I keep trying to use one of the other buttons. Cheers, E. -- Eliot Kimber Senior Solutions Architect "Bringing Strategy, Content, and Technology Together" Main: 512.554.9368 www.reallysi.com www.rsuitecms.com From radu_coravu at sync.ro Wed Sep 21 04:32:13 2011 From: radu_coravu at sync.ro (Radu Coravu) Date: Wed, 21 Sep 2011 12:32:13 +0300 Subject: [oXygen-user] Enhancement Request: Toolbar button for Search/Replace in Files in Map Manager In-Reply-To: References: Message-ID: <4E79AF1D.7060708@sync.ro> Hi Eliot, Thanks for the suggestion, we'll consider adding a "Find/Replace in Files" button to the DITA Maps Manager toolbar. In the meantime if you look in the Find menu, there is a keyboard shortcut for the "Find/Replace in Files" action. The dialog should remember the last searched Scope. This action can be invoked and used even without changing the focus from editing a topic to the DITA Maps Manager. Regards, Radu Radu Coravu XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com On 9/20/2011 5:06 PM, Eliot Kimber wrote: > I use the search/replace across files in the map manager a lot and really > miss having a button for it. I keep trying to use one of the other buttons. > > Cheers, > > E. From Roderik.Dernison at inl.nl Fri Sep 23 05:38:53 2011 From: Roderik.Dernison at inl.nl (Roderik Dernison) Date: Fri, 23 Sep 2011 10:38:53 +0000 Subject: [oXygen-user] webservice problem Message-ID: <11D2F5E48CF8644D83F8F8636708CE090FEADC1C@svprex10> Hi, I made an extension for selecting stuff from a database. This works. But now the data have to com from a remote server, so I made a webservice (using Spring 2.5.6). When I run the client standalone (outside Oxygen) it works fine and shows my data. But when I run it as an Oxygen author extension, no communication takes place. Is Oxygen blocking webservice communication? What can I do to resolve this problem? Kind regards, Roderik Dernison ________________________________ ---------------------------------------------------------- Aan dit bericht kunnen geen rechten worden ontleend. Het bericht is alleen bestemd voor de geadresseerde. Indien het bericht niet voor u is bestemd, verzoeken wij u dit aan ons te melden en het bericht te verwijderen. This message shall not constitute any obligations. This message is intended solely for the addressee. If you have received this message in error, please inform us and delete the message. ---------------------------------------------------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.oxygenxml.com/pipermail/oxygen-user/attachments/20110923/0a9b8008/attachment.html From radu_coravu at sync.ro Fri Sep 23 06:05:16 2011 From: radu_coravu at sync.ro (Radu Coravu) Date: Fri, 23 Sep 2011 14:05:16 +0300 Subject: [oXygen-user] webservice problem In-Reply-To: <11D2F5E48CF8644D83F8F8636708CE090FEADC1C@svprex10> References: <11D2F5E48CF8644D83F8F8636708CE090FEADC1C@svprex10> Message-ID: <4E7C67EC.4010602@sync.ro> Hi Roderik, How exactly does the code which calls the remote server look like? Do you have a web proxy between you and the client? Maybe you can post a snippet. No, we are not blocking web service communication. But Oxygen installs its custom HTTP protocol handler so if you are doing something like: > new URL("http://....").openConnection() then you are not creating the default Java SUN connection but the Oxygen HTTP connection (based on the Apache HTTP client). If you want to use a standard Java SUN HTTP connection you can use this construct to open the connection: > sun.net.www.protocol.http.HttpURLConnection sunConnection = new sun.net.www.protocol.http.HttpURLConnection(new URL("http://..."), null); Regards, Radu Radu Coravu XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com On 9/23/2011 1:38 PM, Roderik Dernison wrote: > Hi, > > I made an extension for selecting stuff from a database. This works. > > But now the data have to com from a remote server, so I made a > webservice (using Spring 2.5.6). When I run the client standalone > (outside Oxygen) it works fine and shows my data. But when I run it as > an Oxygen author extension, no communication takes place. > > Is Oxygen blocking webservice communication? > > What can I do to resolve this problem? > > Kind regards, > > Roderik Dernison > > > ------------------------------------------------------------------------ > > ---------------------------------------------------------- > Aan dit bericht kunnen geen rechten worden ontleend. > Het bericht is alleen bestemd voor de geadresseerde. > Indien het bericht niet voor u is bestemd, verzoeken wij > u dit aan ons te melden en het bericht te verwijderen. > > This message shall not constitute any obligations. > This message is intended solely for the addressee. > If you have received this message in error, please > inform us and delete the message. > ---------------------------------------------------------- > > > > _______________________________________________ > oXygen-user mailing list > oXygen-user at oxygenxml.com > http://www.oxygenxml.com/mailman/listinfo/oxygen-user From idiotprogrammer at gmail.com Mon Sep 26 01:35:06 2011 From: idiotprogrammer at gmail.com (Robert Nagle) Date: Mon, 26 Sep 2011 01:35:06 -0500 Subject: [oXygen-user] how to customize the docbook-to-epub ant script? Message-ID: I am trying to customize the ant-build script for docbook epub so that the customizations and the epub stylesheets are in my Windows user directories rather than in the system directories. for example I want to use the latest snapshot instead of the version which comes with Oxygen. Namely: my snapshot of docbook xsl: I:\My Documents\1latest\docbook-xsl-snapshot xml/xsl source to be here: I:\My Documents\My Dropbox\xml build.xml file is currently here C:\Program Files (x86)\Oxygen XML Editor 13\frameworks\docbook\xsl\epub\bin Could I still use this build.xml file in modified form? In which directory would be the best place to put the build.xml file? Should I copy the AddImagesContentOpf.xsl, copy.xsl, images.xsl, removeImagesContentOpf.xsl into I:\My Documents\1latest\docbook-xsl-snapshot\epub ? If I kept the build.xml file in my project directory I:\My Documents\My Dropbox\xml\ , which references would I need to fix? For example, I see in the build.xml file. I'm not sure where this catalog.xml file ought to reside. Finally in build.xml I see I'm not sure what this is supposed to do. Isn't this stuff I can already control from my docbook xsl customization layer? Why is it mentioned here? Thanks for your help. -- Robert Nagle 6121 Winsome Ln #56C, Houston TX 77057-5581 (H) 713 893 3424/ (W) 832-251-7522 Carbon Neutral Since Jan 2010 http://www.robertnagle.info From radu_coravu at sync.ro Mon Sep 26 07:23:51 2011 From: radu_coravu at sync.ro (Radu Coravu) Date: Mon, 26 Sep 2011 15:23:51 +0300 Subject: [oXygen-user] how to customize the docbook-to-epub ant script? In-Reply-To: References: Message-ID: <4E806ED7.4040602@sync.ro> Hi Robert, You should probably start by reading this forum post: > http://www.oxygenxml.com/forum/post19071.html?hilit=docbook%20epub#p19071 So right now there are two main XSLT steps when creating the EPUB output. First a Docbook profiling stylesheet is applied over the edited XML in order to obtain the filtered XML and then the filtered XML is transformed against the Docbook XSL to obtain the chunked HTML output. Regards, Radu Radu Coravu XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com On 9/26/2011 9:35 AM, Robert Nagle wrote: > I am trying to customize the ant-build script for docbook epub so that > the customizations and the epub stylesheets are in my Windows user > directories rather than in the system directories. for example I want > to use the latest snapshot instead of the version which comes with > Oxygen. Namely: > > my snapshot of docbook xsl: I:\My Documents\1latest\docbook-xsl-snapshot > xml/xsl source to be here: I:\My Documents\My Dropbox\xml > build.xml file is currently here C:\Program Files (x86)\Oxygen XML > Editor 13\frameworks\docbook\xsl\epub\bin > > Could I still use this build.xml file in modified form? In which > directory would be the best place to put the build.xml file? > > Should I copy the AddImagesContentOpf.xsl, copy.xsl, images.xsl, > removeImagesContentOpf.xsl into I:\My > Documents\1latest\docbook-xsl-snapshot\epub ? > > If I kept the build.xml file in my project directory I:\My > Documents\My Dropbox\xml\ , which references would I need to fix? For > example, I see > > > > > > > > in the build.xml file. I'm not sure where this catalog.xml file ought > to reside. > > Finally in build.xml I see > > style="../../profiling/profile.xsl" > classpath="classpath"> > > > > > > > value="org.apache.xerces.parsers.XIncludeParserConfiguration"/> > if="profile.arch"/> > if="profile.audience"/> > expression="${profile.condition}" if="profile.condition"/> > expression="${profile.conformance}" if="profile.conformance"/> > if="profile.lang"/> > > if="profile.revision"/> > expression="${profile.revisionflag}" if="profile.revisionflag"/> > if="profile.role"/> > if="profile.security"/> > if="profile.status"/> > expression="${profile.userlevel}" if="profile.userlevel"/> > if="profile.vendor"/> > if="profile.wordsize"/> > expression="${profile.attribute}" if="profile.attribute"/> > if="profile.value"/> > > > I'm not sure what this is supposed to do. Isn't this stuff I can > already control from my docbook xsl customization layer? Why is it > mentioned here? > > Thanks for your help. > > From idiotprogrammer at gmail.com Mon Sep 26 11:31:39 2011 From: idiotprogrammer at gmail.com (Robert Nagle) Date: Mon, 26 Sep 2011 11:31:39 -0500 Subject: [oXygen-user] how to customize the docbook-to-epub ant script? In-Reply-To: <4E806ED7.4040602@sync.ro> References: <4E806ED7.4040602@sync.ro> Message-ID: This raises two questions. First, I'd like to have access to several different versions of the Docbook stylesheets (i.e.,: snapshot, latest-docbook, latest-docbook-ns). I guess I'm reaching the conclusion that the Oxygen ant script would not help me because i need to change the XSL references. At the same time, it's a good model, and I'm wondering if I should copy those extra XSL files (e AddImagesContentOpf.xsl, copy.xsl, images.xsl, removeImagesContentOpf.xsl ) into a folder of each Docbook XSL I will be using. (The image handling parts are the most important/difficult parts of making the epub file). Do you have any thoughts about this? One other thing. You mention that the ant is running a profiling stylesheet. I've run two pass profiling before, but I'm not sure how Ant fits into this. Is the build script creating an xml output from a profiling XSL and using it as input for the final epub transformation? (I assume this output-from-profiing.xml file is temporary; is it deleted at some point, or is there a way to keep it so I can inspect it? Thanks. Robert On Mon, Sep 26, 2011 at 7:23 AM, Radu Coravu wrote: > Hi Robert, > > You should probably start by reading this forum post: >> http://www.oxygenxml.com/forum/post19071.html?hilit=docbook%20epub#p19071 > > So right now there are two main XSLT steps when creating the EPUB > output. First a Docbook profiling stylesheet is applied over the edited > XML in order to obtain the filtered XML and then the filtered XML is > transformed against the Docbook XSL to obtain the chunked HTML output. > > Regards, > Radu > > Radu Coravu > ?XML Editor, Schema Editor and XSLT Editor/Debugger > http://www.oxygenxml.com > > > On 9/26/2011 9:35 AM, Robert Nagle wrote: >> I am trying to customize the ant-build script for docbook epub so that >> the customizations and the epub stylesheets are in my Windows user >> directories rather than in the system directories. for example I want >> to use the latest snapshot instead of the version which comes with >> Oxygen. Namely: >> >> my snapshot of docbook xsl: ?I:\My Documents\1latest\docbook-xsl-snapshot >> xml/xsl source to be here: I:\My Documents\My Dropbox\xml >> build.xml file is currently here C:\Program Files (x86)\Oxygen XML >> Editor 13\frameworks\docbook\xsl\epub\bin >> >> Could I still use this build.xml file in modified form? In which >> directory ?would be the best place to put the build.xml file? >> >> Should I copy the AddImagesContentOpf.xsl, copy.xsl, images.xsl, >> removeImagesContentOpf.xsl into I:\My >> Documents\1latest\docbook-xsl-snapshot\epub ? >> >> If I kept the build.xml file in my project directory I:\My >> Documents\My Dropbox\xml\ , which references would I need to fix? For >> example, I see >> >> >> ? ? ? ? ? >> ? ? ? ? ? ? >> ? ? ? ? ? >> ? ? ? ? >> >> in the build.xml file. I'm not sure where this catalog.xml file ought >> to reside. >> >> Finally in build.xml I see >> >> ? ? ?> style="../../profiling/profile.xsl" >> ? ? ? ?classpath="classpath"> >> ? ? ? ? >> ? ? ? ? >> ? ? ? ? ? >> ? ? ? ? ? ? >> ? ? ? ? ? >> ? ? ? ? >> ? ? ? ?> ? ? ? ? ?value="org.apache.xerces.parsers.XIncludeParserConfiguration"/> >> ? ? ? ?> if="profile.arch"/> >> ? ? ? ?> if="profile.audience"/> >> ? ? ? ?> expression="${profile.condition}" if="profile.condition"/> >> ? ? ? ?> expression="${profile.conformance}" if="profile.conformance"/> >> ? ? ? ?> if="profile.lang"/> >> ? ? ? ? >> ? ? ? ?> if="profile.revision"/> >> ? ? ? ?> expression="${profile.revisionflag}" if="profile.revisionflag"/> >> ? ? ? ?> if="profile.role"/> >> ? ? ? ?> if="profile.security"/> >> ? ? ? ?> if="profile.status"/> >> ? ? ? ?> expression="${profile.userlevel}" if="profile.userlevel"/> >> ? ? ? ?> if="profile.vendor"/> >> ? ? ? ?> if="profile.wordsize"/> >> ? ? ? ?> expression="${profile.attribute}" if="profile.attribute"/> >> ? ? ? ?> if="profile.value"/> >> ? ? ? >> >> I'm not sure what this is supposed to do. Isn't this stuff I can >> already ?control from my docbook xsl customization layer? Why is it >> mentioned here? >> >> Thanks for your help. >> >> > > _______________________________________________ > oXygen-user mailing list > oXygen-user at oxygenxml.com > http://www.oxygenxml.com/mailman/listinfo/oxygen-user > -- Robert Nagle 6121 Winsome Ln #56C, Houston TX 77057-5581 (H) 713 893 3424/ (W) 832-251-7522 Carbon Neutral Since Jan 2010 http://www.robertnagle.info From radu_coravu at sync.ro Tue Sep 27 00:43:20 2011 From: radu_coravu at sync.ro (Radu Coravu) Date: Tue, 27 Sep 2011 08:43:20 +0300 Subject: [oXygen-user] how to customize the docbook-to-epub ant script? In-Reply-To: References: <4E806ED7.4040602@sync.ro> Message-ID: <4E816278.70000@sync.ro> Hi Robert, Please see some answers below: > First, I'd like to have access to several different versions of the > Docbook stylesheets (i.e.,: snapshot, latest-docbook, > latest-docbook-ns). I guess I'm reaching the conclusion that the > Oxygen ant script would not help me because i need to change the XSL > references. > At the same time, it's a good model, and I'm wondering if I should > copy those extra XSL files (e AddImagesContentOpf.xsl, copy.xsl, > images.xsl, removeImagesContentOpf.xsl ) into a folder of each Docbook > XSL I will be using. (The image handling parts are the most > important/difficult parts of making the epub file). > > Do you have any thoughts about this? You can modify the build file to your needs of course. For example you can add it as a parameter the path to the custom XSL file. > One other thing. You mention that the ant is running a profiling > stylesheet. I've run two pass profiling before, but I'm not sure how > Ant fits into this. Is the build script creating an xml output from a > profiling XSL and using it as input for the final epub transformation? Yes, exactly. > (I assume this output-from-profiing.xml file is temporary; is it > deleted at some point, or is there a way to keep it so I can inspect > it? Yes, it gets deleted in the build file: > OXYGEN_INSTALL_DIR/frameworks/docbook/xsl/epub/bin/build.xml at the line: > Regards, Radu Radu Coravu XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com On 9/26/2011 7:31 PM, Robert Nagle wrote: > This raises two questions. > > First, I'd like to have access to several different versions of the > Docbook stylesheets (i.e.,: snapshot, latest-docbook, > latest-docbook-ns). I guess I'm reaching the conclusion that the > Oxygen ant script would not help me because i need to change the XSL > references. > > At the same time, it's a good model, and I'm wondering if I should > copy those extra XSL files (e AddImagesContentOpf.xsl, copy.xsl, > images.xsl, removeImagesContentOpf.xsl ) into a folder of each Docbook > XSL I will be using. (The image handling parts are the most > important/difficult parts of making the epub file). > > Do you have any thoughts about this? > > One other thing. You mention that the ant is running a profiling > stylesheet. I've run two pass profiling before, but I'm not sure how > Ant fits into this. Is the build script creating an xml output from a > profiling XSL and using it as input for the final epub transformation? > > (I assume this output-from-profiing.xml file is temporary; is it > deleted at some point, or is there a way to keep it so I can inspect > it? > > Thanks. > > Robert > > On Mon, Sep 26, 2011 at 7:23 AM, Radu Coravu wrote: >> Hi Robert, >> >> You should probably start by reading this forum post: >>> http://www.oxygenxml.com/forum/post19071.html?hilit=docbook%20epub#p19071 >> >> So right now there are two main XSLT steps when creating the EPUB >> output. First a Docbook profiling stylesheet is applied over the edited >> XML in order to obtain the filtered XML and then the filtered XML is >> transformed against the Docbook XSL to obtain the chunked HTML output. >> >> Regards, >> Radu >> >> Radu Coravu >> XML Editor, Schema Editor and XSLT Editor/Debugger >> http://www.oxygenxml.com >> >> >> On 9/26/2011 9:35 AM, Robert Nagle wrote: >>> I am trying to customize the ant-build script for docbook epub so that >>> the customizations and the epub stylesheets are in my Windows user >>> directories rather than in the system directories. for example I want >>> to use the latest snapshot instead of the version which comes with >>> Oxygen. Namely: >>> >>> my snapshot of docbook xsl: I:\My Documents\1latest\docbook-xsl-snapshot >>> xml/xsl source to be here: I:\My Documents\My Dropbox\xml >>> build.xml file is currently here C:\Program Files (x86)\Oxygen XML >>> Editor 13\frameworks\docbook\xsl\epub\bin >>> >>> Could I still use this build.xml file in modified form? In which >>> directory would be the best place to put the build.xml file? >>> >>> Should I copy the AddImagesContentOpf.xsl, copy.xsl, images.xsl, >>> removeImagesContentOpf.xsl into I:\My >>> Documents\1latest\docbook-xsl-snapshot\epub ? >>> >>> If I kept the build.xml file in my project directory I:\My >>> Documents\My Dropbox\xml\ , which references would I need to fix? For >>> example, I see >>> >>> >>> >>> >>> >>> >>> >>> in the build.xml file. I'm not sure where this catalog.xml file ought >>> to reside. >>> >>> Finally in build.xml I see >>> >>> >> style="../../profiling/profile.xsl" >>> classpath="classpath"> >>> >>> >>> >>> >>> >>> >>> >> value="org.apache.xerces.parsers.XIncludeParserConfiguration"/> >>> >> if="profile.arch"/> >>> >> if="profile.audience"/> >>> >> expression="${profile.condition}" if="profile.condition"/> >>> >> expression="${profile.conformance}" if="profile.conformance"/> >>> >> if="profile.lang"/> >>> >>> >> if="profile.revision"/> >>> >> expression="${profile.revisionflag}" if="profile.revisionflag"/> >>> >> if="profile.role"/> >>> >> if="profile.security"/> >>> >> if="profile.status"/> >>> >> expression="${profile.userlevel}" if="profile.userlevel"/> >>> >> if="profile.vendor"/> >>> >> if="profile.wordsize"/> >>> >> expression="${profile.attribute}" if="profile.attribute"/> >>> >> if="profile.value"/> >>> >>> >>> I'm not sure what this is supposed to do. Isn't this stuff I can >>> already control from my docbook xsl customization layer? Why is it >>> mentioned here? >>> >>> Thanks for your help. >>> >>> >> >> _______________________________________________ >> oXygen-user mailing list >> oXygen-user at oxygenxml.com >> http://www.oxygenxml.com/mailman/listinfo/oxygen-user >> > > > From ekimber at reallysi.com Tue Sep 27 09:30:15 2011 From: ekimber at reallysi.com (Eliot Kimber) Date: Tue, 27 Sep 2011 09:30:15 -0500 Subject: [oXygen-user] Enhancement Request: Make keyref dialog wider Message-ID: Good practice for DITA key names is to use a distinguishing prefix so that related keys sort together alphabetically. I'm finding that the default width of the Insert Content Key Reference dialog is too narrow so that the keys are truncated before even the complete prefix is display. E.g., my keys are "action-handler-foo-bar" where "action-handler-" is the common prefix. Suggest making the default width for the dialog at least twice the current default. Cheers, E. -- Eliot Kimber Senior Solutions Architect "Bringing Strategy, Content, and Technology Together" Main: 512.554.9368 www.reallysi.com www.rsuitecms.com From idiotprogrammer at gmail.com Wed Sep 28 01:37:14 2011 From: idiotprogrammer at gmail.com (Robert Nagle) Date: Wed, 28 Sep 2011 01:37:14 -0500 Subject: [oXygen-user] docbook to epub ant problem? (Oxygen Editor 13) Message-ID: I posted another preliminary question about using the docbook ant script to produce epub files. But before I have dug too deeply into trying to customize my ant script, I notice that on my windows Vista system, the default transformation to epub using ANT doesn't work at all. It may be something peculiar to my environment, but I have tried the easiest possible example, and still it does not work. I created a new docbook 5 File --> new --> Framework Templates (Book). I added one line "Hello from Robert" inside the para tag, validated it and renamed it to dummy.xml . I did not even add an image or css file to it. I added it to a new project. Then I chose the button CONFIGURE TRANSFORMATION SCENARIO and then chose ANT Transformation Docbook EPUB As far as I know, I did not touch anything on the scenario. In the project directory, I see an "out" directory with a mimetype file, but nothing else. To my knowledge, I have not touched anything in the frameworks directory. The only change I made is that I made the epub\bin directory writable/editable (even though I have not edited the build.xml file at all). I have run the PDF and chunked HTML transforms with success on the same dummy.xml file. Here is a screenshot of the configure transform screen (basically untouched) http://www.flickr.com/photos/rjnagle/6191461914/ XML Editor 13.0, build 2011090514, Apache Ant 1.8.2 Windows Vista 64 Any help or clues would be appreciated. Robert Nagle *************************** Executing: "c:\program files (x86)\oxygen xml editor 13\jre/bin/java" -Xmx256m -classpath "C:\Program Files (x86)\Oxygen XML Editor 13/tools/ant/lib/ant-launcher.jar" "-Dant.home=C:\Program Files (x86)\Oxygen XML Editor 13/tools/ant" org.apache.tools.ant.launch.Launcher -lib "C:\Program Files (x86)\Oxygen XML Editor 13\classes" -lib "C:\Program Files (x86)\Oxygen XML Editor 13\lib\author.jar" -lib "C:\Program Files (x86)\Oxygen XML Editor 13\lib\oxygen.jar" -lib "C:\Program Files (x86)\Oxygen XML Editor 13\lib\oxygenEclipse.jar" -lib "C:\Program Files (x86)\Oxygen XML Editor 13\lib\authorEclipse.jar" -lib "C:\Program Files (x86)\Oxygen XML Editor 13\lib\resolver.jar" -lib "C:\Program Files (x86)\Oxygen XML Editor 13\lib\xercesImpl.jar" -lib "C:\Program Files (x86)\Oxygen XML Editor 13\lib\saxon.jar" -lib "C:\Program Files (x86)\Oxygen XML Editor 13\lib\xml-apis-xpath.jar" -lib "C:\Program Files (x86)\Oxygen XML Editor 13\lib\xml-apis-ext.jar" -f "C:\Program Files (x86)\Oxygen XML Editor 13\frameworks/docbook/xsl/epub/bin/build.xml" "-Dchunker.output.encoding=UTF-8" "-DoutputFile=I:\My Documents\My Dropbox\xml\oxygen-mytest/out/dummy.epub" "-DxmlFile=I:\My Documents\My Dropbox\xml\oxygen-mytest\dummy.xml" Buildfile: C:\Program Files (x86)\Oxygen XML Editor 13\frameworks\docbook\xsl\epub\bin\build.xml dist: [mkdir] Created dir: I:\My Documents\My Dropbox\xml\oxygen-mytest\out [copy] Copying 1 file to I:\My Documents\My Dropbox\xml\oxygen-mytest\out [xslt] Processing I:\My Documents\My Dropbox\xml\oxygen-mytest\dummy.xml to I:\My Documents\My Dropbox\xml\oxygen-mytest\out\xincluded-profiled.xml [xslt] Loading stylesheet C:\Program Files (x86)\Oxygen XML Editor 13\frameworks\docbook\xsl\profiling\profile.xsl BUILD FAILED C:\Program Files (x86)\Oxygen XML Editor 13\frameworks\docbook\xsl\epub\bin\build.xml:56: java.lang.NoClassDefFoundError: org/apache/log4j/Logger at ro.sync.xml.parser.ParserCreator.(Unknown Source) at org.apache.xerces.xinclude.XIncludeHandler.copyFeatures(Unknown Source) at org.apache.xerces.xinclude.XIncludeHandler.reset(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.resetCommon(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) at com.icl.saxon.om.Builder.build(Builder.java:265) at com.icl.saxon.PreparedStyleSheet.prepare(PreparedStyleSheet.java:111) at com.icl.saxon.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java:120) at org.apache.tools.ant.taskdefs.optional.TraXLiaison.readTemplates(TraXLiaison.java:303) at org.apache.tools.ant.taskdefs.optional.TraXLiaison.createTransformer(TraXLiaison.java:320) at org.apache.tools.ant.taskdefs.optional.TraXLiaison.transform(TraXLiaison.java:170) at org.apache.tools.ant.taskdefs.XSLTProcess.process(XSLTProcess.java:852) at org.apache.tools.ant.taskdefs.XSLTProcess.execute(XSLTProcess.java:388) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.Target.execute(Target.java:390) at org.apache.tools.ant.Target.performTasks(Target.java:411) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399) at org.apache.tools.ant.Project.executeTarget(Project.java:1368) at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) at org.apache.tools.ant.Project.executeTargets(Project.java:1251) at org.apache.tools.ant.Main.runBuild(Main.java:809) at org.apache.tools.ant.Main.startAnt(Main.java:217) at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280) at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109) Caused by: java.lang.ClassNotFoundException: org.apache.log4j.Logger at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) ... 33 more Total time: 0 seconds The process finished with exit code: 1 -- Robert Nagle 6121 Winsome Ln #56C, Houston TX 77057-5581 (H) 713 893 3424/ (W) 832-251-7522 Carbon Neutral Since Jan 2010 http://www.robertnagle.info From idiotprogrammer at gmail.com Wed Sep 28 01:59:13 2011 From: idiotprogrammer at gmail.com (Robert Nagle) Date: Wed, 28 Sep 2011 01:59:13 -0500 Subject: [oXygen-user] docbook to epub ant problem? (Oxygen Editor 13) (fixed?) Message-ID: On a hunch, I opened up the same project and sample docbook 5 file in XML Author instead of XML editor. I was able to get the default epub transform to work. Alas, there are slight differences in the command to run the executables (i.e., the names of the files, and the order in which they are mentioned). Any idea why this would make a difference? Robert Executing: "c:\program files (x86)\oxygen xml editor 13\jre/bin/java" -Xmx256m -classpath "C:\Program Files (x86)\Oxygen XML Editor 13/tools/ant/lib/ant-launcher.jar" "-Dant.home=C:\Program Files (x86)\Oxygen XML Editor 13/tools/ant" org.apache.tools.ant.launch.Launcher -lib "C:\Program Files (x86)\Oxygen XML Editor 13\classes" -lib "C:\Program Files (x86)\Oxygen XML Editor 13\lib\oxygen.jar" -lib "C:\Program Files (x86)\Oxygen XML Editor 13\lib\oxygenAuthor.jar" -lib "C:\Program Files (x86)\Oxygen XML Editor 13\lib\oxygenDeveloper.jar" -lib "C:\Program Files (x86)\Oxygen XML Editor 13\lib\oxygenEclipse.jar" -lib "C:\Program Files (x86)\Oxygen XML Editor 13\lib\oxygenAuthorEclipse.jar" -lib "C:\Program Files (x86)\Oxygen XML Editor 13\lib\oxygenDeveloperEclipse.jar" -lib "C:\Program Files (x86)\Oxygen XML Editor 13\lib\resolver.jar" -lib "C:\Program Files (x86)\Oxygen XML Editor 13\lib\xercesImpl.jar" -lib "C:\Program Files (x86)\Oxygen XML Editor 13\lib\saxon.jar" -lib "C:\Program Files (x86)\Oxygen XML Editor 13\lib\xml-apis-xpath.jar" -lib "C:\Program Files (x86)\Oxygen XML Editor 13\lib\xml-apis-ext.jar" -lib "C:\Program Files (x86)\Oxygen XML Editor 13\lib\log4j.jar" -f "C:\Program Files (x86)\Oxygen XML Editor 13\frameworks/docbook/xsl/epub/bin/build.xml" "-Dchunker.output.encoding=UTF-8" "-DoutputFile=I:\My Documents\My Dropbox\xml\oxygen-mytest/out/dummy.epub" "-DxmlFile=I:\My Documents\My Dropbox\xml\oxygen-mytest\dummy.xml" Buildfile: C:\Program Files (x86)\Oxygen XML Editor 13\frameworks\docbook\xsl\epub\bin\build.xml dist: [delete] Deleting directory I:\My Documents\My Dropbox\xml\oxygen-mytest\out [mkdir] Created dir: I:\My Documents\My Dropbox\xml\oxygen-mytest\out [copy] Copying 1 file to I:\My Documents\My Dropbox\xml\oxygen-mytest\out [xslt] Processing I:\My Documents\My Dropbox\xml\oxygen-mytest\dummy.xml to I:\My Documents\My Dropbox\xml\oxygen-mytest\out\xincluded-profiled.xml [xslt] Loading stylesheet C:\Program Files (x86)\Oxygen XML Editor 13\frameworks\docbook\xsl\profiling\profile.xsl [xslt] Processing I:\My Documents\My Dropbox\xml\oxygen-mytest\out\xincluded-profiled.xml to I:\My Documents\My Dropbox\xml\oxygen-mytest\out\dummy.xml [xslt] Loading stylesheet C:\Program Files (x86)\Oxygen XML Editor 13\frameworks\docbook\xsl\epub\docbook.xsl [xslt] Writing I:\My Documents\My Dropbox\xml\oxygen-mytest\out/bk01-toc.html for book [xslt] Writing I:\My Documents\My Dropbox\xml\oxygen-mytest\out/ch01.html for chapter [xslt] Writing I:\My Documents\My Dropbox\xml\oxygen-mytest\out/pt01.html for part [xslt] Writing I:\My Documents\My Dropbox\xml\oxygen-mytest\out/index.html for book [xslt] Writing I:\My Documents\My Dropbox\xml\oxygen-mytest\out/toc.ncx [xslt] Writing I:\My Documents\My Dropbox\xml\oxygen-mytest\out/content.opf [xslt] Writing I:\My Documents\My Dropbox\xml\oxygen-mytest\out/META-INF/container.xml [delete] Deleting: I:\My Documents\My Dropbox\xml\oxygen-mytest\out\dummy.xml [delete] Deleting: I:\My Documents\My Dropbox\xml\oxygen-mytest\out\xincluded-profiled.xml [mkdir] Created dir: I:\My Documents\My Dropbox\xml\oxygen-mytest\temp [xslt] Processing I:\My Documents\My Dropbox\xml\oxygen-mytest\out\content.opf to I:\My Documents\My Dropbox\xml\oxygen-mytest\temp\content.opf [xslt] Loading stylesheet C:\Program Files (x86)\Oxygen XML Editor 13\frameworks\docbook\xsl\epub\removeImagesContentOpf.xsl [copy] Copying 1 file to I:\My Documents\My Dropbox\xml\oxygen-mytest\out images: [xslt] Processing I:\My Documents\My Dropbox\xml\oxygen-mytest\out\bk01-toc.html to I:\My Documents\My Dropbox\xml\oxygen-mytest\temp\bk01-toc.html [xslt] Loading stylesheet C:\Program Files (x86)\Oxygen XML Editor 13\frameworks\docbook\xsl\epub\images.xsl [xslt] Processing I:\My Documents\My Dropbox\xml\oxygen-mytest\out\content.opf to I:\My Documents\My Dropbox\xml\oxygen-mytest\temp\content.opf [xslt] Loading stylesheet C:\Program Files (x86)\Oxygen XML Editor 13\frameworks\docbook\xsl\epub\addImagesContentOpf.xsl [copy] Copying 1 file to I:\My Documents\My Dropbox\xml\oxygen-mytest\out images: [xslt] Processing I:\My Documents\My Dropbox\xml\oxygen-mytest\out\ch01.html to I:\My Documents\My Dropbox\xml\oxygen-mytest\temp\ch01.html [xslt] Loading stylesheet C:\Program Files (x86)\Oxygen XML Editor 13\frameworks\docbook\xsl\epub\images.xsl [xslt] Processing I:\My Documents\My Dropbox\xml\oxygen-mytest\out\content.opf to I:\My Documents\My Dropbox\xml\oxygen-mytest\temp\content.opf [xslt] Loading stylesheet C:\Program Files (x86)\Oxygen XML Editor 13\frameworks\docbook\xsl\epub\addImagesContentOpf.xsl [copy] Copying 1 file to I:\My Documents\My Dropbox\xml\oxygen-mytest\out images: [xslt] Processing I:\My Documents\My Dropbox\xml\oxygen-mytest\out\index.html to I:\My Documents\My Dropbox\xml\oxygen-mytest\temp\index.html [xslt] Loading stylesheet C:\Program Files (x86)\Oxygen XML Editor 13\frameworks\docbook\xsl\epub\images.xsl [xslt] Processing I:\My Documents\My Dropbox\xml\oxygen-mytest\out\content.opf to I:\My Documents\My Dropbox\xml\oxygen-mytest\temp\content.opf [xslt] Loading stylesheet C:\Program Files (x86)\Oxygen XML Editor 13\frameworks\docbook\xsl\epub\addImagesContentOpf.xsl [copy] Copying 1 file to I:\My Documents\My Dropbox\xml\oxygen-mytest\out images: [xslt] Processing I:\My Documents\My Dropbox\xml\oxygen-mytest\out\pt01.html to I:\My Documents\My Dropbox\xml\oxygen-mytest\temp\pt01.html [xslt] Loading stylesheet C:\Program Files (x86)\Oxygen XML Editor 13\frameworks\docbook\xsl\epub\images.xsl [xslt] Processing I:\My Documents\My Dropbox\xml\oxygen-mytest\out\content.opf to I:\My Documents\My Dropbox\xml\oxygen-mytest\temp\content.opf [xslt] Loading stylesheet C:\Program Files (x86)\Oxygen XML Editor 13\frameworks\docbook\xsl\epub\addImagesContentOpf.xsl [copy] Copying 1 file to I:\My Documents\My Dropbox\xml\oxygen-mytest\out [copy] Copying 4 files to I:\My Documents\My Dropbox\xml\oxygen-mytest\out [delete] Deleting directory I:\My Documents\My Dropbox\xml\oxygen-mytest\temp [xslt] Processing I:\My Documents\My Dropbox\xml\oxygen-mytest\out\toc.ncx to I:\My Documents\My Dropbox\xml\oxygen-mytest\temp\toc.ncx [xslt] Loading stylesheet C:\Program Files (x86)\Oxygen XML Editor 13\frameworks\docbook\xsl\epub\copy.xsl [copy] Copying 1 file to I:\My Documents\My Dropbox\xml\oxygen-mytest\out [xslt] Processing I:\My Documents\My Dropbox\xml\oxygen-mytest\out\META-INF\container.xml to I:\My Documents\My Dropbox\xml\oxygen-mytest\temp\container.xml [xslt] Loading stylesheet C:\Program Files (x86)\Oxygen XML Editor 13\frameworks\docbook\xsl\epub\copy.xsl [copy] Copying 1 file to I:\My Documents\My Dropbox\xml\oxygen-mytest\out\META-INF [zip] Building zip: I:\My Documents\My Dropbox\xml\oxygen-mytest\out\dummy.epub [zip] Updating zip: I:\My Documents\My Dropbox\xml\oxygen-mytest\out\dummy.epub BUILD SUCCESSFUL Total time: 4 seconds The process finished with exit code: 0 -- Robert Nagle 6121 Winsome Ln #56C, Houston TX 77057-5581 (H) 713 893 3424/ (W) 832-251-7522 Carbon Neutral Since Jan 2010 http://www.robertnagle.info From radu_coravu at sync.ro Wed Sep 28 02:56:51 2011 From: radu_coravu at sync.ro (Radu Coravu) Date: Wed, 28 Sep 2011 10:56:51 +0300 Subject: [oXygen-user] Enhancement Request: Make keyref dialog wider In-Reply-To: References: Message-ID: <4E82D343.5000104@sync.ro> Hi Eliot, This small improvement will probably be available in Oxygen 13.1 in a month or so. Oxygen 13.1 will also contain a button in the "Insert Topic Reference" dialog allowing for easily selecting keyrefs as you suggested in a previous email. By the way, from your experience, are there usually many keys defined on a DITA Map? Can there be hundreds of keys defined for example? Would a "quick find" search field help in the same dialog if it would be available? Regards, Radu Radu Coravu XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com On 9/27/2011 5:30 PM, Eliot Kimber wrote: > Good practice for DITA key names is to use a distinguishing prefix so that > related keys sort together alphabetically. > > I'm finding that the default width of the Insert Content Key Reference > dialog is too narrow so that the keys are truncated before even the complete > prefix is display. E.g., my keys are "action-handler-foo-bar" where > "action-handler-" is the common prefix. > > Suggest making the default width for the dialog at least twice the current > default. > > Cheers, > > E. > From radu_coravu at sync.ro Wed Sep 28 03:06:15 2011 From: radu_coravu at sync.ro (Radu Coravu) Date: Wed, 28 Sep 2011 11:06:15 +0300 Subject: [oXygen-user] docbook to epub ant problem? (Oxygen Editor 13) In-Reply-To: References: Message-ID: <4E82D577.7080701@sync.ro> Hi Robert, It was helpful that you sent us the console output and the screenshot. The main problem is this: > BUILD FAILED > C:\Program Files (x86)\Oxygen XML Editor > 13\frameworks\docbook\xsl\epub\bin\build.xml:56: > java.lang.NoClassDefFoundError: org/apache/log4j/Logger > at ro.sync.xml.parser.ParserCreator.(Unknown Source) > at org.apache.xerces.xinclude.XIncludeHandler.copyFeatures(Unknown If you edit your custom Docbook to EPUB scenario it contains a "Libraries" button. The default scenario contains 13 referenced libraries (among which the "log4j.jar"). From what I see in your screenshot your custom scenario contains only 10 referenced libraries so you might have removed from the list the reference to the Apache "log4j.jar". Regards, Radu Radu Coravu XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com On 9/28/2011 9:37 AM, Robert Nagle wrote: > I posted another preliminary question about using the docbook ant > script to produce epub files. > > But before I have dug too deeply into trying to customize my ant > script, I notice that on my windows Vista system, the default > transformation to epub using ANT doesn't work at all. It may be > something peculiar to my environment, but I have tried the easiest > possible example, and still it does not work. > > I created a new docbook 5 File --> new --> Framework Templates (Book). > > I added one line "Hello from Robert" inside the para tag, validated it > and renamed it to dummy.xml . I did not even add an image or css file > to it. I added it to a new project. > > Then I chose the button CONFIGURE TRANSFORMATION SCENARIO and then > chose ANT Transformation Docbook EPUB > > As far as I know, I did not touch anything on the scenario. In the > project directory, I see an "out" directory with a mimetype file, but > nothing else. > > To my knowledge, I have not touched anything in the frameworks > directory. The only change I made is that I made the epub\bin > directory writable/editable (even though I have not edited the > build.xml file at all). > > I have run the PDF and chunked HTML transforms with success on the > same dummy.xml file. Here is a screenshot of the configure transform > screen (basically untouched) > http://www.flickr.com/photos/rjnagle/6191461914/ > > XML Editor 13.0, build 2011090514, Apache Ant 1.8.2 Windows Vista 64 > > Any help or clues would be appreciated. > > Robert Nagle > > > > *************************** > Executing: > "c:\program files (x86)\oxygen xml editor 13\jre/bin/java" -Xmx256m > -classpath "C:\Program Files (x86)\Oxygen XML Editor > 13/tools/ant/lib/ant-launcher.jar" "-Dant.home=C:\Program Files > (x86)\Oxygen XML Editor 13/tools/ant" > org.apache.tools.ant.launch.Launcher -lib "C:\Program Files > (x86)\Oxygen XML Editor 13\classes" -lib "C:\Program Files > (x86)\Oxygen XML Editor 13\lib\author.jar" -lib "C:\Program Files > (x86)\Oxygen XML Editor 13\lib\oxygen.jar" -lib "C:\Program Files > (x86)\Oxygen XML Editor 13\lib\oxygenEclipse.jar" -lib "C:\Program > Files (x86)\Oxygen XML Editor 13\lib\authorEclipse.jar" -lib > "C:\Program Files (x86)\Oxygen XML Editor 13\lib\resolver.jar" -lib > "C:\Program Files (x86)\Oxygen XML Editor 13\lib\xercesImpl.jar" -lib > "C:\Program Files (x86)\Oxygen XML Editor 13\lib\saxon.jar" -lib > "C:\Program Files (x86)\Oxygen XML Editor 13\lib\xml-apis-xpath.jar" > -lib "C:\Program Files (x86)\Oxygen XML Editor > 13\lib\xml-apis-ext.jar" -f "C:\Program Files (x86)\Oxygen XML Editor > 13\frameworks/docbook/xsl/epub/bin/build.xml" > "-Dchunker.output.encoding=UTF-8" "-DoutputFile=I:\My Documents\My > Dropbox\xml\oxygen-mytest/out/dummy.epub" "-DxmlFile=I:\My > Documents\My Dropbox\xml\oxygen-mytest\dummy.xml" > > Buildfile: C:\Program Files (x86)\Oxygen XML Editor > 13\frameworks\docbook\xsl\epub\bin\build.xml > > dist: > [mkdir] Created dir: I:\My Documents\My Dropbox\xml\oxygen-mytest\out > [copy] Copying 1 file to I:\My Documents\My Dropbox\xml\oxygen-mytest\out > [xslt] Processing I:\My Documents\My > Dropbox\xml\oxygen-mytest\dummy.xml to I:\My Documents\My > Dropbox\xml\oxygen-mytest\out\xincluded-profiled.xml > [xslt] Loading stylesheet C:\Program Files (x86)\Oxygen XML > Editor 13\frameworks\docbook\xsl\profiling\profile.xsl > > BUILD FAILED > C:\Program Files (x86)\Oxygen XML Editor > 13\frameworks\docbook\xsl\epub\bin\build.xml:56: > java.lang.NoClassDefFoundError: org/apache/log4j/Logger > at ro.sync.xml.parser.ParserCreator.(Unknown Source) > at org.apache.xerces.xinclude.XIncludeHandler.copyFeatures(Unknown > Source) > at org.apache.xerces.xinclude.XIncludeHandler.reset(Unknown Source) > at org.apache.xerces.parsers.XML11Configuration.resetCommon(Unknown > Source) > at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) > at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) > at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) > at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) > at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown > Source) > at com.icl.saxon.om.Builder.build(Builder.java:265) > at com.icl.saxon.PreparedStyleSheet.prepare(PreparedStyleSheet.java:111) > at com.icl.saxon.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java:120) > at org.apache.tools.ant.taskdefs.optional.TraXLiaison.readTemplates(TraXLiaison.java:303) > at org.apache.tools.ant.taskdefs.optional.TraXLiaison.createTransformer(TraXLiaison.java:320) > at org.apache.tools.ant.taskdefs.optional.TraXLiaison.transform(TraXLiaison.java:170) > at org.apache.tools.ant.taskdefs.XSLTProcess.process(XSLTProcess.java:852) > at org.apache.tools.ant.taskdefs.XSLTProcess.execute(XSLTProcess.java:388) > at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) > at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) > at java.lang.reflect.Method.invoke(Unknown Source) > at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) > at org.apache.tools.ant.Task.perform(Task.java:348) > at org.apache.tools.ant.Target.execute(Target.java:390) > at org.apache.tools.ant.Target.performTasks(Target.java:411) > at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399) > at org.apache.tools.ant.Project.executeTarget(Project.java:1368) > at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) > at org.apache.tools.ant.Project.executeTargets(Project.java:1251) > at org.apache.tools.ant.Main.runBuild(Main.java:809) > at org.apache.tools.ant.Main.startAnt(Main.java:217) > at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280) > at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109) > Caused by: java.lang.ClassNotFoundException: org.apache.log4j.Logger > at java.net.URLClassLoader$1.run(Unknown Source) > at java.security.AccessController.doPrivileged(Native Method) > at java.net.URLClassLoader.findClass(Unknown Source) > at java.lang.ClassLoader.loadClass(Unknown Source) > at java.lang.ClassLoader.loadClass(Unknown Source) > ... 33 more > > Total time: 0 seconds > > The process finished with exit code: 1 > From ekimber at reallysi.com Wed Sep 28 05:33:54 2011 From: ekimber at reallysi.com (Eliot Kimber) Date: Wed, 28 Sep 2011 05:33:54 -0500 Subject: [oXygen-user] Enhancement Request: Make keyref dialog wider In-Reply-To: <4E82D343.5000104@sync.ro> Message-ID: Yes, there could be 100s of keys in a map. For example, the DITA Language Reference has one key per language reference entry and that would be typical for that type of document. For glossaries you would also expect to have at least one key per glossary entry so that you can then use @keyref on or . In the context of an encyclopedia-type document you might have 10s of 1000s of keys. Another recommended best practice is to use keys for references to graphics, so at least one key per graphic. So yes, anything to make finding specific keys easier will be very helpful. Cheers, Eliot On 9/28/11 3:56 AM, "Radu Coravu" wrote: > Hi Eliot, > > This small improvement will probably be available in Oxygen 13.1 in a > month or so. > Oxygen 13.1 will also contain a button in the "Insert Topic Reference" > dialog allowing for easily selecting keyrefs as you suggested in a > previous email. > > By the way, from your experience, are there usually many keys defined on > a DITA Map? Can there be hundreds of keys defined for example? Would a > "quick find" search field help in the same dialog if it would be available? > > Regards, > Radu > > Radu Coravu > XML Editor, Schema Editor and XSLT Editor/Debugger > http://www.oxygenxml.com > > On 9/27/2011 5:30 PM, Eliot Kimber wrote: >> Good practice for DITA key names is to use a distinguishing prefix so that >> related keys sort together alphabetically. >> >> I'm finding that the default width of the Insert Content Key Reference >> dialog is too narrow so that the keys are truncated before even the complete >> prefix is display. E.g., my keys are "action-handler-foo-bar" where >> "action-handler-" is the common prefix. >> >> Suggest making the default width for the dialog at least twice the current >> default. >> >> Cheers, >> >> E. >> > _______________________________________________ > oXygen-user mailing list > oXygen-user at oxygenxml.com > http://www.oxygenxml.com/mailman/listinfo/oxygen-user -- Eliot Kimber Senior Solutions Architect "Bringing Strategy, Content, and Technology Together" Main: 512.554.9368 www.reallysi.com www.rsuitecms.com From radu_coravu at sync.ro Wed Sep 28 06:19:27 2011 From: radu_coravu at sync.ro (Radu Coravu) Date: Wed, 28 Sep 2011 14:19:27 +0300 Subject: [oXygen-user] Enhancement Request: Make keyref dialog wider In-Reply-To: References: Message-ID: <4E8302BF.8040105@sync.ro> Hi Eliot, Thanks for the details, it helps. We'll see if we can make the quick find in the "Insert Key Reference" dialog a feature of Oxygen 14 (in about a year). Regards, Radu Radu Coravu XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com On 9/28/2011 1:33 PM, Eliot Kimber wrote: > Yes, there could be 100s of keys in a map. For example, the DITA Language > Reference has one key per language reference entry and that would be typical > for that type of document. > > For glossaries you would also expect to have at least one key per glossary > entry so that you can then use @keyref on or. > > In the context of an encyclopedia-type document you might have 10s of 1000s > of keys. > > Another recommended best practice is to use keys for references to graphics, > so at least one key per graphic. > > So yes, anything to make finding specific keys easier will be very helpful. > > Cheers, > > Eliot > > On 9/28/11 3:56 AM, "Radu Coravu" wrote: > >> Hi Eliot, >> >> This small improvement will probably be available in Oxygen 13.1 in a >> month or so. >> Oxygen 13.1 will also contain a button in the "Insert Topic Reference" >> dialog allowing for easily selecting keyrefs as you suggested in a >> previous email. >> >> By the way, from your experience, are there usually many keys defined on >> a DITA Map? Can there be hundreds of keys defined for example? Would a >> "quick find" search field help in the same dialog if it would be available? >> >> Regards, >> Radu >> >> Radu Coravu >> XML Editor, Schema Editor and XSLT Editor/Debugger >> http://www.oxygenxml.com >> >> On 9/27/2011 5:30 PM, Eliot Kimber wrote: >>> Good practice for DITA key names is to use a distinguishing prefix so that >>> related keys sort together alphabetically. >>> >>> I'm finding that the default width of the Insert Content Key Reference >>> dialog is too narrow so that the keys are truncated before even the complete >>> prefix is display. E.g., my keys are "action-handler-foo-bar" where >>> "action-handler-" is the common prefix. >>> >>> Suggest making the default width for the dialog at least twice the current >>> default. >>> >>> Cheers, >>> >>> E. >>> >> _______________________________________________ >> oXygen-user mailing list >> oXygen-user at oxygenxml.com >> http://www.oxygenxml.com/mailman/listinfo/oxygen-user > From dsewell at virginia.edu Wed Sep 28 13:51:03 2011 From: dsewell at virginia.edu (David Sewell) Date: Wed, 28 Sep 2011 14:51:03 -0400 (EDT) Subject: [oXygen-user] Feature request: report when sequence results are truncated In-Reply-To: <4E5F3BA4.9070300@sync.ro> References: <4E5F2AC6.6090809@espenore.tk> <4E5F3BA4.9070300@sync.ro> Message-ID: I was about to report this as a bug before I realized it is connected with a preference setting. Running oXygen 13.0, with expanded Java memory settings, the following query returns a complete result: element out { for $i at $pos in 1 to 2000000 return {$pos} } but this query truncates after 600K results: for $i at $pos in 1 to 2000000 return {$pos} The truncation depends on the Preference setting for XQuery - "Size limit of Sequence view (MB)". That is understandable. However, it would be a help to the user if there was something more than just a "Transformation successful" message. For example, an error diagnostic saying "Memory limit 2 MB - results truncated", maybe with a link to the preference setting where you can increase the limit. David -- David Sewell, Editorial and Technical Manager ROTUNDA, The University of Virginia Press PO Box 400314, Charlottesville, VA 22904-4314 USA Email: dsewell at virginia.edu Tel: +1 434 924 9973 Web: http://rotunda.upress.virginia.edu/ From adrian at sync.ro Thu Sep 29 08:13:21 2011 From: adrian at sync.ro (Adrian Buza) Date: Thu, 29 Sep 2011 16:13:21 +0300 Subject: [oXygen-user] Feature request: report when sequence results are truncated In-Reply-To: References: <4E5F2AC6.6090809@espenore.tk> <4E5F3BA4.9070300@sync.ro> Message-ID: <4E846EF1.9070508@sync.ro> Hello David, Thank you for letting us know about this. I've logged this to our issue tracking tool and we will implement this(a warning and tips when results are truncated) in a future version of Oxygen. Regards, Adrian Adrian Buza oXygen XML Editor and Author Support support at oxygenxml.com David Sewell wrote: > I was about to report this as a bug before I realized it is connected with a > preference setting. > > Running oXygen 13.0, with expanded Java memory settings, the following query > returns a complete result: > > element out { > for $i at $pos in 1 to 2000000 > return {$pos} > } > > but this query truncates after 600K results: > > for $i at $pos in 1 to 2000000 > return {$pos} > > The truncation depends on the Preference setting for XQuery - "Size limit of > Sequence view (MB)". That is understandable. However, it would be a help to the > user if there was something more than just a "Transformation successful" > message. For example, an error diagnostic saying "Memory limit 2 MB - results > truncated", maybe with a link to the preference setting where you can increase > the limit. > > David > > From bob.futrelle at gmail.com Thu Sep 29 08:20:33 2011 From: bob.futrelle at gmail.com (Bob Futrelle) Date: Thu, 29 Sep 2011 09:20:33 -0400 Subject: [oXygen-user] Are there scripting capabilities in Oxygen, e.g., to process multiple files? Message-ID: Scripting may be in the Oxygen Editor, but I haven't been able to find it. - Bob Futrelle -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.oxygenxml.com/pipermail/oxygen-user/attachments/20110929/96d81310/attachment.html From george at oxygenxml.com Fri Sep 30 00:46:36 2011 From: george at oxygenxml.com (George Cristian Bina) Date: Fri, 30 Sep 2011 08:46:36 +0300 Subject: [oXygen-user] Are there scripting capabilities in Oxygen, e.g., to process multiple files? In-Reply-To: References: Message-ID: <4E8557BC.8060308@oxygenxml.com> Hi Bob, oXygen allows to execute batch operations from the Project View. There you can use the contextual menu (right click on Windows, CTRL+click on Mac) to invoke transformation or validation actions on multiple files. Another approach is to use XProc or Ant. The oXygen transformation scenarios support both of them. Best Regards, George -- George Cristian Bina XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com On 9/29/11 4:20 PM, Bob Futrelle wrote: > Scripting may be in the Oxygen Editor, but I haven't been able to find it. > > - Bob Futrelle > > > > _______________________________________________ > oXygen-user mailing list > oXygen-user at oxygenxml.com > http://www.oxygenxml.com/mailman/listinfo/oxygen-user