From george at oxygenxml.com Mon Apr 1 00:40:46 2013 From: george at oxygenxml.com (George Cristian Bina) Date: Mon, 01 Apr 2013 08:40:46 +0300 Subject: [oXygen-user] Recursive Root Element In CSS In-Reply-To: <65359.207.168.47.25.1364668523.squirrel@www.eccnet.com> References: <62059.207.168.47.25.1364591025.squirrel@www.eccnet.com> <5156E6C8.6000105@oxygenxml.com> <65359.207.168.47.25.1364668523.squirrel@www.eccnet.com> Message-ID: <51591DDE.8060502@oxygenxml.com> Hi Betty, The problem with your initial CSS is probably related to not resetting the counter. Basically the counter for section N should be reset on any section N-1. I will be in US in a couple of weeks for the DITA North America conference in Providence, RI. It will be great to meet you there if you attend the DITA conference again. Best Regards, George -- George Cristian Bina XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com On 3/30/13 8:35 PM, Betty Harvey wrote: > Thanks George! > > That did the trick. I wonder if it wasn't working because I didn't have a > standalone 'topic' declaration. I am not sure why I couldn't get it to > work. I have to work with CSS once every 5 years. Much prefer XSLT or > XSL-FO! > > As usual you are the greatest!!! Hope everything is going well with you. > Most of my time these days is working with Obamacare and NIEM (not a fan > of NIEM). > > Hope to see you soon! > > Thanks again! > > Betty > >> Dear Betty, >> >> Please find a working sample attached. I think the initial XML file in >> your sample also had a few issues, having additional titles without a >> topic element. >> In any case, please see the attached sample and let me know if this helps. >> >> Best Regards, >> George >> -- >> George Cristian Bina >> XML Editor, Schema Editor and XSLT Editor/Debugger >> http://www.oxygenxml.com >> >> On 3/29/13 11:03 PM, Betty Harvey wrote: >>> Hi all: >>> >>> I am creating a CSS stylesheet to autonumber topics. >>> >>> The structure of the document is recursive topics where topic is the >>> root >>> element: >>> >>> >>> >>> <topic> >>> <title> >>> <topic> >>> <title> >>> >>> The goal is to have >>> >>> 1. Title >>> 1.1 Title >>> 1.1.1 Title >>> >>> Because the <topic> is the root element and recursive the numbering is >>> is being displayed as: >>> >>> 1. Title >>> 1.1 Title >>> 1.1.1 Title >>> 1.2 Title >>> 1.2.2 >>> >>> The third level and below numbers sequentially and doesn't reset. I >>> tried >>> doing a reset-counter but then the numbers are always 1. I thought maybe >>> I >>> could use :root selector: >>> >>> :root topic > title:before{ >>> counter-increment: section; >>> content: counter(section) ". "; >>> } >>> >>> The CSS is valid but Oxygen ignores the counter and the number isn't >>> present. >>> >>> I also looked for an Oxygen extension that might help derive the >>> hierarchy >>> from the top-level but wasn't able to find anything. I think it would >>> work >>> if there was a way to say 'this topic is the root element'. >>> >>> Anyone have any suggestions? >>> >>> Here is the CSS for the counters: >>> >>> topic > title:before{ >>> counter-increment: section; >>> content: counter(section) ". "; >>> } >>> >>> topic > topic > title:before{ >>> counter-increment: subsection; >>> content: counter(section) "." counter(subsection) ". "; >>> } >>> >>> topic > topic > topic > title:before{ >>> counter-increment: subsection1; >>> content: counter(section) "." counter(subsection) "." >>> counter(subsection1) ". "; >>> } >>> >>> TIA! >>> >>> Betty >>> >>> /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/ >>> Betty Harvey | Phone: 410-787-9200 FAX: 9830 >>> Electronic Commerce Connection, Inc. | >>> harvey at eccnet.com | Washington,DC XML Users Grp >>> URL: http://www.eccnet.com | http://www.eccnet.com/xmlug >>> /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\\/\/ >>> >>> _______________________________________________ >>> oXygen-user mailing list >>> oXygen-user at oxygenxml.com >>> http://www.oxygenxml.com/mailman/listinfo/oxygen-user >>> >> > > > /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/ > Betty Harvey | Phone: 410-787-9200 FAX: 9830 > Electronic Commerce Connection, Inc. | > harvey at eccnet.com | Washington,DC XML Users Grp > URL: http://www.eccnet.com | http://www.eccnet.com/xmlug > /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\\/\/ > Member of XML Guild (www.xmlguild.org) > _______________________________________________ > oXygen-user mailing list > oXygen-user at oxygenxml.com > http://www.oxygenxml.com/mailman/listinfo/oxygen-user > From michael_scott at me.com Mon Apr 1 09:28:58 2013 From: michael_scott at me.com (Michael Scott) Date: Mon, 01 Apr 2013 15:28:58 +0100 Subject: [oXygen-user] MarkLogic connector enterprise only In-Reply-To: <62059.207.168.47.25.1364591025.squirrel@www.eccnet.com> References: <62059.207.168.47.25.1364591025.squirrel@www.eccnet.com> Message-ID: <F2748416-474E-4B83-8E1C-AF61EF85509C@me.com> MarkLogic provides a free version for developers. It's frustrating to be told that I need to use the enterprise edition of Oxygen to be able to connect to it. Does anyone else feel this way? http://developer.marklogic.com/free-developer -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.oxygenxml.com/pipermail/oxygen-user/attachments/20130401/97ca79bf/attachment.html From george at oxygenxml.com Tue Apr 2 07:02:47 2013 From: george at oxygenxml.com (George Cristian Bina) Date: Tue, 02 Apr 2013 15:02:47 +0300 Subject: [oXygen-user] MarkLogic connector enterprise only In-Reply-To: <F2748416-474E-4B83-8E1C-AF61EF85509C@me.com> References: <62059.207.168.47.25.1364591025.squirrel@www.eccnet.com> <F2748416-474E-4B83-8E1C-AF61EF85509C@me.com> Message-ID: <515AC8E7.7060301@oxygenxml.com> Dear Michael, There is a difference here, MarkLogic gives the development free and they charge for deployment (production use). oXygen is used for development and we do not charge you when you deploy your application. We also offer free of charge access to our SDK for example, so people developing on top of oXygen do not need to pay for getting access to the SDK. Best Regards, George -- George Cristian Bina <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com On 4/1/13 5:28 PM, Michael Scott wrote: > MarkLogic provides a free version for developers. It's frustrating to be > told that I need to use the enterprise edition of Oxygen to be able to > connect to it. Does anyone else feel this way? > > http://developer.marklogic.com/free-developer > > > _______________________________________________ > oXygen-user mailing list > oXygen-user at oxygenxml.com > http://www.oxygenxml.com/mailman/listinfo/oxygen-user > From yves.barbion at gmail.com Tue Apr 9 03:08:42 2013 From: yves.barbion at gmail.com (Yves Barbion) Date: Tue, 9 Apr 2013 10:08:42 +0200 Subject: [oXygen-user] feature request: notify user when he's deleting an element with specific attribute values Message-ID: <CAMa27Ewr3FfPt=HZREjXc-xmnVcg8tE_m8mJBe5BY_9KbPwk7g@mail.gmail.com> Hi group Suppose I get to edit content which was written by someone else, and I delete some elements of which I think that they do not have a specific purpose. For example, I see content wrapped in a <ph> element and I could just delete the <ph> element, but leave the content in the parent element. The <ph> element, however, may have been used for specific purposes in the output, for example DITA flagging, so it may have specific attribute values of which I was not aware. Would it be possible for oXygen to give me a warning if I were to delete such an element, for example: "The element you are going to delete contains attributes. Are you sure you want to delete this element?" And maybe add the "Do not ask again" option? Thanks -- Yves Barbion www.scripto.nu -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.oxygenxml.com/pipermail/oxygen-user/attachments/20130409/6d2a414d/attachment.html From support at oxygenxml.com Tue Apr 9 06:13:27 2013 From: support at oxygenxml.com (Oxygen XML Editor Support) Date: Tue, 09 Apr 2013 14:13:27 +0300 Subject: [oXygen-user] feature request: notify user when he's deleting an element with specific attribute values In-Reply-To: <CAMa27Ewr3FfPt=HZREjXc-xmnVcg8tE_m8mJBe5BY_9KbPwk7g@mail.gmail.com> References: <CAMa27Ewr3FfPt=HZREjXc-xmnVcg8tE_m8mJBe5BY_9KbPwk7g@mail.gmail.com> Message-ID: <5163F7D7.4040800@oxygenxml.com> Hi Yves, Our Java-based API should be enough for a developer to implement such a functionality so if you are interested in this approach I could elaborate. But we cannot implement something like this as a part of the default behavior. Maybe when you are working to refactor somebody else's content you should have the XML document in the Author mode displayed as "Full Tags With Attributes" (there is a toolbar drop down button for this). Regards, Radu Radu Coravu <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com On 4/9/2013 11:08 AM, Yves Barbion wrote: > Hi group > > Suppose I get to edit content which was written by someone else, and I > delete some elements of which I think that they do not have a specific > purpose. For example, I see content wrapped in a <ph> element and I > could just delete the <ph> element, but leave the content in the parent > element. The <ph> element, however, may have been used for specific > purposes in the output, for example DITA flagging, so it may have > specific attribute values of which I was not aware. Would it be possible > for oXygen to give me a warning if I were to delete such an element, for > example: > > "The element you are going to delete contains attributes. Are you sure > you want to delete this element?" > > And maybe add the "Do not ask again" option? > > > > Thanks > > -- > Yves Barbion > www.scripto.nu <http://www.scripto.nu> > > > _______________________________________________ > oXygen-user mailing list > oXygen-user at oxygenxml.com > http://www.oxygenxml.com/mailman/listinfo/oxygen-user > From Roderik.Dernison at inl.nl Tue Apr 9 06:46:49 2013 From: Roderik.Dernison at inl.nl (Roderik Dernison) Date: Tue, 9 Apr 2013 11:46:49 +0000 Subject: [oXygen-user] transforming own schema documents? Message-ID: <11D2F5E48CF8644D83F8F8636708CE091DCFE320@svprex10> Hi, I'm trying to transform documents of my own extension of DITA to pdf. I've included some dita-xslts into my own. Now transformation isn't quite doing what I expect it to do. Eg. Transformation of simletables isn't working (gives wrong fo-output). How can I tell oXygen to save my fo-output so I can check where I went wrong in my xslt? Kind regards, Ing. 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/20130409/df973dbc/attachment.html From yves.barbion at gmail.com Tue Apr 9 06:50:22 2013 From: yves.barbion at gmail.com (Yves Barbion) Date: Tue, 9 Apr 2013 13:50:22 +0200 Subject: [oXygen-user] feature request: notify user when he's deleting an element with specific attribute values In-Reply-To: <5163F7D7.4040800@oxygenxml.com> References: <CAMa27Ewr3FfPt=HZREjXc-xmnVcg8tE_m8mJBe5BY_9KbPwk7g@mail.gmail.com> <5163F7D7.4040800@oxygenxml.com> Message-ID: <CAMa27EwQXTFzSN-VKpFLZjWoj=v24yiQbd2QSFDto+G6JTFccg@mail.gmail.com> Hi Radu Yes, I always display the tags and I always have the Attributes pane open as well, so I'm always very well aware of the fact that some elements can have important attributes. I was not asking this for myself, but I was just wondering whether other users have experienced something like this too. No problem if it cannot be implemented. I'll just have to teach my colleague writers to be careful when they remove elements. Kind regards Yves -- Yves Barbion www.scripto.nu -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.oxygenxml.com/pipermail/oxygen-user/attachments/20130409/1ae787d3/attachment.html From support at oxygenxml.com Tue Apr 9 06:58:50 2013 From: support at oxygenxml.com (Oxygen XML Editor Support) Date: Tue, 09 Apr 2013 14:58:50 +0300 Subject: [oXygen-user] transforming own schema documents? In-Reply-To: <11D2F5E48CF8644D83F8F8636708CE091DCFE320@svprex10> References: <11D2F5E48CF8644D83F8F8636708CE091DCFE320@svprex10> Message-ID: <5164027A.80302@oxygenxml.com> Hi Roderick, If you edit the transformation scenario, in the Parameters tab you can set the parameter "clean.temp" to "no". After the publishing you should find in the temporary files folder the XSL-FO file (with the name "topic.fo"). Here are some steps if you want to debug the PDF transformation: http://www.oxygenxml.com/doc/ug-oxygen/index.html#tasks/debugging-pdf-transformation.html Regards, Radu Radu Coravu <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com On 4/9/2013 2:46 PM, Roderik Dernison wrote: > Hi, > > I?m trying to transform documents of my own extension of DITA to pdf. > I?ve included some dita-xslts into my own. Now transformation isn?t > quite doing what I expect it to do. Eg. Transformation of simletables > isn?t working (gives wrong fo-output). > > How can I tell oXygen to save my fo-output so I can check where I went > wrong in my xslt? > > Kind regards, > > Ing. 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 support at oxygenxml.com Tue Apr 9 08:41:58 2013 From: support at oxygenxml.com (Oxygen XML Editor Support) Date: Tue, 09 Apr 2013 16:41:58 +0300 Subject: [oXygen-user] feature request: notify user when he's deleting an element with specific attribute values In-Reply-To: <CAMa27EwQXTFzSN-VKpFLZjWoj=v24yiQbd2QSFDto+G6JTFccg@mail.gmail.com> References: <CAMa27Ewr3FfPt=HZREjXc-xmnVcg8tE_m8mJBe5BY_9KbPwk7g@mail.gmail.com> <5163F7D7.4040800@oxygenxml.com> <CAMa27EwQXTFzSN-VKpFLZjWoj=v24yiQbd2QSFDto+G6JTFccg@mail.gmail.com> Message-ID: <51641AA6.8050003@oxygenxml.com> Hi Yves, It's not a technical difficulty to implement such a check in Oxygen as a default behavior, it's just a matter of considering for how many users the behavior would be useful and for how many the behavior could potentially be annoying. So yes, if somebody else on the list has an opinion on this, it would be welcomed. Regards, Radu Radu Coravu <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com On 4/9/2013 2:50 PM, Yves Barbion wrote: > Hi Radu > > Yes, I always display the tags and I always have the Attributes pane > open as well, so I'm always very well aware of the fact that some > elements can have important attributes. I was not asking this for > myself, but I was just wondering whether other users have experienced > something like this too. > > No problem if it cannot be implemented. I'll just have to teach my > colleague writers to be careful when they remove elements. > > Kind regards > > Yves > > > -- > Yves Barbion > www.scripto.nu <http://www.scripto.nu> From support at oxygenxml.com Wed Apr 10 09:37:20 2013 From: support at oxygenxml.com (Oxygen XML Editor Support) Date: Wed, 10 Apr 2013 17:37:20 +0300 Subject: [oXygen-user] [Ann] New maintenance build available for oXygen 14.2 (2013040919) Message-ID: <51657920.9060607@oxygenxml.com> Dear oXygen users, We announce the release of a new maintenance build (2013040919) for oXygen 14.2 (XML Editor, XML Developer, XML Author). The build number can be verified in the Help -> About dialog box from the application (next to the version number). You can download the new installation kits from our web site: http://www.oxygenxml.com/download.html Here you can find the complete list of bug-fixes: http://www.oxygenxml.com/build_history.html#2013040919 You can follow our oXygen release/build RSS feed here: http://www.oxygenxml.com/rssBuildID.xml Please let us know if you encounter any problems with this new build. Regards, Adrian -- Adrian Buza oXygen XML Editor and Author Support Tel: +1-650-352-1250 ext.202 Fax: +40-251-461482 support at oxygenxml.com http://www.oxygenxml.com From claudio.tubertini at gmail.com Wed Apr 10 12:44:55 2013 From: claudio.tubertini at gmail.com (Claudio Tubertini) Date: Wed, 10 Apr 2013 19:44:55 +0200 Subject: [oXygen-user] Footnotes in standard DocBook HTML transformation Message-ID: <CACTc6UwdDOOx_uQ-dFDD-AWiXyKerGGbs8eBgR01+B_pv1Uh1w@mail.gmail.com> I'have experienced a weird problem with html footnote. I'm using a Mac with Oxygen 14.2 but whenever I try to produce an html file from an xml snippet like this one, (using the standard HTML docbook 5.0 transformation) <para>Il 27 gennaio 1961, al Teatro dell?Opera a Roma, venne proiettato in anteprima un film di produzione privata .... <footnote> <para>Lanocita A. (Lan) 1961, Rassegna cinematografica, ?Corriere della Sera?, 11 febbraio, 6. </para> </footnote>, comment? il ?Corriere della Sera?. L?ufficialit? della pellicola ? confermata dai dubbi insinuati dalla stampa comunista sul finanziamento governativo della pellicola e dalle recensioni elogiative apparse sulla stampa cattolica [Merolla 2004, 131]. <footnote> <para>Centro cattolico cinematografico 1961, Viva l?Italia, ?Segnalazioni cinematografiche?, 28 (XLIX), gennaio.</para> </footnote>.</para> I obtain a footnote link that doesn't work properly <a href="#ftn.d5e37 <#13df29c8626b3101_ftn.d5e37>" class="footnote"><sup class="footnote"><a name="d5e37"></a>[1]</sup></a> this link refers to <div id="ftn.d5e37" class="footnote"><a href="#d5e37<#13df29c8626b3101_d5e37>" class="para"><sup class="para">[1] </sup></a> that works. I think it is strange that this little bug (the anchor <a name="d5e37"></a> has to be moved out of the nested <a>) is still there. May be I am wrong. What can I do to solve this problem? I have to write a customisation stylesheet or there is something easier to do? Regards Claudio -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.oxygenxml.com/pipermail/oxygen-user/attachments/20130410/edd4728a/attachment.html From bobs at sagehill.net Wed Apr 10 13:56:32 2013 From: bobs at sagehill.net (Bob Stayton) Date: Wed, 10 Apr 2013 11:56:32 -0700 Subject: [oXygen-user] Footnotes in standard DocBook HTML transformation In-Reply-To: <CACTc6UwdDOOx_uQ-dFDD-AWiXyKerGGbs8eBgR01+B_pv1Uh1w@mail.gmail.com> References: <CACTc6UwdDOOx_uQ-dFDD-AWiXyKerGGbs8eBgR01+B_pv1Uh1w@mail.gmail.com> Message-ID: <580523CB94C24EDEB05A777B5904F37B@totoro> Hi Claudio, That was a bug that was introduced in DocBook XSL version 1.77.1, which is the version included in Oxygen 14.2. The bug is fixed in DocBook XSL version 1.78.1. This version of the template with match="d:footnote" is from 1.78.1, and if you put in your customization, that should fix the problem until Oxygen gets updated to 1.78.1 <xsl:template match="d:footnote"> <xsl:variable name="name"> <xsl:call-template name="object.id"> <xsl:with-param name="conditional" select="0"/> </xsl:call-template> </xsl:variable> <xsl:variable name="href"> <xsl:text>#ftn.</xsl:text> <xsl:value-of select="$name"/> </xsl:variable> <a href="{$href}"> <xsl:apply-templates select="." mode="class.attribute"/> <xsl:if test="$generate.id.attributes = 0"> <xsl:attribute name="name"> <xsl:value-of select="$name"/> </xsl:attribute> </xsl:if> <sup> <xsl:apply-templates select="." mode="class.attribute"/> <xsl:call-template name="id.attribute"> <xsl:with-param name="conditional" select="0"/> </xsl:call-template> <xsl:text>[</xsl:text> <xsl:apply-templates select="." mode="footnote.number"/> <xsl:text>]</xsl:text> </sup> </a> </xsl:template> Bob Stayton Sagehill Enterprises bobs at sagehill.net From: Claudio Tubertini Sent: Wednesday, April 10, 2013 10:44 AM To: oxygen-user at oxygenxml.com Subject: [oXygen-user] Footnotes in standard DocBook HTML transformation I'have experienced a weird problem with html footnote. I'm using a Mac with Oxygen 14.2 but whenever I try to produce an html file from an xml snippet like this one, (using the standard HTML docbook 5.0 transformation) <para>Il 27 gennaio 1961, al Teatro dell?Opera a Roma, venne proiettato in anteprima un film di produzione privata .... <footnote> <para>Lanocita A. (Lan) 1961, Rassegna cinematografica, ?Corriere della Sera?, 11 febbraio, 6.</para> </footnote>, comment? il ?Corriere della Sera?. L?ufficialit? della pellicola ? confermata dai dubbi insinuati dalla stampa comunista sul finanziamento governativo della pellicola e dalle recensioni elogiative apparse sulla stampa cattolica [Merolla 2004, 131]. <footnote> <para>Centro cattolico cinematografico 1961, Viva l?Italia, ?Segnalazioni cinematografiche?, 28 (XLIX), gennaio.</para> </footnote>.</para> I obtain a footnote link that doesn't work properly <a href="#ftn.d5e37" class="footnote"><sup class="footnote"><a name="d5e37"></a>[1]</sup></a> this link refers to <div id="ftn.d5e37" class="footnote"><a href="#d5e37" class="para"><sup class="para">[1] </sup></a> that works. I think it is strange that this little bug (the anchor <a name="d5e37"></a> has to be moved out of the nested <a>) is still there. May be I am wrong. What can I do to solve this problem? I have to write a customisation stylesheet or there is something easier to do? Regards Claudio _______________________________________________ oXygen-user mailing list oXygen-user at oxygenxml.com http://www.oxygenxml.com/mailman/listinfo/oxygen-user From tgraham at mentea.net Mon Apr 15 08:51:52 2013 From: tgraham at mentea.net (Tony Graham) Date: Mon, 15 Apr 2013 14:51:52 +0100 (IST) Subject: [oXygen-user] Oxygen for creating Drupal content? Message-ID: <45374.195.188.219.10.1366033912.squirrel@squirrelmail.webfaction.com> I'm curious whether anybody has any experience in using Oxygen (either with Java Web Start or as an applet) for creating XML content -- 'entities' in Drupal-speak -- to be managed by a Drupal 7 CMS? Creating a locked-down Oxygen JWS [2] or applet [3] distribution with a single framework and any required extra jars seems simple enough, but getting Drupal to handle XML as XML doesn't seem to be as well documented for Drupal 7 as it was for Drupal 6 [1], and getting content in and out of Drupal seems to only be well defined for its native node types. As such, I have no great expectation that it can be done but would be interested to hear if anyone has managed it. Regards, Tony Graham tgraham at mentea.net Consultant http://www.mentea.net Mentea 13 Kelly's Bay Beach, Skerries, Co. Dublin, Ireland -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- XML, XSL-FO and XSLT consulting, training and programming [1] Though not by Drupal folks themselves, and unavailable today: http://www.ibm.com/developerworks/xml/tutorials/x-drupalxmltut/ [2] http://www.oxygenxml.com/doc/ug-editor/tasks/jwsInstaller.html [3] http://www.oxygenxml.com/doc/ug-editor/topics/component_web_deployment.html From James.Cummings at it.ox.ac.uk Mon Apr 15 14:09:05 2013 From: James.Cummings at it.ox.ac.uk (James Cummings) Date: Mon, 15 Apr 2013 15:09:05 -0400 Subject: [oXygen-user] Oxygen for creating Drupal content? In-Reply-To: <45374.195.188.219.10.1366033912.squirrel@squirrelmail.webfaction.com> References: <45374.195.188.219.10.1366033912.squirrel@squirrelmail.webfaction.com> Message-ID: <516C5051.70302@it.ox.ac.uk> Hi Tony, We've often used oXygen to create content later imported into drupal (using Feeds module), but never using the JWS/applet version as a replacement for the editor. I know of a project where this could potentially be useful, and so would also be interested in hearing of anyone who had done this. I realise that is just a longer version of a 'me too'. -James On 15/04/13 09:51, Tony Graham wrote: > I'm curious whether anybody has any experience in using Oxygen (either > with Java Web Start or as an applet) for creating XML content -- > 'entities' in Drupal-speak -- to be managed by a Drupal 7 CMS? > > Creating a locked-down Oxygen JWS [2] or applet [3] distribution with a > single framework and any required extra jars seems simple enough, but > getting Drupal to handle XML as XML doesn't seem to be as well documented > for Drupal 7 as it was for Drupal 6 [1], and getting content in and out of > Drupal seems to only be well defined for its native node types. As such, > I have no great expectation that it can be done but would be interested to > hear if anyone has managed it. > > Regards, > > > Tony Graham tgraham at mentea.net > Consultant http://www.mentea.net > Mentea 13 Kelly's Bay Beach, Skerries, Co. Dublin, Ireland > -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- > XML, XSL-FO and XSLT consulting, training and programming > > [1] Though not by Drupal folks themselves, and unavailable today: > http://www.ibm.com/developerworks/xml/tutorials/x-drupalxmltut/ > [2] http://www.oxygenxml.com/doc/ug-editor/tasks/jwsInstaller.html > [3] > http://www.oxygenxml.com/doc/ug-editor/topics/component_web_deployment.html > > _______________________________________________ > oXygen-user mailing list > oXygen-user at oxygenxml.com > http://www.oxygenxml.com/mailman/listinfo/oxygen-user > -- Dr James Cummings, James.Cummings at it.ox.ac.uk Academic IT Services, University of Oxford From taraathan at gmail.com Mon Apr 15 16:49:27 2013 From: taraathan at gmail.com (Tara Athan) Date: Mon, 15 Apr 2013 17:49:27 -0400 Subject: [oXygen-user] oxygen does not follow Mac alias Message-ID: <516C75E7.6080207@gmail.com> I set up an alias in the Mac finder to point to some schemas that are imported into another (Relax NG) schema. The importing schema does not validate - it doesn't seem to follow the alias. System ID: /Users/taraathan/Repositories/.../trunk/schemas/relaxng/a.rnc Main validation file: /Users/taraathan/Repositories/.../trunk/schemas/relaxng/a.rnc Engine name: Jing Severity: error Description: FileNotFoundException - /Users/taraathan/Repositories/.../trunk/schemas/relaxng/c/modules/b.rnc (Not a directory) Is there a setting to enable alias-following, or is this a bug? I suppose I can go to the command line and make a symbolic link, but I was hoping for a convenient GUI option here. Thanks, Tara From george at oxygenxml.com Tue Apr 16 02:40:38 2013 From: george at oxygenxml.com (George Cristian Bina) Date: Tue, 16 Apr 2013 03:40:38 -0400 Subject: [oXygen-user] Oxygen for creating Drupal content? In-Reply-To: <516C5051.70302@it.ox.ac.uk> References: <45374.195.188.219.10.1366033912.squirrel@squirrelmail.webfaction.com> <516C5051.70302@it.ox.ac.uk> Message-ID: <516D0076.9080306@oxygenxml.com> Hi Toni, James, I am in Providence, RI for the DITA North America conference and there is someone here that works with Drupal trying to use it for DITA. I will get in touch with him today about the XML support in Drupal 7 and I will let you know if he has some hints on that. Best Regards, George -- George Cristian Bina <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com On 4/15/13 3:09 PM, James Cummings wrote: > > Hi Tony, > > We've often used oXygen to create content later imported into > drupal (using Feeds module), but never using the JWS/applet > version as a replacement for the editor. I know of a project > where this could potentially be useful, and so would also be > interested in hearing of anyone who had done this. > > I realise that is just a longer version of a 'me too'. > > -James > > On 15/04/13 09:51, Tony Graham wrote: >> I'm curious whether anybody has any experience in using Oxygen (either >> with Java Web Start or as an applet) for creating XML content -- >> 'entities' in Drupal-speak -- to be managed by a Drupal 7 CMS? >> >> Creating a locked-down Oxygen JWS [2] or applet [3] distribution with a >> single framework and any required extra jars seems simple enough, but >> getting Drupal to handle XML as XML doesn't seem to be as well documented >> for Drupal 7 as it was for Drupal 6 [1], and getting content in and out of >> Drupal seems to only be well defined for its native node types. As such, >> I have no great expectation that it can be done but would be interested to >> hear if anyone has managed it. >> >> Regards, >> >> >> Tony Graham tgraham at mentea.net >> Consultant http://www.mentea.net >> Mentea 13 Kelly's Bay Beach, Skerries, Co. Dublin, Ireland >> -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- >> XML, XSL-FO and XSLT consulting, training and programming >> >> [1] Though not by Drupal folks themselves, and unavailable today: >> http://www.ibm.com/developerworks/xml/tutorials/x-drupalxmltut/ >> [2] http://www.oxygenxml.com/doc/ug-editor/tasks/jwsInstaller.html >> [3] >> http://www.oxygenxml.com/doc/ug-editor/topics/component_web_deployment.html >> >> _______________________________________________ >> oXygen-user mailing list >> oXygen-user at oxygenxml.com >> http://www.oxygenxml.com/mailman/listinfo/oxygen-user >> > > From nicolas.buonomo at cnafmail.fr Tue Apr 16 06:58:34 2013 From: nicolas.buonomo at cnafmail.fr (Nicolas BUONOMO) Date: Tue, 16 Apr 2013 13:58:34 +0200 Subject: [oXygen-user] Xquery Update magic comment in Oxygen Message-ID: <516D3CEA.3060804@cnafmail.fr> Hi, I send you a some code to illustrate a strange behavior with Xquery update. The code is as simple as possible to illustrate my purpose. I?ve placed a Xquery update function in a Xquery module (module.xql), this function is then called from a query (request.xquery). when I execute this code within OxygenXml, it return me the error : Engine name: Saxon-EE XQuery 9.4.0.4 Severity: error Description: Node to be deleted is not an updateable node URL: http://www.saxonica.com/documentation/javadoc/net/sf/saxon/trans/SaxonErrorCode.html#SXUP0081 unless I add in the query a comment like (: copy modify :), in this case, the code work fine! I have tried to execute this sample from the Saxon command line : $ java -cp /usr/local/lib/oxygen-xml/lib/saxon9ee.jar net.sf.saxon.Query -update:on request.xquery No license file found - running with licensable features disabled Error SXUP0081: Target node of insert expression is not updateable at mod:transform-update-test() (file:/home/nicolas/git-clones/xquery-dev/src/xquery-update/modify-copy-bugs/request.xquery#4) Query processing failed: Run-time errors were reported I?ve got a error with or without the comment (: copy modify :), and the execution is ok when I had the option -tree:linked on the command line, with or without the comment. $ java -cp /usr/local/lib/oxygen-xml/lib/saxon9ee.jar net.sf.saxon.Query -update:on -tree:linked request.xquery No license file found - running with licensable features disabled <?xml version="1.0" encoding="UTF-8"?><modify-copy-bugs><hello>world</hello> </modify-copy-bugs> I work with Oxygen Version : XML Editor 14.2, build 2013021115 on Ubuntu 12.04. Regards, Nicolas BUONOMO -- Nicolas BUONOMO CNAF - CNEDI Rh?ne Alpes DSI - Direction Fonctionnelle et Processus Relation avec les Collectivit?s Territoriales T?l : 0478636669 / 0677877811 M?l : nicolas buonomo at cnafmail.fr From support at oxygenxml.com Tue Apr 16 07:35:11 2013 From: support at oxygenxml.com (Oxygen XML Editor Support) Date: Tue, 16 Apr 2013 15:35:11 +0300 Subject: [oXygen-user] Xquery Update magic comment in Oxygen In-Reply-To: <516D3CEA.3060804@cnafmail.fr> References: <516D3CEA.3060804@cnafmail.fr> Message-ID: <516D457F.8070802@oxygenxml.com> Hello, Could you please send us sample code with the XQuery update call where this reproduces? Can you please check what version of Oxygen (Help > About) and Saxon EE (Help > About, Libraries, Saxon EE) are you using, because there seems to be an inconsistency here. You've mentioned that you are using XML Editor 14.2 which bundles Saxon 9.4.0.6. However, the Oxygen errors you've included are reported by Saxon-EE XQuery 9.4.0.4 (bundled with Oxygen v14.1). Regards, Adrian Adrian Buza oXygen XML Editor and Author Support Tel: +1-650-352-1250 ext.202 Fax: +40-251-461482 support at oxygenxml.com http://www.oxygenxml.com Nicolas BUONOMO wrote: > Hi, > > I send you a some code to illustrate a strange behavior with Xquery update. The code is as simple as > possible to illustrate my purpose. I?ve placed a Xquery update function in a Xquery module (module.xql), > this function is then called from a query (request.xquery). > when I execute this code within OxygenXml, it return me the error : > Engine name: Saxon-EE XQuery 9.4.0.4 > Severity: error > Description: Node to be deleted is not an updateable node > URL: http://www.saxonica.com/documentation/javadoc/net/sf/saxon/trans/SaxonErrorCode.html#SXUP0081 > unless I add in the query a comment like (: copy modify :), in this case, the code work fine! > I have tried to execute this sample from the Saxon command line : > $ java -cp /usr/local/lib/oxygen-xml/lib/saxon9ee.jar net.sf.saxon.Query -update:on request.xquery > No license file found - running with licensable features disabled > Error > SXUP0081: Target node of insert expression is not updateable > at mod:transform-update-test() > (file:/home/nicolas/git-clones/xquery-dev/src/xquery-update/modify-copy-bugs/request.xquery#4) > Query processing failed: Run-time errors were reported > I?ve got a error with or without the comment (: copy modify :), and the execution is ok when I had the > option -tree:linked on the command line, with or without the comment. > > $ java -cp /usr/local/lib/oxygen-xml/lib/saxon9ee.jar net.sf.saxon.Query -update:on -tree:linked > request.xquery > No license file found - running with licensable features disabled > <?xml version="1.0" encoding="UTF-8"?><modify-copy-bugs><hello>world</hello> > </modify-copy-bugs> > > I work with Oxygen Version : XML Editor 14.2, build 2013021115 on Ubuntu 12.04. > > Regards, > > Nicolas BUONOMO > From nicolas.buonomo at cnafmail.fr Tue Apr 16 08:58:33 2013 From: nicolas.buonomo at cnafmail.fr (Nicolas BUONOMO) Date: Tue, 16 Apr 2013 15:58:33 +0200 Subject: [oXygen-user] Xquery Update magic comment in Oxygen In-Reply-To: <516D457F.8070802@oxygenxml.com> References: <516D3CEA.3060804@cnafmail.fr> <516D457F.8070802@oxygenxml.com> Message-ID: <516D5909.1090106@cnafmail.fr> Oxygen version : <oXygen/> XML Editor 14.2, build 2013021115 and Saxon EE version : Saxon EE 9.4.0.6 Sorry I think is a mistake, I send you a old trace before I update to 14.2 I redo it now, we are in the right version! Description Target node of insert expression is not updateable Severity Error System ID /home/nicolas/git-clones/xquery-dev/src/xquery-update/modify-copy-bugs/request.xquery Scenario saxon-EE 9.4.0.6 XQuery file /home/nicolas/git-clones/xquery-dev/src/xquery-update/modify-copy-bugs/request.xquery Engine name Saxon-EE XQuery 9.4.0.6 Additional info http://www.saxonica.com/documentation/javadoc/net/sf/saxon/trans/SaxonErrorCode.html#SXUP0081 On 16/04/2013 14:35, Oxygen XML Editor Support wrote: > Hello, > > Could you please send us sample code with the XQuery update call where this reproduces? > > Can you please check what version of Oxygen (Help > About) and Saxon EE (Help > About, Libraries, Saxon EE) > are you using, because there seems to be an inconsistency here. You've mentioned that you are using XML > Editor 14.2 which bundles Saxon 9.4.0.6. However, the Oxygen errors you've included are reported by > Saxon-EE XQuery 9.4.0.4 (bundled with Oxygen v14.1). > > Regards, > Adrian > > Adrian Buza > oXygen XML Editor and Author Support > > Tel: +1-650-352-1250 ext.202 > Fax: +40-251-461482 > support at oxygenxml.com > http://www.oxygenxml.com > > > Nicolas BUONOMO wrote: >> Hi, >> >> I send you a some code to illustrate a strange behavior with Xquery update. The code is as simple as >> possible to illustrate my purpose. I?ve placed a Xquery update function in a Xquery module (module.xql), >> this function is then called from a query (request.xquery). >> when I execute this code within OxygenXml, it return me the error : >> Engine name: Saxon-EE XQuery 9.4.0.4 >> Severity: error >> Description: Node to be deleted is not an updateable node >> URL: http://www.saxonica.com/documentation/javadoc/net/sf/saxon/trans/SaxonErrorCode.html#SXUP0081 >> unless I add in the query a comment like (: copy modify :), in this case, the code work fine! >> I have tried to execute this sample from the Saxon command line : >> $ java -cp /usr/local/lib/oxygen-xml/lib/saxon9ee.jar net.sf.saxon.Query -update:on request.xquery >> No license file found - running with licensable features disabled >> Error >> SXUP0081: Target node of insert expression is not updateable >> at mod:transform-update-test() >> (file:/home/nicolas/git-clones/xquery-dev/src/xquery-update/modify-copy-bugs/request.xquery#4) >> Query processing failed: Run-time errors were reported >> I?ve got a error with or without the comment (: copy modify :), and the execution is ok when I had the >> option -tree:linked on the command line, with or without the comment. >> >> $ java -cp /usr/local/lib/oxygen-xml/lib/saxon9ee.jar net.sf.saxon.Query -update:on -tree:linked >> request.xquery >> No license file found - running with licensable features disabled >> <?xml version="1.0" encoding="UTF-8"?><modify-copy-bugs><hello>world</hello> >> </modify-copy-bugs> >> >> I work with Oxygen Version : XML Editor 14.2, build 2013021115 on Ubuntu 12.04. >> >> Regards, >> >> Nicolas BUONOMO > > -- Nicolas BUONOMO CNAF - CNEDI Rh?ne Alpes DSI - Direction Fonctionnelle et Processus Relation avec les Collectivit?s Territoriales T?l : 0478636669 / 0677877811 M?l : nicolas buonomo at cnafmail.fr -------------- next part -------------- A non-text attachment was scrubbed... Name: file.xml Type: text/xml Size: 40 bytes Desc: not available Url : http://www.oxygenxml.com/pipermail/oxygen-user/attachments/20130416/cc2f716e/attachment.xml -------------- next part -------------- A non-text attachment was scrubbed... Name: module.xql Type: application/xquery Size: 577 bytes Desc: not available Url : http://www.oxygenxml.com/pipermail/oxygen-user/attachments/20130416/cc2f716e/attachment.bin -------------- next part -------------- A non-text attachment was scrubbed... Name: request.xquery Type: application/xquery Size: 110 bytes Desc: not available Url : http://www.oxygenxml.com/pipermail/oxygen-user/attachments/20130416/cc2f716e/attachment-0001.bin From wapiez at wendellpiez.com Tue Apr 16 09:26:33 2013 From: wapiez at wendellpiez.com (Wendell Piez) Date: Tue, 16 Apr 2013 10:26:33 -0400 Subject: [oXygen-user] CSS hanging indents Message-ID: <CAAO_-xxcEBY3u8LQ5d-WeZ06wm6ChiqBTUXPPEwSUkoXfVh5bQ@mail.gmail.com> Hi oXygenators, In CSS one is generally able to accomplish a hanging indent like so: .hanging-indent { display: block; margin-left: 5em; text-indent: -5em } By "hanging indent" we mean that the block is indented from the left margin, but its first line is not. This layout is commonly used for certain kinds of lists, such as bibliographies. But this doesn't work in oXygen Author because text-indent is not implemented (as is confirmed by the Help). Are any workarounds available? (Yes this is a feature request. :-) Thanks! Wendell -- Wendell Piez | http://www.wendellpiez.com XML | XSLT | electronic publishing Eat Your Vegetables _____oo_________o_o___ooooo____ooooooo_^ From support at oxygenxml.com Wed Apr 17 03:57:33 2013 From: support at oxygenxml.com (Oxygen XML Support) Date: Wed, 17 Apr 2013 11:57:33 +0300 Subject: [oXygen-user] CSS hanging indents In-Reply-To: <CAAO_-xxcEBY3u8LQ5d-WeZ06wm6ChiqBTUXPPEwSUkoXfVh5bQ@mail.gmail.com> References: <CAAO_-xxcEBY3u8LQ5d-WeZ06wm6ChiqBTUXPPEwSUkoXfVh5bQ@mail.gmail.com> Message-ID: <516E63FD.5080003@oxygenxml.com> Hi Wendell, I've added your vote to implement the "text-indent" feature. I can give you an workaround to obtain a positive indent but not one for "hanging indent". Nevertheless, just in case someone is interested in a positive indent, here is how you can obtain one: elem { content:oxy_label(text, " ", width, 5em); } This rule will add an empty label before the first line of text thus simulating an indent. Best regards, Alex -- Alex Jitianu <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com On 16.04.2013 17:26, Wendell Piez wrote: > Hi oXygenators, > > In CSS one is generally able to accomplish a hanging indent like so: > > .hanging-indent { display: block; margin-left: 5em; text-indent: -5em } > > By "hanging indent" we mean that the block is indented from the left > margin, but its first line is not. This layout is commonly used for > certain kinds of lists, such as bibliographies. > > But this doesn't work in oXygen Author because text-indent is not > implemented (as is confirmed by the Help). > > Are any workarounds available? (Yes this is a feature request. :-) > > Thanks! > Wendell > > -- > Wendell Piez | http://www.wendellpiez.com > XML | XSLT | electronic publishing > Eat Your Vegetables > _____oo_________o_o___ooooo____ooooooo_^ > _______________________________________________ > oXygen-user mailing list > oXygen-user at oxygenxml.com > http://www.oxygenxml.com/mailman/listinfo/oxygen-user > From support at oxygenxml.com Wed Apr 17 07:13:37 2013 From: support at oxygenxml.com (Oxygen XML Editor Support) Date: Wed, 17 Apr 2013 15:13:37 +0300 Subject: [oXygen-user] oxygen does not follow Mac alias In-Reply-To: <516C75E7.6080207@gmail.com> References: <516C75E7.6080207@gmail.com> Message-ID: <516E91F1.5060606@oxygenxml.com> Hello, Oxygen does not follow Mac aliases from paths (nor Windows shortcuts for the matter). There is no setting that can be enabled to support this. Note that you can browse for files to open/save and navigate aliases, but they are immediately resolved as soon as they are opened. Unfortunately this is rather difficult to implement in Java since Java itself is not aware of aliases. I've submitted this on our issue tracking tool to be analyzed. Aliases and symbolic links still create local dependencies. Why not use an XML catalog instead? Regards, Adrian Adrian Buza oXygen XML Editor and Author Support Tel: +1-650-352-1250 ext.202 Fax: +40-251-461482 support at oxygenxml.com http://www.oxygenxml.com Tara Athan wrote: > I set up an alias in the Mac finder to point to some schemas that are > imported into another (Relax NG) schema. The importing schema does not > validate - it doesn't seem to follow the alias. > > System ID: /Users/taraathan/Repositories/.../trunk/schemas/relaxng/a.rnc > Main validation file: > /Users/taraathan/Repositories/.../trunk/schemas/relaxng/a.rnc > Engine name: Jing > Severity: error > Description: FileNotFoundException - > /Users/taraathan/Repositories/.../trunk/schemas/relaxng/c/modules/b.rnc > (Not a directory) > > Is there a setting to enable alias-following, or is this a bug? > I suppose I can go to the command line and make a symbolic link, but I > was hoping for a convenient GUI option here. > > Thanks, Tara > > _______________________________________________ > oXygen-user mailing list > oXygen-user at oxygenxml.com > http://www.oxygenxml.com/mailman/listinfo/oxygen-user > > From pboot at xs4all.nl Wed Apr 17 07:56:46 2013 From: pboot at xs4all.nl (Peter Boot) Date: Wed, 17 Apr 2013 14:56:46 +0200 Subject: [oXygen-user] Support for editing xml:id / pointer attributes Message-ID: <92ae922f349cc52bf4f321f72b97a028@xs4all.nl> Hi, When entering an attribute with a pointer datatype, oXygen's content completion suggests the xml:id's defined in the document, and that is very useful. Still, in cases where documents have to contain lots of pointers, editing those pointers remains an error-prone and unpleasant activity. Two things that would help: - underlining or highlighting the element that the current element points to. The same way that oXygen now highlights the closing tag when I click an opening tag, oXygen could show the element that is being pointed at. - a new view which shows all xml:id values assigned in the document (sorted in document order or by value). This will help especially when having to assign xml:id attribute values for new elements. (A self-updating xpath results view would go some way towards this, except that this takes up lots of space on the screen). Thanks, Peter Boot From support at oxygenxml.com Wed Apr 17 09:50:05 2013 From: support at oxygenxml.com (Oxygen XML Editor Support) Date: Wed, 17 Apr 2013 17:50:05 +0300 Subject: [oXygen-user] Xquery Update magic comment in Oxygen In-Reply-To: <516D5909.1090106@cnafmail.fr> References: <516D3CEA.3060804@cnafmail.fr> <516D457F.8070802@oxygenxml.com> <516D5909.1090106@cnafmail.fr> Message-ID: <516EB69D.80108@oxygenxml.com> Hi, Thank you for letting us know about this. I've investigated and it seems Oxygen has a faulty copy/modify detection mechanism that triggers the linked tree tree model in the Saxon configuration. I have logged this to our issue tracking tool. This will be analyzed and resolved in a future version of Oxygen. Regards, Adrian Nicolas BUONOMO wrote: > > Oxygen version : <oXygen/> XML Editor 14.2, build 2013021115 > and Saxon EE version : Saxon EE 9.4.0.6 > > Sorry I think is a mistake, I send you a old trace before I update to > 14.2 > > I redo it now, we are in the right version! > > Description > Target node of insert expression is not updateable > Severity > Error > System ID > /home/nicolas/git-clones/xquery-dev/src/xquery-update/modify-copy-bugs/request.xquery > > Scenario > saxon-EE 9.4.0.6 > XQuery file > /home/nicolas/git-clones/xquery-dev/src/xquery-update/modify-copy-bugs/request.xquery > > Engine name > Saxon-EE XQuery 9.4.0.6 > Additional info > http://www.saxonica.com/documentation/javadoc/net/sf/saxon/trans/SaxonErrorCode.html#SXUP0081 > > > > > On 16/04/2013 14:35, Oxygen XML Editor Support wrote: >> Hello, >> >> Could you please send us sample code with the XQuery update call >> where this reproduces? >> >> Can you please check what version of Oxygen (Help > About) and Saxon >> EE (Help > About, Libraries, Saxon EE) >> are you using, because there seems to be an inconsistency here. >> You've mentioned that you are using XML >> Editor 14.2 which bundles Saxon 9.4.0.6. However, the Oxygen errors >> you've included are reported by >> Saxon-EE XQuery 9.4.0.4 (bundled with Oxygen v14.1). >> >> Regards, >> Adrian >> >> Adrian Buza >> oXygen XML Editor and Author Support >> >> Tel: +1-650-352-1250 ext.202 >> Fax: +40-251-461482 >> support at oxygenxml.com >> http://www.oxygenxml.com >> >> >> Nicolas BUONOMO wrote: >>> Hi, >>> >>> I send you a some code to illustrate a strange behavior with Xquery >>> update. The code is as simple as >>> possible to illustrate my purpose. I?ve placed a Xquery update >>> function in a Xquery module (module.xql), >>> this function is then called from a query (request.xquery). >>> when I execute this code within OxygenXml, it return me the error : >>> Engine name: Saxon-EE XQuery 9.4.0.4 >>> Severity: error >>> Description: Node to be deleted is not an updateable node >>> URL: >>> http://www.saxonica.com/documentation/javadoc/net/sf/saxon/trans/SaxonErrorCode.html#SXUP0081 >>> >>> unless I add in the query a comment like (: copy modify :), in this >>> case, the code work fine! >>> I have tried to execute this sample from the Saxon command line : >>> $ java -cp /usr/local/lib/oxygen-xml/lib/saxon9ee.jar >>> net.sf.saxon.Query -update:on request.xquery >>> No license file found - running with licensable features disabled >>> Error >>> SXUP0081: Target node of insert expression is not updateable >>> at mod:transform-update-test() >>> (file:/home/nicolas/git-clones/xquery-dev/src/xquery-update/modify-copy-bugs/request.xquery#4) >>> >>> Query processing failed: Run-time errors were reported >>> I?ve got a error with or without the comment (: copy modify :), and >>> the execution is ok when I had the >>> option -tree:linked on the command line, with or without the comment. >>> >>> $ java -cp /usr/local/lib/oxygen-xml/lib/saxon9ee.jar >>> net.sf.saxon.Query -update:on -tree:linked >>> request.xquery >>> No license file found - running with licensable features disabled >>> <?xml version="1.0" >>> encoding="UTF-8"?><modify-copy-bugs><hello>world</hello> >>> </modify-copy-bugs> >>> >>> I work with Oxygen Version : XML Editor 14.2, build 2013021115 on >>> Ubuntu 12.04. >>> >>> Regards, >>> >>> Nicolas BUONOMO >> >> > > ------------------------------------------------------------------------ > > _______________________________________________ > oXygen-user mailing list > oXygen-user at oxygenxml.com > http://www.oxygenxml.com/mailman/listinfo/oxygen-user -- Adrian Buza oXygen XML Editor and Author Support Tel: +1-650-352-1250 ext.202 Fax: +40-251-461482 support at oxygenxml.com http://www.oxygenxml.com From taraathan at gmail.com Wed Apr 17 15:04:19 2013 From: taraathan at gmail.com (Tara Athan) Date: Wed, 17 Apr 2013 16:04:19 -0400 Subject: [oXygen-user] oxygen does not follow Mac alias In-Reply-To: <516E91F1.5060606@oxygenxml.com> References: <516C75E7.6080207@gmail.com> <516E91F1.5060606@oxygenxml.com> Message-ID: <516F0043.4000700@gmail.com> On 4/17/13 8:13 AM, Oxygen XML Editor Support wrote: > Hello, > > Oxygen does not follow Mac aliases from paths (nor Windows shortcuts > for the matter). There is no setting that can be enabled to support this. > Note that you can browse for files to open/save and navigate aliases, > but they are immediately resolved as soon as they are opened. > Unfortunately this is rather difficult to implement in Java since Java > itself is not aware of aliases. I've submitted this on our issue > tracking tool to be analyzed. > > Aliases and symbolic links still create local dependencies. Why not > use an XML catalog instead? > I hadn't thought of that. Thanks for the tip. Tara > Regards, > Adrian > > Adrian Buza > oXygen XML Editor and Author Support > > Tel: +1-650-352-1250 ext.202 > Fax: +40-251-461482 > support at oxygenxml.com > http://www.oxygenxml.com > > > Tara Athan wrote: >> I set up an alias in the Mac finder to point to some schemas that are >> imported into another (Relax NG) schema. The importing schema does >> not validate - it doesn't seem to follow the alias. >> >> System ID: /Users/taraathan/Repositories/.../trunk/schemas/relaxng/a.rnc >> Main validation file: >> /Users/taraathan/Repositories/.../trunk/schemas/relaxng/a.rnc >> Engine name: Jing >> Severity: error >> Description: FileNotFoundException - >> /Users/taraathan/Repositories/.../trunk/schemas/relaxng/c/modules/b.rnc >> (Not a directory) >> >> Is there a setting to enable alias-following, or is this a bug? >> I suppose I can go to the command line and make a symbolic link, but >> I was hoping for a convenient GUI option here. >> >> Thanks, Tara >> >> _______________________________________________ >> oXygen-user mailing list >> oXygen-user at oxygenxml.com >> http://www.oxygenxml.com/mailman/listinfo/oxygen-user >> > > From support at oxygenxml.com Fri Apr 19 08:37:38 2013 From: support at oxygenxml.com (Oxygen XML Editor Support) Date: Fri, 19 Apr 2013 16:37:38 +0300 Subject: [oXygen-user] Support for editing xml:id / pointer attributes In-Reply-To: <92ae922f349cc52bf4f321f72b97a028@xs4all.nl> References: <92ae922f349cc52bf4f321f72b97a028@xs4all.nl> Message-ID: <517148A2.2050506@oxygenxml.com> Hello, Thank you for the feedback. I have logged your request to our issue tracking tool. This will be analyzed and implemented in a future version of Oxygen. Regarding the highlighting (pinpointing), that will probably have to be implemented differently especially since the element that is being pointed at may not be visible or even in the same document. Do not hesitate to contact us if you have further suggestions. Regards, Adrian Adrian Buza oXygen XML Editor and Author Support Tel: +1-650-352-1250 ext.202 Fax: +40-251-461482 support at oxygenxml.com http://www.oxygenxml.com Peter Boot wrote: > Hi, > > When entering an attribute with a pointer datatype, oXygen's content > completion suggests the xml:id's defined in the document, and that is > very useful. Still, in cases where documents have to contain lots of > pointers, editing those pointers remains an error-prone and unpleasant > activity. > > Two things that would help: > - underlining or highlighting the element that the current element > points to. The same way that oXygen now highlights the closing tag when > I click an opening tag, oXygen could show the element that is being > pointed at. > - a new view which shows all xml:id values assigned in the document > (sorted in document order or by value). This will help especially when > having to assign xml:id attribute values for new elements. (A > self-updating xpath results view would go some way towards this, except > that this takes up lots of space on the screen). > > Thanks, > Peter Boot > > > _______________________________________________ > oXygen-user mailing list > oXygen-user at oxygenxml.com > http://www.oxygenxml.com/mailman/listinfo/oxygen-user > > From george at oxygenxml.com Sat Apr 20 17:23:30 2013 From: george at oxygenxml.com (George Bina) Date: Sat, 20 Apr 2013 18:23:30 -0400 Subject: [oXygen-user] Oxygen for creating Drupal content? In-Reply-To: <516D0076.9080306@oxygenxml.com> References: <45374.195.188.219.10.1366033912.squirrel@squirrelmail.webfaction.com> <516C5051.70302@it.ox.ac.uk> <516D0076.9080306@oxygenxml.com> Message-ID: <51731562.9040600@oxygenxml.com> Hi Tony and James, I was in touch with Kristof Van Tomme - kristof at pronovix.com - you can contact him also directly at this address. He mentioned that this module might be a good starting point: http://drupal.org/project/xml_field He was also asking about what D6 functionality from Drupal 6 you were referring to, that is changes in Drupal 7? He also mentioned that his company can help if someone wants to sponsor the development of an Oxygen module for Drupal. You may contact him also directly if you want to follow up on this. Best Regards, George -- George Cristian Bina <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com On 4/16/13 3:40 AM, George Cristian Bina wrote: > Hi Toni, James, > > I am in Providence, RI for the DITA North America conference and there > is someone here that works with Drupal trying to use it for DITA. I will > get in touch with him today about the XML support in Drupal 7 and I will > let you know if he has some hints on that. > > Best Regards, > George > -- > George Cristian Bina > <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger > http://www.oxygenxml.com > > On 4/15/13 3:09 PM, James Cummings wrote: >> >> Hi Tony, >> >> We've often used oXygen to create content later imported into >> drupal (using Feeds module), but never using the JWS/applet >> version as a replacement for the editor. I know of a project >> where this could potentially be useful, and so would also be >> interested in hearing of anyone who had done this. >> >> I realise that is just a longer version of a 'me too'. >> >> -James >> >> On 15/04/13 09:51, Tony Graham wrote: >>> I'm curious whether anybody has any experience in using Oxygen (either >>> with Java Web Start or as an applet) for creating XML content -- >>> 'entities' in Drupal-speak -- to be managed by a Drupal 7 CMS? >>> >>> Creating a locked-down Oxygen JWS [2] or applet [3] distribution with a >>> single framework and any required extra jars seems simple enough, but >>> getting Drupal to handle XML as XML doesn't seem to be as well >>> documented >>> for Drupal 7 as it was for Drupal 6 [1], and getting content in and >>> out of >>> Drupal seems to only be well defined for its native node types. As >>> such, >>> I have no great expectation that it can be done but would be >>> interested to >>> hear if anyone has managed it. >>> >>> Regards, >>> >>> >>> Tony Graham tgraham at mentea.net >>> Consultant http://www.mentea.net >>> Mentea 13 Kelly's Bay Beach, Skerries, Co. Dublin, Ireland >>> -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- >>> XML, XSL-FO and XSLT consulting, training and programming >>> >>> [1] Though not by Drupal folks themselves, and unavailable today: >>> http://www.ibm.com/developerworks/xml/tutorials/x-drupalxmltut/ >>> [2] http://www.oxygenxml.com/doc/ug-editor/tasks/jwsInstaller.html >>> [3] >>> http://www.oxygenxml.com/doc/ug-editor/topics/component_web_deployment.html >>> >>> >>> _______________________________________________ >>> oXygen-user mailing list >>> oXygen-user at oxygenxml.com >>> http://www.oxygenxml.com/mailman/listinfo/oxygen-user >>> >> >> > From matthew.kaatman at biomerieux.com Mon Apr 22 08:51:04 2013 From: matthew.kaatman at biomerieux.com (KAATMAN Matthew) Date: Mon, 22 Apr 2013 15:51:04 +0200 Subject: [oXygen-user] Oxygen for creating Drupal content? In-Reply-To: <51731562.9040600@oxygenxml.com> References: <45374.195.188.219.10.1366033912.squirrel@squirrelmail.webfaction.com> <516C5051.70302@it.ox.ac.uk> <516D0076.9080306@oxygenxml.com> <51731562.9040600@oxygenxml.com> Message-ID: <16641_1366638660_51754044_16641_3028618_2_C283C519E1796046AE21A7A1F60882F21585ABD4B3@EXDCVYMBBMR009.eq1bmr.local> Here's the module Kristof created a while back: http://drupal.org/project/dita It hasn't been updated in a while, but that may be changing soon. Matt -----Original Message----- From: oxygen-user-bounces at oxygenxml.com [mailto:oxygen-user-bounces at oxygenxml.com] On Behalf Of George Bina Sent: Saturday, April 20, 2013 5:24 PM To: James.Cummings at it.ox.ac.uk Cc: oxygen-user at oxygenxml.com Subject: Re: [oXygen-user] Oxygen for creating Drupal content? Hi Tony and James, I was in touch with Kristof Van Tomme - kristof at pronovix.com - you can contact him also directly at this address. He mentioned that this module might be a good starting point: http://drupal.org/project/xml_field He was also asking about what D6 functionality from Drupal 6 you were referring to, that is changes in Drupal 7? He also mentioned that his company can help if someone wants to sponsor the development of an Oxygen module for Drupal. You may contact him also directly if you want to follow up on this. Best Regards, George -- George Cristian Bina <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com On 4/16/13 3:40 AM, George Cristian Bina wrote: > Hi Toni, James, > > I am in Providence, RI for the DITA North America conference and there > is someone here that works with Drupal trying to use it for DITA. I > will get in touch with him today about the XML support in Drupal 7 and > I will let you know if he has some hints on that. > > Best Regards, > George > -- > George Cristian Bina > <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger > http://www.oxygenxml.com > > On 4/15/13 3:09 PM, James Cummings wrote: >> >> Hi Tony, >> >> We've often used oXygen to create content later imported into drupal >> (using Feeds module), but never using the JWS/applet version as a >> replacement for the editor. I know of a project where this could >> potentially be useful, and so would also be interested in hearing of >> anyone who had done this. >> >> I realise that is just a longer version of a 'me too'. >> >> -James >> >> On 15/04/13 09:51, Tony Graham wrote: >>> I'm curious whether anybody has any experience in using Oxygen >>> (either with Java Web Start or as an applet) for creating XML >>> content -- 'entities' in Drupal-speak -- to be managed by a Drupal 7 CMS? >>> >>> Creating a locked-down Oxygen JWS [2] or applet [3] distribution >>> with a single framework and any required extra jars seems simple >>> enough, but getting Drupal to handle XML as XML doesn't seem to be >>> as well documented for Drupal 7 as it was for Drupal 6 [1], and >>> getting content in and out of Drupal seems to only be well defined >>> for its native node types. As such, I have no great expectation >>> that it can be done but would be interested to hear if anyone has >>> managed it. >>> >>> Regards, >>> >>> >>> Tony Graham tgraham at mentea.net >>> Consultant http://www.mentea.net >>> Mentea 13 Kelly's Bay Beach, Skerries, Co. Dublin, Ireland >>> -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- >>> XML, XSL-FO and XSLT consulting, training and programming >>> >>> [1] Though not by Drupal folks themselves, and unavailable today: >>> >>> http://www.ibm.com/developerworks/xml/tutorials/x-drupalxmltut/ >>> [2] http://www.oxygenxml.com/doc/ug-editor/tasks/jwsInstaller.html >>> [3] >>> http://www.oxygenxml.com/doc/ug-editor/topics/component_web_deployme >>> nt.html >>> >>> >>> _______________________________________________ >>> 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 AVIS : Ce courrier et ses pieces jointes sont destines a leur seul destinataire et peuvent contenir des informations confidentielles appartenant a bioMerieux. Si vous n'etes pas destinataire, vous etes informe que toute lecture, divulgation, ou reproduction de ce message et des pieces jointes est strictement interdite. Si vous avez recu ce message par erreur merci d'en prevenir l'expediteur et de le detruire, ainsi que ses pieces jointes. NOTICE: This message and attachments are intended only for the use of their addressee and may contain confidential information belonging to bioMerieux. If you are not the intended recipient, you are hereby notified that any reading, dissemination, distribution, or copying of this message, or any attachment, is strictly prohibited. If you have received this message in error, please notify the original sender immediately and delete this message, along with any attachments. From tgraham at mentea.net Mon Apr 22 09:30:08 2013 From: tgraham at mentea.net (Tony Graham) Date: Mon, 22 Apr 2013 15:30:08 +0100 (IST) Subject: [oXygen-user] Oxygen for creating Drupal content? In-Reply-To: <51731562.9040600@oxygenxml.com> References: <45374.195.188.219.10.1366033912.squirrel@squirrelmail.webfaction.com> <516C5051.70302@it.ox.ac.uk> <516D0076.9080306@oxygenxml.com> <51731562.9040600@oxygenxml.com> Message-ID: <33966.195.188.219.10.1366641008.squirrel@squirrelmail.webfaction.com> George, Thanks for following up on this. On Sat, April 20, 2013 11:23 pm, George Bina wrote: ... > He was also asking about what D6 functionality from Drupal 6 you were > referring to, that is changes in Drupal 7? Following the steps in the tutorial referred to below, I was fairly easily able to put some arbitrary XML into Drupal 6 as XML and transform it to HTML for display by Drupal, but AFAIK, some of the modules referred to in the tutorial, such as CCK, have been subsumed into the core of Drupal 7 under some different names, and I've yet to find how to replicate it with Drupal 7. ... >>>> http://www.ibm.com/developerworks/xml/tutorials/x-drupalxmltut/ I asked the original question because some folks who aren't clients of mine were casting around for how to use XML with Drupal 7, so I looked into it out of general interest. If there was an easy answer for how to do it with Drupal 7, I would be pointing them to it, but it looks like I'll have to leave them to their research. Regards, Tony Graham tgraham at mentea.net Consultant http://www.mentea.net Mentea 13 Kelly's Bay Beach, Skerries, Co. Dublin, Ireland -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- XML, XSL-FO and XSLT consulting, training and programming From jakob.fix at gmail.com Tue Apr 23 10:50:09 2013 From: jakob.fix at gmail.com (Jakob Fix) Date: Tue, 23 Apr 2013 17:50:09 +0200 Subject: [oXygen-user] MarkLogic and OxygenXML integration Message-ID: <CACmjRh9HbWw0yhnT6PniEU5vrRctMj3vK2MYWP501V55WR7upQ@mail.gmail.com> Hi, We're using OxygenXML to write Xquery files for MarkLogic Server. We have a transformation scenario that connects to the XDBC server running on MarkLogic. For "normal xquery files" this works fine, i.e. I get auto-completion, parsing and error display and I can execute the file. However, with "module xquery files" we have a problem: * by nature, they cannot be executed, and we get a constant error message at the bottom of the screen E [test-db] XDMP-EVALLIBMOD: xdmp:eval(...) -- Cannot evaluate library module: * but if we don't link them to the transformation scenario, we don't have auto-complete and all the other goodies. Any idea whether that's just a configuration issue, or maybe an RFE? Thanks in advance, Jakob. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.oxygenxml.com/pipermail/oxygen-user/attachments/20130423/b14fa58a/attachment.html From support at oxygenxml.com Wed Apr 24 02:34:06 2013 From: support at oxygenxml.com (oXygen XML Editor Support) Date: Wed, 24 Apr 2013 10:34:06 +0300 Subject: [oXygen-user] MarkLogic and OxygenXML integration In-Reply-To: <CACmjRh9HbWw0yhnT6PniEU5vrRctMj3vK2MYWP501V55WR7upQ@mail.gmail.com> References: <CACmjRh9HbWw0yhnT6PniEU5vrRctMj3vK2MYWP501V55WR7upQ@mail.gmail.com> Message-ID: <51778AEE.7010304@oxygenxml.com> Hi Jakob, I suggest creating a validation scenario that will validate the main module. Don't forget to specify the MarkLogic connection as the validation engine. Next, associate this validation scenario with the module and the module will be validated in the context on the main file. The automatic validation will give an warning this time because MarkLogic lacks the API to perform a real automatic validation on a content not yet committed on the server. But you can manually invoke the validation and it will work. Regards, Alex -- Alex Jitianu <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com On 23-Apr-13 6:50 PM, Jakob Fix wrote: > Hi, > > We're using OxygenXML to write Xquery files for MarkLogic Server. > We have a transformation scenario that connects to the XDBC server > running on MarkLogic. > For "normal xquery files" this works fine, i.e. I get auto-completion, > parsing and error display and I can execute the file. > > However, with "module xquery files" we have a problem: > > * by nature, they cannot be executed, and we get a constant error > message at the bottom of the screen E [test-db] XDMP-EVALLIBMOD: > xdmp:eval(...) -- Cannot evaluate library module: > > * but if we don't link them to the transformation scenario, we don't > have auto-complete and all the other goodies. > > Any idea whether that's just a configuration issue, or maybe an RFE? > > Thanks in advance, > Jakob. > > > _______________________________________________ > oXygen-user mailing list > oXygen-user at oxygenxml.com > http://www.oxygenxml.com/mailman/listinfo/oxygen-user -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.oxygenxml.com/pipermail/oxygen-user/attachments/20130424/2b613a04/attachment.html From nolwenn.kerzreho at componize.com Thu Apr 25 04:33:12 2013 From: nolwenn.kerzreho at componize.com (Nolwenn Kerzreho) Date: Thu, 25 Apr 2013 11:33:12 +0200 Subject: [oXygen-user] =?windows-1252?q?=5BANN=5D_Free_Webinar_April_30=3A?= =?windows-1252?q?_An_integrated_Web-based_DITA_solution-Componize_?= =?windows-1252?q?and_oXygen_present_=93Componize_Author=94?= Message-ID: <CA+MGkom=KHoSiGg9dit1zkW+CjRGi_d955B6g53bG+1mV7CM0w@mail.gmail.com> *Facilitate collaboration and DITA adoption with Componize DITA CMS and oXygen Author component.* Is oXygen your favorite tool for authoring your content today? Would you like more people in your company to use its capacities? Do you believe that SMEs could author DITA-compliant information? Would you like to add powerful collaboration and content management features to your system? And provide an hassle-free access to all engineers, SMEs, and experts to collaborate on a Web-based platform? ?*Componize Author*? brings together best-of-breed Componize DITA CMS and oXygen into an end-to-end Web-based collaborative solution. With ?Componize Author?, you can enforce process, information model, and content control with: 1. Smart reuse, with easy find-and-insert content, cross-reference, and images 2. Automated reviewing and commenting workflows 3. Customizable and reusable templates and metadata 4. Automated versioning, comparing, and audit trail In this free Webinar, we?ll show how to author online, quickly reuse information and media, complete a collaborative review workflow, and control your content. The product demonstration will be followed by a 10-minute Q&A session. *Space is limited.* Reserve your Webinar seat now at: https://www1.gotomeeting.com/register/738692649 Date: *Tuesday, April 30, 2013* Time: *4:00-4:40 PM GMT (London) / 5:00-5:40 PM GMT+1 (Paris) / 8-8:40 AM PST / 11-11:40 AM EST* After registering you will receive a confirmation email containing information about joining the Webinar. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.oxygenxml.com/pipermail/oxygen-user/attachments/20130425/21f6b445/attachment.html From Peter.Rushforth at NRCan-RNCan.gc.ca Thu Apr 25 10:03:25 2013 From: Peter.Rushforth at NRCan-RNCan.gc.ca (Rushforth, Peter) Date: Thu, 25 Apr 2013 15:03:25 +0000 Subject: [oXygen-user] Extension functions in validation scenario Message-ID: <1CD55F04538DEA4F85F3ADF7745464AF249D91EF@S-BSC-MBX1.nrn.nrcan.gc.ca> Hi, I have written some saxon extension functions which support XML Schema assertions. Is there any way to add the jar containing those functions such that I can test them in Oxygen? Thanks Peter Rushforth From support at oxygenxml.com Thu Apr 25 13:26:16 2013 From: support at oxygenxml.com (oXygen XML Editor Support) Date: Thu, 25 Apr 2013 21:26:16 +0300 Subject: [oXygen-user] Extension functions in validation scenario In-Reply-To: <1CD55F04538DEA4F85F3ADF7745464AF249D91EF@S-BSC-MBX1.nrn.nrcan.gc.ca> References: <1CD55F04538DEA4F85F3ADF7745464AF249D91EF@S-BSC-MBX1.nrn.nrcan.gc.ca> Message-ID: <51797548.7000305@oxygenxml.com> Hello, I've already replied to your question on the support email. Please see the response forwarded below: > -------- Original Message -------- > Subject: Re: Extension functions in validation scenario > Date: Thu, 25 Apr 2013 20:45:46 +0300 > From: oXygen XML Editor Support <support at oxygenxml.com> > To: Rushforth, Peter <Peter.Rushforth at NRCan-RNCan.gc.ca> > > Hello, > > Thank you for contacting us. > > The fastest way to add the jars containing your extension functions > would be to add them as extensions in the transformation scenario. > For that, you should go to the "Configure Transformation Scenario(s)", > even by oXygen menu Document > Transformation, or using its > corresponding icon in the Transformation toolbar then choose to "Edit" > the scenario. > > Once in the scenario editing dialog, in the "XSLT" (first) tab, you have > "Extensions". Here is where your jars should go. > > You could also add the extension using a Saxon configuration file, but > this operation is more complex than the first. > You can add the Saxon configuration file in the same edit scenario > dialog, same tab (XSLT). > For that you should access the "Advanced options" for the Saxon engine > (yellow cogwheel icon neat the Transformer chooser). > > Let us know if you need additional information or any further help. > > Regards, > Costin Costin Sandoi oXygen XML Editor and Author Support Tel: +1-650-352-1250 ext.302 Fax: +40-251-461482 support at oxygenxml.com http://www.oxygenxml.com --------------------------------------------------------------------------- This message (including any attachments) contains confidential information and is intended only for the individual(s) named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. Any quotation contained herein has a validity of 30 days, unless otherwise specified. On 4/25/2013 6:03 PM, Rushforth, Peter wrote: > Hi, > > I have written some saxon extension functions which support XML Schema assertions. > > Is there any way to add the jar containing those functions such that I can test them in Oxygen? > > Thanks > > Peter Rushforth > > _______________________________________________ > oXygen-user mailing list > oXygen-user at oxygenxml.com > http://www.oxygenxml.com/mailman/listinfo/oxygen-user > From george at oxygenxml.com Thu Apr 25 13:50:26 2013 From: george at oxygenxml.com (George Cristian Bina) Date: Thu, 25 Apr 2013 21:50:26 +0300 Subject: [oXygen-user] Extension functions in validation scenario In-Reply-To: <51797548.7000305@oxygenxml.com> References: <1CD55F04538DEA4F85F3ADF7745464AF249D91EF@S-BSC-MBX1.nrn.nrcan.gc.ca> <51797548.7000305@oxygenxml.com> Message-ID: <51797AF2.5010003@oxygenxml.com> Hi Peter, I am not sure how you want to use those extensions, I guess you want to use them in an XML Schema 1.1 in the xs:assert/@test attribute? In that case the suggestion below will not work but you can add your extensions library to the [oXygen]/lib folder and oXygen will load that automatically (for the Eclipse plugin you need to also edit the plugin.xml file to add a pointer to that library in the <runtime> section). On the other hand I have not checked if the XML Schema 1.1 spec allows using extension functions inside the xs:assert/@test attribute... Best Regards, George -- George Cristian Bina <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com On 4/25/13 9:26 PM, oXygen XML Editor Support wrote: > Hello, > > I've already replied to your question on the support email. > > Please see the response forwarded below: > >> -------- Original Message -------- >> Subject: Re: Extension functions in validation scenario >> Date: Thu, 25 Apr 2013 20:45:46 +0300 >> From: oXygen XML Editor Support <support at oxygenxml.com> >> To: Rushforth, Peter <Peter.Rushforth at NRCan-RNCan.gc.ca> >> >> Hello, >> >> Thank you for contacting us. >> >> The fastest way to add the jars containing your extension functions >> would be to add them as extensions in the transformation scenario. >> For that, you should go to the "Configure Transformation Scenario(s)", >> even by oXygen menu Document > Transformation, or using its >> corresponding icon in the Transformation toolbar then choose to "Edit" >> the scenario. >> >> Once in the scenario editing dialog, in the "XSLT" (first) tab, you have >> "Extensions". Here is where your jars should go. >> >> You could also add the extension using a Saxon configuration file, but >> this operation is more complex than the first. >> You can add the Saxon configuration file in the same edit scenario >> dialog, same tab (XSLT). >> For that you should access the "Advanced options" for the Saxon engine >> (yellow cogwheel icon neat the Transformer chooser). >> >> Let us know if you need additional information or any further help. >> >> Regards, >> Costin > > Costin Sandoi > oXygen XML Editor and Author Support > > Tel: +1-650-352-1250 ext.302 > Fax: +40-251-461482 > support at oxygenxml.com > http://www.oxygenxml.com > > --------------------------------------------------------------------------- > This message (including any attachments) contains confidential > information and is intended only for the individual(s) named. If you are > not the named addressee you should not disseminate, distribute or copy > this e-mail. Please notify the sender immediately by e-mail if you have > received this e-mail by mistake and delete this e-mail from your system. > Any quotation contained herein has a validity of 30 days, unless > otherwise specified. > > On 4/25/2013 6:03 PM, Rushforth, Peter wrote: >> Hi, >> >> I have written some saxon extension functions which support XML Schema assertions. >> >> Is there any way to add the jar containing those functions such that I can test them in Oxygen? >> >> Thanks >> >> Peter Rushforth >> >> _______________________________________________ >> 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 george at oxygenxml.com Thu Apr 25 13:52:27 2013 From: george at oxygenxml.com (George Cristian Bina) Date: Thu, 25 Apr 2013 21:52:27 +0300 Subject: [oXygen-user] Extension functions in validation scenario In-Reply-To: <51797AF2.5010003@oxygenxml.com> References: <1CD55F04538DEA4F85F3ADF7745464AF249D91EF@S-BSC-MBX1.nrn.nrcan.gc.ca> <51797548.7000305@oxygenxml.com> <51797AF2.5010003@oxygenxml.com> Message-ID: <51797B6B.2040809@oxygenxml.com> I just want to add that we have an enhancement request to add support for specifying additional libraries also in validation scenarios, similar with what we provide for transformation scenarios. Best Regards, George -- George Cristian Bina <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com On 4/25/13 9:50 PM, George Cristian Bina wrote: > Hi Peter, > > I am not sure how you want to use those extensions, I guess you want to > use them in an XML Schema 1.1 in the xs:assert/@test attribute? > In that case the suggestion below will not work but you can add your > extensions library to the [oXygen]/lib folder and oXygen will load that > automatically (for the Eclipse plugin you need to also edit the > plugin.xml file to add a pointer to that library in the <runtime> section). > On the other hand I have not checked if the XML Schema 1.1 spec allows > using extension functions inside the xs:assert/@test attribute... > > Best Regards, > George > -- > George Cristian Bina > <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger > http://www.oxygenxml.com > > On 4/25/13 9:26 PM, oXygen XML Editor Support wrote: >> Hello, >> >> I've already replied to your question on the support email. >> >> Please see the response forwarded below: >> >>> -------- Original Message -------- >>> Subject: Re: Extension functions in validation scenario >>> Date: Thu, 25 Apr 2013 20:45:46 +0300 >>> From: oXygen XML Editor Support <support at oxygenxml.com> >>> To: Rushforth, Peter <Peter.Rushforth at NRCan-RNCan.gc.ca> >>> >>> Hello, >>> >>> Thank you for contacting us. >>> >>> The fastest way to add the jars containing your extension functions >>> would be to add them as extensions in the transformation scenario. >>> For that, you should go to the "Configure Transformation Scenario(s)", >>> even by oXygen menu Document > Transformation, or using its >>> corresponding icon in the Transformation toolbar then choose to "Edit" >>> the scenario. >>> >>> Once in the scenario editing dialog, in the "XSLT" (first) tab, you have >>> "Extensions". Here is where your jars should go. >>> >>> You could also add the extension using a Saxon configuration file, but >>> this operation is more complex than the first. >>> You can add the Saxon configuration file in the same edit scenario >>> dialog, same tab (XSLT). >>> For that you should access the "Advanced options" for the Saxon engine >>> (yellow cogwheel icon neat the Transformer chooser). >>> >>> Let us know if you need additional information or any further help. >>> >>> Regards, >>> Costin >> >> Costin Sandoi >> oXygen XML Editor and Author Support >> >> Tel: +1-650-352-1250 ext.302 >> Fax: +40-251-461482 >> support at oxygenxml.com >> http://www.oxygenxml.com >> >> --------------------------------------------------------------------------- >> This message (including any attachments) contains confidential >> information and is intended only for the individual(s) named. If you are >> not the named addressee you should not disseminate, distribute or copy >> this e-mail. Please notify the sender immediately by e-mail if you have >> received this e-mail by mistake and delete this e-mail from your system. >> Any quotation contained herein has a validity of 30 days, unless >> otherwise specified. >> >> On 4/25/2013 6:03 PM, Rushforth, Peter wrote: >>> Hi, >>> >>> I have written some saxon extension functions which support XML Schema assertions. >>> >>> Is there any way to add the jar containing those functions such that I can test them in Oxygen? >>> >>> Thanks >>> >>> Peter Rushforth >>> >>> _______________________________________________ >>> 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 >> > _______________________________________________ > oXygen-user mailing list > oXygen-user at oxygenxml.com > http://www.oxygenxml.com/mailman/listinfo/oxygen-user > From Peter.Rushforth at NRCan-RNCan.gc.ca Thu Apr 25 14:09:55 2013 From: Peter.Rushforth at NRCan-RNCan.gc.ca (Rushforth, Peter) Date: Thu, 25 Apr 2013 19:09:55 +0000 Subject: [oXygen-user] Extension functions in validation scenario In-Reply-To: <51797B6B.2040809@oxygenxml.com> References: <1CD55F04538DEA4F85F3ADF7745464AF249D91EF@S-BSC-MBX1.nrn.nrcan.gc.ca> <51797548.7000305@oxygenxml.com> <51797AF2.5010003@oxygenxml.com> <51797B6B.2040809@oxygenxml.com> Message-ID: <1CD55F04538DEA4F85F3ADF7745464AF249D93C1@S-BSC-MBX1.nrn.nrcan.gc.ca> Hi, Sorry, yes I should have been clearer about my intended usage. I am using extension functions in XML Schema 1.1 assertions, and I have successfully processed them using Saxon 9.4.0.7 from Java / s9api, however it is a bit cumbersome to test them interactively that way. So I was looking for a way to add the jar file to the validation scenario, as can be done with a transformation scenario, along th elines of exactly the enhancement request you outline below. So count me in there! But I will give the [oXygen]/lib method a try as you suggest to see if that will work in the interim. Thank you. Peter > -----Original Message----- > From: George Cristian Bina [mailto:george at oxygenxml.com] > Sent: April 25, 2013 14:52 > To: Rushforth, Peter > Cc: oxygen-user at oxygenxml.com > Subject: Re: [oXygen-user] Extension functions in validation scenario > > I just want to add that we have an enhancement request to add > support for specifying additional libraries also in > validation scenarios, similar with what we provide for > transformation scenarios. > > Best Regards, > George > -- > George Cristian Bina > <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger > http://www.oxygenxml.com > > On 4/25/13 9:50 PM, George Cristian Bina wrote: > > Hi Peter, > > > > I am not sure how you want to use those extensions, I guess > you want > > to use them in an XML Schema 1.1 in the xs:assert/@test attribute? > > In that case the suggestion below will not work but you can > add your > > extensions library to the [oXygen]/lib folder and oXygen will load > > that automatically (for the Eclipse plugin you need to also > edit the > > plugin.xml file to add a pointer to that library in the > <runtime> section). > > On the other hand I have not checked if the XML Schema 1.1 > spec allows > > using extension functions inside the xs:assert/@test attribute... > > > > Best Regards, > > George > > -- > > George Cristian Bina > > <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger > > http://www.oxygenxml.com > > > > On 4/25/13 9:26 PM, oXygen XML Editor Support wrote: > >> Hello, > >> > >> I've already replied to your question on the support email. > >> > >> Please see the response forwarded below: > >> > >>> -------- Original Message -------- > >>> Subject: Re: Extension functions in validation scenario > >>> Date: Thu, 25 Apr 2013 20:45:46 +0300 > >>> From: oXygen XML Editor Support <support at oxygenxml.com> > >>> To: Rushforth, Peter <Peter.Rushforth at NRCan-RNCan.gc.ca> > >>> > >>> Hello, > >>> > >>> Thank you for contacting us. > >>> > >>> The fastest way to add the jars containing your extension > functions > >>> would be to add them as extensions in the transformation scenario. > >>> For that, you should go to the "Configure Transformation > >>> Scenario(s)", even by oXygen menu Document > Transformation, or > >>> using its corresponding icon in the Transformation > toolbar then choose to "Edit" > >>> the scenario. > >>> > >>> Once in the scenario editing dialog, in the "XSLT" > (first) tab, you > >>> have "Extensions". Here is where your jars should go. > >>> > >>> You could also add the extension using a Saxon > configuration file, > >>> but this operation is more complex than the first. > >>> You can add the Saxon configuration file in the same edit > scenario > >>> dialog, same tab (XSLT). > >>> For that you should access the "Advanced options" for the Saxon > >>> engine (yellow cogwheel icon neat the Transformer chooser). > >>> > >>> Let us know if you need additional information or any > further help. > >>> > >>> Regards, > >>> Costin > >> > >> Costin Sandoi > >> oXygen XML Editor and Author Support > >> > >> Tel: +1-650-352-1250 ext.302 > >> Fax: +40-251-461482 > >> support at oxygenxml.com > >> http://www.oxygenxml.com > >> > >> > --------------------------------------------------------------------- > >> ------ This message (including any attachments) contains > confidential > >> information and is intended only for the individual(s) > named. If you > >> are not the named addressee you should not disseminate, > distribute or > >> copy this e-mail. Please notify the sender immediately by > e-mail if > >> you have received this e-mail by mistake and delete this > e-mail from your system. > >> Any quotation contained herein has a validity of 30 days, unless > >> otherwise specified. > >> > >> On 4/25/2013 6:03 PM, Rushforth, Peter wrote: > >>> Hi, > >>> > >>> I have written some saxon extension functions which > support XML Schema assertions. > >>> > >>> Is there any way to add the jar containing those > functions such that I can test them in Oxygen? > >>> > >>> Thanks > >>> > >>> Peter Rushforth > >>> > >>> _______________________________________________ > >>> 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 > >> > > _______________________________________________ > > oXygen-user mailing list > > oXygen-user at oxygenxml.com > > http://www.oxygenxml.com/mailman/listinfo/oxygen-user > > > From Peter.Rushforth at NRCan-RNCan.gc.ca Fri Apr 26 13:51:43 2013 From: Peter.Rushforth at NRCan-RNCan.gc.ca (Rushforth, Peter) Date: Fri, 26 Apr 2013 18:51:43 +0000 Subject: [oXygen-user] Extension functions in validation scenario In-Reply-To: <51797B6B.2040809@oxygenxml.com> References: <1CD55F04538DEA4F85F3ADF7745464AF249D91EF@S-BSC-MBX1.nrn.nrcan.gc.ca> <51797548.7000305@oxygenxml.com> <51797AF2.5010003@oxygenxml.com> <51797B6B.2040809@oxygenxml.com> Message-ID: <1CD55F04538DEA4F85F3ADF7745464AF249D96FA@S-BSC-MBX1.nrn.nrcan.gc.ca> Hi, I added the classes and dependencies to the [oXygen]/lib folder, but it does not make a difference to Oxygen recognizing the extensions. I don't quite see how it could, since the functions I write have to be explicitly registered with the saxon processor with code like : proc.registerExtensionFunction(MyExtensionFunctions.validEpsg4326Locations); for example. Maybe this will have to wait for the validation scenarios enhancement. Thanks Peter > -----Original Message----- > From: George Cristian Bina [mailto:george at oxygenxml.com] > Sent: April 25, 2013 14:52 > To: Rushforth, Peter > Cc: oxygen-user at oxygenxml.com > Subject: Re: [oXygen-user] Extension functions in validation scenario > > I just want to add that we have an enhancement request to add > support for specifying additional libraries also in > validation scenarios, similar with what we provide for > transformation scenarios. > > Best Regards, > George > -- > George Cristian Bina > <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger > http://www.oxygenxml.com > > On 4/25/13 9:50 PM, George Cristian Bina wrote: > > Hi Peter, > > > > I am not sure how you want to use those extensions, I guess > you want > > to use them in an XML Schema 1.1 in the xs:assert/@test attribute? > > In that case the suggestion below will not work but you can > add your > > extensions library to the [oXygen]/lib folder and oXygen will load > > that automatically (for the Eclipse plugin you need to also > edit the > > plugin.xml file to add a pointer to that library in the > <runtime> section). > > On the other hand I have not checked if the XML Schema 1.1 > spec allows > > using extension functions inside the xs:assert/@test attribute... > > > > Best Regards, > > George > > -- > > George Cristian Bina > > <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger > > http://www.oxygenxml.com > > > > On 4/25/13 9:26 PM, oXygen XML Editor Support wrote: > >> Hello, > >> > >> I've already replied to your question on the support email. > >> > >> Please see the response forwarded below: > >> > >>> -------- Original Message -------- > >>> Subject: Re: Extension functions in validation scenario > >>> Date: Thu, 25 Apr 2013 20:45:46 +0300 > >>> From: oXygen XML Editor Support <support at oxygenxml.com> > >>> To: Rushforth, Peter <Peter.Rushforth at NRCan-RNCan.gc.ca> > >>> > >>> Hello, > >>> > >>> Thank you for contacting us. > >>> > >>> The fastest way to add the jars containing your extension > functions > >>> would be to add them as extensions in the transformation scenario. > >>> For that, you should go to the "Configure Transformation > >>> Scenario(s)", even by oXygen menu Document > Transformation, or > >>> using its corresponding icon in the Transformation > toolbar then choose to "Edit" > >>> the scenario. > >>> > >>> Once in the scenario editing dialog, in the "XSLT" > (first) tab, you > >>> have "Extensions". Here is where your jars should go. > >>> > >>> You could also add the extension using a Saxon > configuration file, > >>> but this operation is more complex than the first. > >>> You can add the Saxon configuration file in the same edit > scenario > >>> dialog, same tab (XSLT). > >>> For that you should access the "Advanced options" for the Saxon > >>> engine (yellow cogwheel icon neat the Transformer chooser). > >>> > >>> Let us know if you need additional information or any > further help. > >>> > >>> Regards, > >>> Costin > >> > >> Costin Sandoi > >> oXygen XML Editor and Author Support > >> > >> Tel: +1-650-352-1250 ext.302 > >> Fax: +40-251-461482 > >> support at oxygenxml.com > >> http://www.oxygenxml.com > >> > >> > --------------------------------------------------------------------- > >> ------ This message (including any attachments) contains > confidential > >> information and is intended only for the individual(s) > named. If you > >> are not the named addressee you should not disseminate, > distribute or > >> copy this e-mail. Please notify the sender immediately by > e-mail if > >> you have received this e-mail by mistake and delete this > e-mail from your system. > >> Any quotation contained herein has a validity of 30 days, unless > >> otherwise specified. > >> > >> On 4/25/2013 6:03 PM, Rushforth, Peter wrote: > >>> Hi, > >>> > >>> I have written some saxon extension functions which > support XML Schema assertions. > >>> > >>> Is there any way to add the jar containing those > functions such that I can test them in Oxygen? > >>> > >>> Thanks > >>> > >>> Peter Rushforth > >>> > >>> _______________________________________________ > >>> 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 > >> > > _______________________________________________ > > oXygen-user mailing list > > oXygen-user at oxygenxml.com > > http://www.oxygenxml.com/mailman/listinfo/oxygen-user > > > From mbaker at analecta.com Fri Apr 26 14:15:40 2013 From: mbaker at analecta.com (Mark Baker) Date: Fri, 26 Apr 2013 15:15:40 -0400 Subject: [oXygen-user] Difference between incomplete and incorrect Message-ID: <025c01ce42b2$7170e8c0$5452ba40$@analecta.com> I'm writing a book in DocBook. It is the first time I have used oXygen to write in a schema that I did not create myself, and I am therefore relying a lot more than I normally do on the cues that the editor gives me. One of those cues are the validation errors. The problem is, they are all signaled with RED. That makes sense if you have entered something illegal, but most of the time they appear because you have begun to create a complex structure and that structure is currently incomplete. From an author's point of view, that's not an error, I just haven't finished yet. Where oXygen can generate the whole structure, it does, so no error is shown, but there are many cases where it can't because what is required is one of one or more options. In these cases, the structured does not become legal until the author adds additional elements. The thing is, RED means stop, but the author, in this case should continue. RED means you did something wrong, but in these cases, the author simply hasn't finished yet. I find the editor is constantly slowing me down by throwing up these errors that I have to analyse each time to determine if I need to go on or if I need to back up. When I design a schema, I try to avoid creating these kinds of structures, for just this reason, but sometimes they cannot be avoided. My question is, is there a way, and do folks think it is desirable, to present a different cue for incomplete structures than for erroneous ones. At minimum, use a different color, such as yellow, for incomplete. Ideally, find some way to indicate that the author is on the right track and needs to continue. Thoughts? Mark -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.oxygenxml.com/pipermail/oxygen-user/attachments/20130426/aa3933a5/attachment.html From george at oxygenxml.com Fri Apr 26 14:40:56 2013 From: george at oxygenxml.com (George Cristian Bina) Date: Fri, 26 Apr 2013 22:40:56 +0300 Subject: [oXygen-user] Extension functions in validation scenario In-Reply-To: <1CD55F04538DEA4F85F3ADF7745464AF249D96FA@S-BSC-MBX1.nrn.nrcan.gc.ca> References: <1CD55F04538DEA4F85F3ADF7745464AF249D91EF@S-BSC-MBX1.nrn.nrcan.gc.ca> <51797548.7000305@oxygenxml.com> <51797AF2.5010003@oxygenxml.com> <51797B6B.2040809@oxygenxml.com> <1CD55F04538DEA4F85F3ADF7745464AF249D96FA@S-BSC-MBX1.nrn.nrcan.gc.ca> Message-ID: <517AD848.6070804@oxygenxml.com> Dear Peter, The integrated extensions can be registered to Saxon through an Initializer class or though a configuration file. We have support for setting a Saxon configuration file and an Initializer for XSLT and XQuery but not for XML Schema - this is on our todo list. It may be the case that Saxon looks automatically at some place for a configuration file - in that case that can be a workaround to setup your extensions, you will still need to have the library in the lib folder to have the extensions Java classes are accessible. Best Regards, George -- George Cristian Bina <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com On 4/26/13 9:51 PM, Rushforth, Peter wrote: > Hi, > > I added the classes and dependencies to the [oXygen]/lib folder, but it > does not make a difference to Oxygen recognizing the extensions. > > I don't quite see how it could, since the functions I write have to be explicitly > registered with the saxon processor with code like : > > proc.registerExtensionFunction(MyExtensionFunctions.validEpsg4326Locations); > > for example. > > Maybe this will have to wait for the validation scenarios enhancement. > > Thanks > Peter > >> -----Original Message----- >> From: George Cristian Bina [mailto:george at oxygenxml.com] >> Sent: April 25, 2013 14:52 >> To: Rushforth, Peter >> Cc: oxygen-user at oxygenxml.com >> Subject: Re: [oXygen-user] Extension functions in validation scenario >> >> I just want to add that we have an enhancement request to add >> support for specifying additional libraries also in >> validation scenarios, similar with what we provide for >> transformation scenarios. >> >> Best Regards, >> George >> -- >> George Cristian Bina >> <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger >> http://www.oxygenxml.com >> >> On 4/25/13 9:50 PM, George Cristian Bina wrote: >>> Hi Peter, >>> >>> I am not sure how you want to use those extensions, I guess >> you want >>> to use them in an XML Schema 1.1 in the xs:assert/@test attribute? >>> In that case the suggestion below will not work but you can >> add your >>> extensions library to the [oXygen]/lib folder and oXygen will load >>> that automatically (for the Eclipse plugin you need to also >> edit the >>> plugin.xml file to add a pointer to that library in the >> <runtime> section). >>> On the other hand I have not checked if the XML Schema 1.1 >> spec allows >>> using extension functions inside the xs:assert/@test attribute... >>> >>> Best Regards, >>> George >>> -- >>> George Cristian Bina >>> <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger >>> http://www.oxygenxml.com >>> >>> On 4/25/13 9:26 PM, oXygen XML Editor Support wrote: >>>> Hello, >>>> >>>> I've already replied to your question on the support email. >>>> >>>> Please see the response forwarded below: >>>> >>>>> -------- Original Message -------- >>>>> Subject: Re: Extension functions in validation scenario >>>>> Date: Thu, 25 Apr 2013 20:45:46 +0300 >>>>> From: oXygen XML Editor Support <support at oxygenxml.com> >>>>> To: Rushforth, Peter <Peter.Rushforth at NRCan-RNCan.gc.ca> >>>>> >>>>> Hello, >>>>> >>>>> Thank you for contacting us. >>>>> >>>>> The fastest way to add the jars containing your extension >> functions >>>>> would be to add them as extensions in the transformation scenario. >>>>> For that, you should go to the "Configure Transformation >>>>> Scenario(s)", even by oXygen menu Document > Transformation, or >>>>> using its corresponding icon in the Transformation >> toolbar then choose to "Edit" >>>>> the scenario. >>>>> >>>>> Once in the scenario editing dialog, in the "XSLT" >> (first) tab, you >>>>> have "Extensions". Here is where your jars should go. >>>>> >>>>> You could also add the extension using a Saxon >> configuration file, >>>>> but this operation is more complex than the first. >>>>> You can add the Saxon configuration file in the same edit >> scenario >>>>> dialog, same tab (XSLT). >>>>> For that you should access the "Advanced options" for the Saxon >>>>> engine (yellow cogwheel icon neat the Transformer chooser). >>>>> >>>>> Let us know if you need additional information or any >> further help. >>>>> >>>>> Regards, >>>>> Costin >>>> >>>> Costin Sandoi >>>> oXygen XML Editor and Author Support >>>> >>>> Tel: +1-650-352-1250 ext.302 >>>> Fax: +40-251-461482 >>>> support at oxygenxml.com >>>> http://www.oxygenxml.com >>>> >>>> >> --------------------------------------------------------------------- >>>> ------ This message (including any attachments) contains >> confidential >>>> information and is intended only for the individual(s) >> named. If you >>>> are not the named addressee you should not disseminate, >> distribute or >>>> copy this e-mail. Please notify the sender immediately by >> e-mail if >>>> you have received this e-mail by mistake and delete this >> e-mail from your system. >>>> Any quotation contained herein has a validity of 30 days, unless >>>> otherwise specified. >>>> >>>> On 4/25/2013 6:03 PM, Rushforth, Peter wrote: >>>>> Hi, >>>>> >>>>> I have written some saxon extension functions which >> support XML Schema assertions. >>>>> >>>>> Is there any way to add the jar containing those >> functions such that I can test them in Oxygen? >>>>> >>>>> Thanks >>>>> >>>>> Peter Rushforth >>>>> >>>>> _______________________________________________ >>>>> 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 >>>> >>> _______________________________________________ >>> oXygen-user mailing list >>> oXygen-user at oxygenxml.com >>> http://www.oxygenxml.com/mailman/listinfo/oxygen-user >>> >> From george at oxygenxml.com Fri Apr 26 15:52:38 2013 From: george at oxygenxml.com (George Cristian Bina) Date: Fri, 26 Apr 2013 23:52:38 +0300 Subject: [oXygen-user] Difference between incomplete and incorrect In-Reply-To: <025c01ce42b2$7170e8c0$5452ba40$@analecta.com> References: <025c01ce42b2$7170e8c0$5452ba40$@analecta.com> Message-ID: <517AE916.9050800@oxygenxml.com> Hi Mark, Thank you for your feedback! Jing has an option for Relax NG validation that we expose in Options->Preferences -- XML / XML Parser / RELAX NG [ ] Check feasibly valid that does not mark anymore as validation errors the missing elements or attributes - in this mode a document is considered feasibly valid if all it takes to make it full valid is to add content, elements or attributes to it. Such a validation mode is useful indeed during authoring. AFAIK there is no similar support for XML Schema or DTDs. However, we do intercept all errors reported by Xerces to update the location information - oXygen changes the location information for many errors from the end of a start tag to the actual location of an attribute or of an attribute value the error actually refers to - so it may be possible to identify errors that refer to missing required content and change them to warnings, thus getting yellow markers instead of red markers, or remove them completely and getting a similar behavior with the check feasibly valid option from the Relax NG validation. This probably needs to be controlled by an option, because a validate action that returns only warnings is considered a successful validation, so the user should be aware that he decided to ignore some type of errors. Best Regards, George -- George Cristian Bina <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com On 4/26/13 10:15 PM, Mark Baker wrote: > I?m writing a book in DocBook. It is the first time I have used oXygen > to write in a schema that I did not create myself, and I am therefore > relying a lot more than I normally do on the cues that the editor gives me. > > One of those cues are the validation errors. The problem is, they are > all signaled with RED. That makes sense if you have entered something > illegal, but most of the time they appear because you have begun to > create a complex structure and that structure is currently incomplete. > From an author?s point of view, that?s not an error, I just haven?t > finished yet. > > Where oXygen can generate the whole structure, it does, so no error is > shown, but there are many cases where it can?t because what is required > is one of one or more options. In these cases, the structured does not > become legal until the author adds additional elements. The thing is, > RED means stop, but the author, in this case should continue. RED means > you did something wrong, but in these cases, the author simply hasn?t > finished yet. > > I find the editor is constantly slowing me down by throwing up these > errors that I have to analyse each time to determine if I need to go on > or if I need to back up. When I design a schema, I try to avoid creating > these kinds of structures, for just this reason, but sometimes they > cannot be avoided. > > My question is, is there a way, and do folks think it is desirable, to > present a different cue for incomplete structures than for erroneous > ones. At minimum, use a different color, such as yellow, for incomplete. > Ideally, find some way to indicate that the author is on the right track > and needs to continue. > > Thoughts? > > Mark > > > > _______________________________________________ > oXygen-user mailing list > oXygen-user at oxygenxml.com > http://www.oxygenxml.com/mailman/listinfo/oxygen-user > From smckenzie23 at gmail.com Fri Apr 26 19:38:32 2013 From: smckenzie23 at gmail.com (Shawn McKenzie) Date: Fri, 26 Apr 2013 17:38:32 -0700 Subject: [oXygen-user] webhelp search not finding some words Message-ID: <CAFG+MEuRc-ggr297f1VPFMHiqHNPLdhe+hPMkHHw133QmeycYA@mail.gmail.com> We are testing the webhelp feature of Oxygen 14.2. Mostly it seems really good. The search feature seems great: fast, no server-side requirements, hightlighting, etc. But in quick testing we have found a few words that are in the content that don't turn up in search results: 'dashboard', 'account', 'define' and 'definition'. The words are in topics and generated index files seem to properly include the terms (index-1.js, htmlFileInfoList.js). Anyone know what could be going on? We are a little worried as we don't know how widespread the problem may be. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.oxygenxml.com/pipermail/oxygen-user/attachments/20130426/3344c2db/attachment-0001.html From david at thingbag.net Sat Apr 27 23:34:56 2013 From: david at thingbag.net (David Cramer) Date: Sat, 27 Apr 2013 23:34:56 -0500 Subject: [oXygen-user] Difference between incomplete and incorrect In-Reply-To: <025c01ce42b2$7170e8c0$5452ba40$@analecta.com> References: <025c01ce42b2$7170e8c0$5452ba40$@analecta.com> Message-ID: <517CA6F0.7060408@thingbag.net> On 04/26/2013 02:15 PM, Mark Baker wrote: ... > My question is, is there a way, and do folks think it is desirable, to > present a different cue for incomplete structures than for erroneous > ones. At minimum, use a different color, such as yellow, for incomplete. > Ideally, find some way to indicate that the author is on the right track > and needs to continue. > > Thoughts? Hi Mark, That's an interesting idea and what follows doesn't address it at all. Instead, this is my approach to the problem: In cases where there's more than one possible next element often one of the elements is the most commonly used. For example, if you enter an itemizedlist, it could take a title or info as a child, followed by a listitem, but usually you just want a listitem. The listitem in turn could take many block elements as a child, but 99% of the time you want a para. If you're writing in author view, then you can add Actions that enter a typical collection of markup instead of just the element and then REMOVE the element from the content completion list. For example, you could have an itemizedlist action that inserts <itemizedlist xmlns="http://docbook.org/ns/docbook"><listitem><para/></listitem></itemizedlist> at the caret position and then bind that to the Content Completion menu as well as any contextual menus or toolbars. If you remove the itemizedlist element from the content completion stuff, then when you press enter and type itemizedlist, you'll always get your action and not the bare element. Now it's up to the user to know that she can modify that template and add a title to the itemizedlist or use something other than a para inside the listitem, but for usability, I think this approach wins. It would be really cool if that stuff were configured out of the box for supported schemas at least for the most important elements. It's not the kind of thing that each user in your org should configure for themselves. Instead all the config should be done and distributed to them in a framework. Regards, David From sorin at sync.ro Mon Apr 29 02:40:20 2013 From: sorin at sync.ro (Sorin Ristache) Date: Mon, 29 Apr 2013 10:40:20 +0300 Subject: [oXygen-user] webhelp search not finding some words In-Reply-To: <CAFG+MEuRc-ggr297f1VPFMHiqHNPLdhe+hPMkHHw133QmeycYA@mail.gmail.com> References: <CAFG+MEuRc-ggr297f1VPFMHiqHNPLdhe+hPMkHHw133QmeycYA@mail.gmail.com> Message-ID: <517E23E4.5050203@sync.ro> Hello, I am trying to reproduce the problem in Oxygen 14.2 with a small sample DITA map but I cannot do that. Did you enable stemming in the Webhelp transformation with the use.stemming parameter? I tried with both values, "yes" and "no". Can the search find other words (any other words)? If not, it is probably a JavaScript syntax error in the JavaScript files with the indexed words, although I cannot imagine how it could get in that state. Please can you send us some sample files for reproducing the problem? If you can send both the source DITA XML files and the output Webhelp files that would be great. If the fileset is large (larger than 2 or 3 MB) you can send it through our online form for reporting problems/bugs: http://oxygenxml.com/techSupport.html Thank you, Sorin Shawn McKenzie wrote: > We are testing the webhelp feature of Oxygen 14.2. Mostly it seems > really good. The search feature seems great: fast, no server-side > requirements, hightlighting, etc. > > But in quick testing we have found a few words that are in the content > that don't turn up in search results: 'dashboard', 'account', 'define' > and 'definition'. The words are in topics and generated index files seem > to properly include the terms (index-1.js, htmlFileInfoList.js). > > Anyone know what could be going on? > > We are a little worried as we don't know how widespread the problem may be. From support at oxygenxml.com Mon Apr 29 07:11:22 2013 From: support at oxygenxml.com (Oxygen XML Editor Support) Date: Mon, 29 Apr 2013 15:11:22 +0300 Subject: [oXygen-user] Difference between incomplete and incorrect In-Reply-To: <517CA6F0.7060408@thingbag.net> References: <025c01ce42b2$7170e8c0$5452ba40$@analecta.com> <517CA6F0.7060408@thingbag.net> Message-ID: <517E636A.1070801@oxygenxml.com> Hi David, In this context we have recorded an improvement to provide access to what elements are available at the current position so that you can disable the action in contexts when that element cannot be inserted. Best Regards, George -- George Cristian Bina <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com On 4/28/13 7:34 AM, David Cramer wrote: > On 04/26/2013 02:15 PM, Mark Baker wrote: > ... >> My question is, is there a way, and do folks think it is desirable, to >> present a different cue for incomplete structures than for erroneous >> ones. At minimum, use a different color, such as yellow, for incomplete. >> Ideally, find some way to indicate that the author is on the right track >> and needs to continue. >> >> Thoughts? > > Hi Mark, > > That's an interesting idea and what follows doesn't address it at all. > Instead, this is my approach to the problem: > > In cases where there's more than one possible next element often one of > the elements is the most commonly used. For example, if you enter an > itemizedlist, it could take a title or info as a child, followed by a > listitem, but usually you just want a listitem. The listitem in turn > could take many block elements as a child, but 99% of the time you want > a para. > > If you're writing in author view, then you can add Actions that enter a > typical collection of markup instead of just the element and then REMOVE > the element from the content completion list. > > For example, you could have an itemizedlist action that inserts > <itemizedlist > xmlns="http://docbook.org/ns/docbook"><listitem><para/></listitem></itemizedlist> > at the caret position and then bind that to the Content Completion menu > as well as any contextual menus or toolbars. If you remove the > itemizedlist element from the content completion stuff, then when you > press enter and type itemizedlist, you'll always get your action and not > the bare element. > > Now it's up to the user to know that she can modify that template and > add a title to the itemizedlist or use something other than a para > inside the listitem, but for usability, I think this approach wins. > > It would be really cool if that stuff were configured out of the box for > supported schemas at least for the most important elements. It's not the > kind of thing that each user in your org should configure for > themselves. Instead all the config should be done and distributed to > them in a framework. > > Regards, > David > > _______________________________________________ > oXygen-user mailing list > oXygen-user at oxygenxml.com > http://www.oxygenxml.com/mailman/listinfo/oxygen-user > From david at thingbag.net Mon Apr 29 11:38:14 2013 From: david at thingbag.net (David Cramer) Date: Mon, 29 Apr 2013 11:38:14 -0500 Subject: [oXygen-user] Difference between incomplete and incorrect In-Reply-To: <517E636A.1070801@oxygenxml.com> References: <025c01ce42b2$7170e8c0$5452ba40$@analecta.com> <517CA6F0.7060408@thingbag.net> <517E636A.1070801@oxygenxml.com> Message-ID: <517EA1F6.4030506@thingbag.net> On 04/29/2013 07:11 AM, Oxygen XML Editor Support wrote: > In this context we have recorded an improvement to provide access to > what elements are available at the current position so that you can > disable the action in contexts when that element cannot be inserted. Thanks, that would help a lot! David From taraathan at gmail.com Tue Apr 30 12:28:57 2013 From: taraathan at gmail.com (Tara Athan) Date: Tue, 30 Apr 2013 13:28:57 -0400 Subject: [oXygen-user] relax ng conversion to xsd 1.1 In-Reply-To: <517EA1F6.4030506@thingbag.net> References: <025c01ce42b2$7170e8c0$5452ba40$@analecta.com> <517CA6F0.7060408@thingbag.net> <517E636A.1070801@oxygenxml.com> <517EA1F6.4030506@thingbag.net> Message-ID: <517FFF59.2040506@gmail.com> I am interested in converting Relax NG to XSD 1.1. Any progress/prospects for this? I might be interested in assisting with the Trang development for this. Regards, Tara