From bogus@does.not.exist.com Mon Jan 3 10:13:05 2005
From: bogus@does.not.exist.com (Ray Miller)
Date: Mon, 3 Jan 2005 11:13:05 -0500
Subject: [oXygen-user] DocBook Table Problems
Message-ID: <200501031113.05449.ray.miller@nist.gov>
I believe this question has been submitted before, I am unable to locate a
suitable resolution.
Current version of oXygen on JDK15; Fedora2 platform.
Docbook DTD is 4.4b2
XSL is version supplied with oXygen
Transformer is Saxon 6.5.3
Test table
cols 1 and 2
col 3
The colwidth attribute does not function; cannot create a DocBook rendering of
an OpenOffice text document.
Help please.
Ray
From bogus@does.not.exist.com Tue Jan 4 03:18:09 2005
From: bogus@does.not.exist.com (George Cristian Bina)
Date: Tue, 04 Jan 2005 11:18:09 +0200
Subject: [oXygen-user] DocBook Table Problems
In-Reply-To: <200501031113.05449.ray.miller@nist.gov>
References: <200501031113.05449.ray.miller@nist.gov>
Message-ID: <41DA5F51.7040905@oxygenxml.com>
Hi Ray,
I responded on the forum:
http://www.oxygenxml.com/forum/ftopic759.html
It seems that you already got the answer here:
http://lists.oasis-open.org/archives/docbook/200501/msg00012.html
Best Regards,
George
---------------------------------------------------------------------
George Cristian Bina
XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Ray Miller wrote:
> I believe this question has been submitted before, I am unable to locate a
> suitable resolution.
>
> Current version of oXygen on JDK15; Fedora2 platform.
> Docbook DTD is 4.4b2
> XSL is version supplied with oXygen
> Transformer is Saxon 6.5.3
>
>
> Test table
>
>
>
>
>
>
>
> cols 1 and 2
> col 3
>
>
>
>
>
> The colwidth attribute does not function; cannot create a DocBook rendering of
> an OpenOffice text document.
>
> Help please.
>
> Ray
> _______________________________________________
> oXygen-user mailing list
> oXygen-user at
> http://www.oxygenxml.com/mailman/listinfo/oxygen-user
From bogus@does.not.exist.com Tue Jan 4 10:54:16 2005
From: bogus@does.not.exist.com (Mark Peyer)
Date: Tue, 04 Jan 2005 17:54:16 +0100
Subject: [oXygen-user] Associating and validating with xsd
Message-ID:
Hi,
I am exporting data out of FileMaker Pro's XML function, converting them
with XSL to comply with an .xsd-file. I can associate the .xsd, and Oxygen 5
will insert
xsi:schemaLocation="http://www.xmlData.ch/xmlInvoice/XSD
filepath/schemafile.xsd"
Then I can validate the .xml-file.
The receiver of my .xml-files wants the schemaLocation in the form
xsi:schemaLocation="http://www.xmlData.ch/xmlInvoice/XSD
schemafile.xsd"
If I associate the .xsd-file without the filepath, I cannot validate it.
In Project mode, I can validate one or all .xml-files using "Validate
selection with...". Here validation functions with or without filepath, but
the line
xsi:schemaLocation="http://www.xmlData.ch/xmlInvoice/XSD
schemafile.xsd"
Is not inserted.
As far as I can see, there is no possibility to batch associate a schema
file.
Are there any workarounds? Am I missing something?
Thanks for your help.
--
Mark A. Peyer
From bogus@does.not.exist.com Wed Jan 5 09:16:23 2005
From: bogus@does.not.exist.com (George Cristian Bina)
Date: Wed, 05 Jan 2005 17:16:23 +0200
Subject: [oXygen-user] Associating and validating with xsd
In-Reply-To:
References:
Message-ID: <41DC04C7.6070603@oxygenxml.com>
Hi Mark,
> The receiver of my .xml-files wants the schemaLocation in the form
>
> xsi:schemaLocation="http://www.xmlData.ch/xmlInvoice/XSD
> schemafile.xsd"
>
> If I associate the .xsd-file without the filepath, I cannot validate it.
If you specify the schema this way then the parser will look for the
schema file in the same directory as the XML file.
The best way to work is to have the schema in some location like
http://www.xmlData.ch/xmlInvoice/XSD/schemafile.xsd and use that in your
documents. Then set up an XML Catalog to resolve the
http://www.xmlData.ch/xmlInvoice/XSD/schemafile.xsd location to a local
copy of that schema.
The batch validation sets the schema externally, that is why it is not
needed to have the schema in the file.
There is no batch schema association action.
You can use a stylesheet to append the xsi:schemaLocation attribute to
the root element of any document, something like below:
http://www.xmlData.ch/xmlInvoice/XSD
http://www.xmlData.ch/xmlInvoice/XSD/schemafile.xsd
Best Regards,
George
---------------------------------------------------------------------
George Cristian Bina
XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Mark Peyer wrote:
> Hi,
>
> I am exporting data out of FileMaker Pro's XML function, converting them
> with XSL to comply with an .xsd-file. I can associate the .xsd, and Oxygen 5
> will insert
> xsi:schemaLocation="http://www.xmlData.ch/xmlInvoice/XSD
> filepath/schemafile.xsd"
> Then I can validate the .xml-file.
>
> The receiver of my .xml-files wants the schemaLocation in the form
>
> xsi:schemaLocation="http://www.xmlData.ch/xmlInvoice/XSD
> schemafile.xsd"
>
> If I associate the .xsd-file without the filepath, I cannot validate it.
>
>
> In Project mode, I can validate one or all .xml-files using "Validate
> selection with...". Here validation functions with or without filepath, but
> the line
>
> xsi:schemaLocation="http://www.xmlData.ch/xmlInvoice/XSD
> schemafile.xsd"
>
> Is not inserted.
>
> As far as I can see, there is no possibility to batch associate a schema
> file.
>
> Are there any workarounds? Am I missing something?
>
> Thanks for your help.
>
From bogus@does.not.exist.com Thu Jan 6 07:19:33 2005
From: bogus@does.not.exist.com (George Cristian Bina)
Date: Thu, 06 Jan 2005 15:19:33 +0200
Subject: [oXygen-user] oXygen 5.1 beta
Message-ID: <41DD3AE5.5030706@oxygenxml.com>
Hi everybody!
First of all I would like to wish you all a Happy New Year!
We have almost ready a new version of oXygen and we made available a
couple of distributions of a beta version of oXygen 5.1.
Windows without a JVM:
http://www.oxygenxml.com/v5.1beta/InstData/Windows/NoVM/oxygen.exe
All platforms:
http://www.oxygenxml.com/v5.1beta/InstData/All/oxygen.tar.gz
Eclipse site URL:
http://www.oxygenxml.com/v5.1beta/InstData/Eclipse/site.xml
I would like to invite you to try it out and let us know if you find any
problem with it.
Although it is a minor release it contains a lot of new additions and
improvements. I will mention the most important features below:
* Folding support
oXygen has a light folding implementation and offers more that
collapse/expand actions. The most useful action is IMO collapse child
folds (CTRL + Numpad-) which will collapse the child fold elements of
the current fold (that is it will present the children elements of the
current element collapsed). Using this starting from the root element
and going down to the element of interest will have as result the
document presented with all the elements collapsed except the element of
interest. Also the folding structure is preserved after a format and
indent action and even if you close the file and reopen it.
* Really improved Relax NG support (I think this will make a lot of
people happy :) )
The content completion support for Relax NG was rewritten from scratch
to offer context sensitive proposals and it is not almost at the same
level as the support for XML Schema and DTD.
Also we have now an implementation of the Model View based on the Relax
NG schema associated with the instance document that shows the element
model and the possible attributes. The most important missing part that
we plan to address in a future release is the annotation support, that
is to present the annotations in the content completion documentation
window and in the Model View.
* Schematron support
oXygen will offer full support for Schematron 1.5. This includes editing
and validating Schematron schemas, validating XML documents with
Schematron schemas, with Relax NG schemas with embedded Schematron rules
and with XML Schemas with embedded Schematron rules.
* Support for XSLTProc, MSXML 3.0, MSXML 4.0 and MSXML.Net as XSLT
transformers.
* Support for ID values on content completion
oXygen will present the ID values collected in the last validate action
on the content completion proposals where an IDREF or an IDREFS type is
specified. This works not only with documents that have a DTD associated
but also with documents that have an XML Schema or a Relax NG schema
associated.
* Code templates
The content completion support can be enhanced with code templates.
oXygen already ships with some code templates for XSLT (thanks to M.
David Peterson) and XSD. One example is typing cwto and pressing
CTRL+Space will get into an XSLT document something like:
where | represents the caret position. The code templates are triggered
with CTRL+Space and they are presented together with eventual content
completion proposals.
* Automatic detection of formatting settings
There are two options that control this feature. The first (true by
default) controls the detection of indent size and indent characters.
The second (false by default) controls the detection of line width.
* Hard line wrap as you edit
This is a time saving option. When editing content one needs to use
almost at every line the format and indent action in order to get the
content wrapped. Now the wrapping can be triggered automatically (if the
option is enabled) and one can issue a format and indent action
eventually when he finishes the editing of that content.
There are more features, I will just mention their short description below:
* Content completion support also on element values (for elements with
XML Schema simple type content)
* Saving of WSDL SOAP Requests
* Open Web Service Call Result into the Editor
* Extended Go to Options
* Optional Content in new XML Document Creation
* Scenario based XSLT debugging session
* Save the Debug Trace
* Extended Batch Validation
* Saxon 8.SA can be used as XQuery Processor
* Annotation Tooltips
* Sortable Tables
* Option for saving all files before validation or transformation
* Project improvements
* Fixed the bidirectional editing support
* Better undo support
* Updated the TEI framework
* File properties page
Best Regards,
George
---------------------------------------------------------------------
George Cristian Bina
XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
From bogus@does.not.exist.com Fri Jan 7 04:08:11 2005
From: bogus@does.not.exist.com (George Cristian Bina)
Date: Fri, 07 Jan 2005 12:08:11 +0200
Subject: [oXygen-user] oXygen 5.1 beta
In-Reply-To: <41DD3AE5.5030706@oxygenxml.com>
References: <41DD3AE5.5030706@oxygenxml.com>
Message-ID: <41DE5F8B.6070900@oxygenxml.com>
Here it is a Mac OS X distribution:
http://www.oxygenxml.com/v5.1beta/InstData/MacOSX/oxygen.tar.gz
Best Regards,
George
---------------------------------------------------------------------
George Cristian Bina
XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
From bogus@does.not.exist.com Fri Jan 7 13:24:26 2005
From: bogus@does.not.exist.com (Lars Huttar)
Date: Fri, 07 Jan 2005 13:24:26 -0600
Subject: [oXygen-user] oXygen File-Open dialog wishes
Message-ID: <41DEE1EA.20903@sil.org>
Dear oXygen folks,
I have just purchased an academic license to oXygen, with 1-yr maintenance.
Maybe this is a good time to express some of my wishes for Oxygen that
have held me back from purchasing till now.
I'm using version 5.0, so maybe some of this is fixed in 5.1.
#1: Better directory-browsing functionality in File-Open dialog.
This is a major reason why I still often use XMLSpy instead of oXygen.
When you press Ctrl+O, the Open dialog that appears isn't the native
Windows File-Open dialog, and doesn't meet expectations in some
significant ways. I'm sure this is due to Oxygen being a cross-platform
Java program. But I would hope that that doesn't mean the interface has
to be inferior.
a) Can't follow shortcuts. My code base is located several directories
deep, so to get there, in XMLSpy I first open c:\mount.lnk, which is a
shortcut to the actual codebase. When I select mount.lnk (e.g.
double-click, or press Enter) the dialog stays open, but displays the
folder that the shortcut points to. In Oxygen, it apparently attempts to
open "mount.lnk" as a file, with no useful result. So I have to navigate
the whole path by hand.
b) File/folder name completion. As I start typing the name of the file,
a native Windows dialog would suggest possible completions, and let me
select using the up/down arrow keys. Oxygen does not.
c) Type-to-find doesn't autoscroll. If you put focus in the pane of the
Open dialog that lists all the files, and you type letters, the
selection moves to the file/folder that begins with those letters; but
if the newly selected file/folder happens to be one that is not showing
on the screen (e.g. it's off to the right because there are too many
files to show at once), the pane doesn't auto-scroll. Manual scrolling
is required, which detracts from the ergonomic benefit of type-to-find.
d) Pressing Enter after typing a folder name doesn't remove the folder
name from the "File name" field. E.g. if you are in c:\Program Files and
you type Apache Group and press Enter, the dialog shows the subfolders
of c:\Program Files\Apache Group, but leaves "Apache Group" in the File
name field. (Expectation: Apache Group would disappear, since it is not
needed relative to the folder that is being shown, i.e. Apache Group.)
So if you continue typing the name of a subfolder, you get "Apache
Group\cocoon" in the File name field, and if you press Enter/OK, you
will not see the contents of the cocoon subfolder. (Instead it will
apparentlyl try to open c:\Program Files\Apache Group\Apache Group\cocoon.)
e) If any of the above behavior leads to attempting to open a file that
doesn't exist, Oxygen still closes the File-Open dialog and tries to
open the file; thus I lose the File-Open dialog and have to hit Ctrl+O
again. It would be nicer if the File-Open dialog would (beep or
something and) stay open unless you click Cancel.
f) (This is more icing on the cake...) In a native Windows file-Open
dialog, you can perform other operations in the dialog, such as renaming
or deleting files. This is often handy: e.g. if you want to save the
file you're working on to a filename that already exists. In Oxygen you
can't do this.
That's probably enough for now.
Lest I sound overly negative, let me say that the benefits of Oxygen
have outweighed its limitations enough that I was willing to pay for it,
vs. the free XMLSpy Home Edition. For example, the responsiveness to
problems posted on this list has been a good selling point.
I hope to see Oxygen improve to the point where I use it without having
regretful thoughts about what I left behind.
Lars
From bogus@does.not.exist.com Mon Jan 10 07:27:52 2005
From: bogus@does.not.exist.com (George Cristian Bina)
Date: Mon, 10 Jan 2005 15:27:52 +0200
Subject: [oXygen-user] oXygen File-Open dialog wishes
In-Reply-To: <41DEE1EA.20903@sil.org>
References: <41DEE1EA.20903@sil.org>
Message-ID: <41E282D8.5070105@oxygenxml.com>
Dear Lars,
Thank you for your message, I filed a bugzilla entry with it.
Version 5.1 is already beta, see:
http://www.oxygenxml.com/pipermail/oxygen-user/2005-January/000345.html
http://www.oxygenxml.com/pipermail/oxygen-user/2005-January/000346.html
Best Regards,
George
P.S. Please join the user list to have the messages sent to the list
without administrator approval.
---------------------------------------------------------------------
George Cristian Bina
XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Lars Huttar wrote:
> Dear oXygen folks,
> I have just purchased an academic license to oXygen, with 1-yr maintenance.
> Maybe this is a good time to express some of my wishes for Oxygen that
> have held me back from purchasing till now.
> I'm using version 5.0, so maybe some of this is fixed in 5.1.
>
> #1: Better directory-browsing functionality in File-Open dialog.
> This is a major reason why I still often use XMLSpy instead of oXygen.
> When you press Ctrl+O, the Open dialog that appears isn't the native
> Windows File-Open dialog, and doesn't meet expectations in some
> significant ways. I'm sure this is due to Oxygen being a cross-platform
> Java program. But I would hope that that doesn't mean the interface has
> to be inferior.
>
> a) Can't follow shortcuts. My code base is located several directories
> deep, so to get there, in XMLSpy I first open c:\mount.lnk, which is a
> shortcut to the actual codebase. When I select mount.lnk (e.g.
> double-click, or press Enter) the dialog stays open, but displays the
> folder that the shortcut points to. In Oxygen, it apparently attempts to
> open "mount.lnk" as a file, with no useful result. So I have to navigate
> the whole path by hand.
>
> b) File/folder name completion. As I start typing the name of the file,
> a native Windows dialog would suggest possible completions, and let me
> select using the up/down arrow keys. Oxygen does not.
>
> c) Type-to-find doesn't autoscroll. If you put focus in the pane of the
> Open dialog that lists all the files, and you type letters, the
> selection moves to the file/folder that begins with those letters; but
> if the newly selected file/folder happens to be one that is not showing
> on the screen (e.g. it's off to the right because there are too many
> files to show at once), the pane doesn't auto-scroll. Manual scrolling
> is required, which detracts from the ergonomic benefit of type-to-find.
>
> d) Pressing Enter after typing a folder name doesn't remove the folder
> name from the "File name" field. E.g. if you are in c:\Program Files and
> you type Apache Group and press Enter, the dialog shows the subfolders
> of c:\Program Files\Apache Group, but leaves "Apache Group" in the File
> name field. (Expectation: Apache Group would disappear, since it is not
> needed relative to the folder that is being shown, i.e. Apache Group.)
> So if you continue typing the name of a subfolder, you get "Apache
> Group\cocoon" in the File name field, and if you press Enter/OK, you
> will not see the contents of the cocoon subfolder. (Instead it will
> apparentlyl try to open c:\Program Files\Apache Group\Apache Group\cocoon.)
>
> e) If any of the above behavior leads to attempting to open a file that
> doesn't exist, Oxygen still closes the File-Open dialog and tries to
> open the file; thus I lose the File-Open dialog and have to hit Ctrl+O
> again. It would be nicer if the File-Open dialog would (beep or
> something and) stay open unless you click Cancel.
>
> f) (This is more icing on the cake...) In a native Windows file-Open
> dialog, you can perform other operations in the dialog, such as renaming
> or deleting files. This is often handy: e.g. if you want to save the
> file you're working on to a filename that already exists. In Oxygen you
> can't do this.
>
> That's probably enough for now.
>
> Lest I sound overly negative, let me say that the benefits of Oxygen
> have outweighed its limitations enough that I was willing to pay for it,
> vs. the free XMLSpy Home Edition. For example, the responsiveness to
> problems posted on this list has been a good selling point.
>
> I hope to see Oxygen improve to the point where I use it without having
> regretful thoughts about what I left behind.
>
> Lars
>
> _______________________________________________
> oXygen-user mailing list
> oXygen-user at
> http://www.oxygenxml.com/mailman/listinfo/oxygen-user
From bogus@does.not.exist.com Mon Jan 10 09:35:37 2005
From: bogus@does.not.exist.com (Ray Miller)
Date: Mon, 10 Jan 2005 10:35:37 -0500
Subject: [oXygen-user] XInclude Validation Errors
Message-ID: <200501101035.37982.ray.miller@nist.gov>
Utilizing oXygen 5.1 with Docbook 4.4b2 DTD and XSL 1.67.2 with the default
oXygen Xalan transformer.
A document validation check produces the following error:
Element type "xi:include" must be declared
along with a couple of related error messages.
XInclude Processing is enabled utilizing Options | Preferences | XML Parser
Options
Docbook files compile correctly utilizing XInclude but the errors during the
document validation are irritating.
Please advise.
--
Ray Miller
From bogus@does.not.exist.com Mon Jan 10 09:51:00 2005
From: bogus@does.not.exist.com (=?ISO-8859-1?Q?Ant=F3nio_Mota?=)
Date: Mon, 10 Jan 2005 15:51:00 +0000
Subject: [oXygen-user] Validation and data entry
Message-ID: <2fa55447050110075114e01532@mail.gmail.com>
Hello:
I'm new in here, i'm evaluating oXygen (among others) in order to buy
some licences to our company (nothing big, 4-5 licenses only).
Until now i'm using 5.0, i like what i see so far, but i've a big
concern. The idea is to have the editor to our XML/XSL guy (me) do the
design/test/implementation, along with our Javascript guy (me) and the
CSS guy (me) cause the first project will be client-side tranforms,
and also with our Java guy (well, me) for other XML projects (based on
the XUI project).
However after all these people :) do their work it will be the need
for some other people, probably with no or little understandig of XML,
to pick up the definitions and "write" a lot of XML files for
application use.
Until now i'm testing Schema validation on data entry, but i can only
validate the data after their inclusion. Isn't a way to do some
"on-the-fly" real-time validation?
Also, using 5.0, it seems the data introduction modes are very poor.
I've installed 5.1 just now. Is there some improvements on this?
Excuse me also for my bad english writing...
Cheers.
From bogus@does.not.exist.com Mon Jan 10 09:53:21 2005
From: bogus@does.not.exist.com (Ray Miller)
Date: Mon, 10 Jan 2005 10:53:21 -0500
Subject: [oXygen-user] font.family Configuration
Message-ID: <200501101053.21374.ray.miller@nist.gov>
Utilizing oXygen 5.1 with the included Xalan processor.
Can not get
title.font.family
body.font.family
monospace.font.family
all with values Helvetica, applied under under
document | xml document | configure transformation scenario | edit |
parameters
to work.
Is this a transformation engine or an oXygen limitation?
Please advise.
--
Ray Miller
From bogus@does.not.exist.com Mon Jan 10 09:59:41 2005
From: bogus@does.not.exist.com (Sean Wheller)
Date: Mon, 10 Jan 2005 17:59:41 +0200
Subject: [oXygen-user] XInclude Validation Errors
In-Reply-To: <200501101035.37982.ray.miller@nist.gov>
References: <200501101035.37982.ray.miller@nist.gov>
Message-ID: <200501101759.41238.sean@enbaya.co.za>
On Monday 10 January 2005 17:35, Ray Miller wrote:
> A document validation check produces the following error:
>
> Element type "xi:include" must be declared
>
> along with a couple of related error messages.
>
> XInclude Processing is enabled utilizing Options | Preferences | XML Parser
> Options
>
> Docbook files compile correctly utilizing XInclude but the errors during
> the document validation are irritating.
Ray,
Define the DocType Decl as follows:
%xinclude;
]>
You can also see this if you start a new Docbook document with XInclude
support.
Hope this helps.
--
Sean Wheller
sean at
http://www.enbaya.co.za
From bogus@does.not.exist.com Mon Jan 10 11:39:15 2005
From: bogus@does.not.exist.com (George Cristian Bina)
Date: Mon, 10 Jan 2005 19:39:15 +0200
Subject: [oXygen-user] font.family Configuration
In-Reply-To: <200501101053.21374.ray.miller@nist.gov>
References: <200501101053.21374.ray.miller@nist.gov>
Message-ID: <41E2BDC3.2020709@oxygenxml.com>
Hi Ray,
I suppose you are using DocBook...
To what output format do you try to convert?
I tried to convert the [oxygen]/samples/docbook/sample.xml to PDF and it
seems to work fine with the parameters you mentioned.
Best Regards,
George
---------------------------------------------------------------------
George Cristian Bina
XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Ray Miller wrote:
> Utilizing oXygen 5.1 with the included Xalan processor.
>
> Can not get
>
> title.font.family
> body.font.family
> monospace.font.family
>
> all with values Helvetica, applied under under
>
> document | xml document | configure transformation scenario | edit |
> parameters
>
> to work.
>
> Is this a transformation engine or an oXygen limitation?
>
> Please advise.
From bogus@does.not.exist.com Mon Jan 10 16:47:54 2005
From: bogus@does.not.exist.com (lars)
Date: Mon, 10 Jan 2005 16:47:54 -0600
Subject: [oXygen-user] huge memory usage
Message-ID: <20050110224754.M20128@huttar.net>
Hello,
Oxygen seems very slow to restore when I've been using other applications. I
understand that restoring from the page file can take time, but it seems
really slow compared to other programs.
Today I looked at the Task Manager during the Oxygen restore. The memory size
of the Oxygen process was increasing at roughly .5MB/second, and was up near
200MB! And there was only one file open -- a small XSL stylesheet! (I had
previously had about 6 or 7 stylesheets open -- none of them large.)
It seems strange that Oxygen would need so much memory.
I looked in the documentation for tips on performance, and it tells how to set
the amount of memory available to the JVM, but doesn't indicate how to know
what value to set it to. I guess I must have it on high since it was able to
allocate over 200MB of space (oxygen.bat uses the -Xmx256m cmd-line option).
Would it help to lower this setting?
FWIW my laptop has 384MB RAM, and is running WinXP SP2. Windows has 600+MB of
swap space on the drive. I'm running on power, not battery, so that's not an
issue. I've just completely defragged my hard drive, so I know that's not the
problem.
These waits happen not only when I return to Oxygen from running other
programs, but also when I return to a different buffer (file) in Oxygen that I
haven't visited for a while, or use a function (like Find) for the first time
in a while. After the wait, Oxygen runs pretty fast, but the waits are
aggravating.
Any suggestions? Other than more RAM (which I'm considering).
Lars
From bogus@does.not.exist.com Tue Jan 11 03:27:41 2005
From: bogus@does.not.exist.com (George Cristian Bina)
Date: Tue, 11 Jan 2005 11:27:41 +0200
Subject: [Fwd: Re: [oXygen-user] Validation and data entry]
Message-ID: <41E39C0D.5080708@oxygenxml.com>
This did not get through to the oxygen-user due to a config problem of
my send mail server.
Regards,
George
-------- Original Message --------
Subject: Re: [oXygen-user] Validation and data entry
Date: Tue, 11 Jan 2005 00:07:46 +0200
From: George Cristian Bina
To: Ant?nio Mota
CC: oXygen-user at
References: <2fa55447050110075114e01532 at >
Hi Antonio,
Oxygen will present in the content completion only the elements that
keep the document valid. If you make the model view visible (you can
find it in a tabbed pane together with the project view) you will be
able to see also the content model for the current element as well as
the information about the current element attributes.
If you annotate your schemas oXygen will present the
xs:annotation/xs:documentation next to the content completion proposals
as the users edit the document, thus you can tell/explain the user the
meaning of each element, attribute or value and that will be present
exactly when the user needs it. You can see this in action if you edit
an XML Schema or an XSLT stylesheet (they use annotated XML Schemas for
content completion).
Oxygen handles not only simple restriction types when it presents values
in the content completion, it follows down the simple types until it
gets the enumerations, thus we can handle also union types for instance.
More it has support for list type values, after a value is inserted it
will offer content completion for the following values. From 5.1 it has
support for content completion also for elements with simple types,
presenting the values as in case of attributes and it will handle also
xs:IDREF and xs:IDREFS types presenting the xs:ID values collected in
the last validation action.
There is no real time validation support, but if the users will follow
the content completion proposals and helped by the model view and by the
schema annotations they should not really need that.
Also in 5.1 oXygen added Schematron support. You can use that to create
a standalone Schematron schema or to embed Schematron rules in your XML
Schema and validate with both XML Schema and Schematron on a single
action. This will let you apply very powerful checks on your instance
documents as Schematron basically specifies XPath checks that are
executed in specified contexts, so you have the full XPath power. Thus
you can assert for instance that the sum of price elements from a list
of products should be less than 500.
Best Regards,
George
---------------------------------------------------------------------
George Cristian Bina
XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Ant?nio Mota wrote:
> Hello:
>
> I'm new in here, i'm evaluating oXygen (among others) in order to buy
> some licences to our company (nothing big, 4-5 licenses only).
>
> Until now i'm using 5.0, i like what i see so far, but i've a big
> concern. The idea is to have the editor to our XML/XSL guy (me) do the
> design/test/implementation, along with our Javascript guy (me) and the
> CSS guy (me) cause the first project will be client-side tranforms,
> and also with our Java guy (well, me) for other XML projects (based on
> the XUI project).
>
> However after all these people :) do their work it will be the need
> for some other people, probably with no or little understandig of XML,
> to pick up the definitions and "write" a lot of XML files for
> application use.
>
> Until now i'm testing Schema validation on data entry, but i can only
> validate the data after their inclusion. Isn't a way to do some
> "on-the-fly" real-time validation?
>
> Also, using 5.0, it seems the data introduction modes are very poor.
> I've installed 5.1 just now. Is there some improvements on this?
>
> Excuse me also for my bad english writing...
>
> Cheers.
> _______________________________________________
> oXygen-user mailing list
> oXygen-user at
> http://www.oxygenxml.com/mailman/listinfo/oxygen-user
--
---------------------------------------------------------------------
George Cristian Bina
XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
From bogus@does.not.exist.com Tue Jan 11 05:59:39 2005
From: bogus@does.not.exist.com (Dan Caprioara)
Date: Tue, 11 Jan 2005 13:59:39 +0200
Subject: [oXygen-user] huge memory usage
In-Reply-To: <20050110224754.M20128@huttar.net>
References: <20050110224754.M20128@huttar.net>
Message-ID: <41E3BFAB.3070803@oxygenxml.com>
Hello Lars,
You can try to lower the memory limit to 128MB or bellow, by using
-Xmx128m.
You can change this both in the oxygen.bat file and in the oxygen.ini
file from C:\Program Files\Oxygen 5.0\ directory, the entry: "Virtual
Machine Parameters".
Probably the JVM is preferring to allocate memory up to the specified
limit of 256MB instead of invoking the garbage collector. Because of
this some sections of the RAM can be swapped out on the disk, creating
delays.
Let me know if this change has solved the problem.
Best regards,
Dan
lars wrote:
>Hello,
>Oxygen seems very slow to restore when I've been using other applications. I
>understand that restoring from the page file can take time, but it seems
>really slow compared to other programs.
>Today I looked at the Task Manager during the Oxygen restore. The memory size
>of the Oxygen process was increasing at roughly .5MB/second, and was up near
>200MB! And there was only one file open -- a small XSL stylesheet! (I had
>previously had about 6 or 7 stylesheets open -- none of them large.)
>It seems strange that Oxygen would need so much memory.
>
>I looked in the documentation for tips on performance, and it tells how to set
>the amount of memory available to the JVM, but doesn't indicate how to know
>what value to set it to. I guess I must have it on high since it was able to
>allocate over 200MB of space (oxygen.bat uses the -Xmx256m cmd-line option).
>Would it help to lower this setting?
>
>FWIW my laptop has 384MB RAM, and is running WinXP SP2. Windows has 600+MB of
>swap space on the drive. I'm running on power, not battery, so that's not an
>issue. I've just completely defragged my hard drive, so I know that's not the
>problem.
>
>These waits happen not only when I return to Oxygen from running other
>programs, but also when I return to a different buffer (file) in Oxygen that I
>haven't visited for a while, or use a function (like Find) for the first time
>in a while. After the wait, Oxygen runs pretty fast, but the waits are
>aggravating.
>
>Any suggestions? Other than more RAM (which I'm considering).
>
>Lars
>
>_______________________________________________
>oXygen-user mailing list
>oXygen-user at
>http://www.oxygenxml.com/mailman/listinfo/oxygen-user
>
>
From bogus@does.not.exist.com Tue Jan 11 08:01:02 2005
From: bogus@does.not.exist.com (Ray Miller)
Date: Tue, 11 Jan 2005 09:01:02 -0500
Subject: [oXygen-user] font.family Configuration
In-Reply-To: <41E2BDC3.2020709@oxygenxml.com>
References: <200501101053.21374.ray.miller@nist.gov>
<41E2BDC3.2020709@oxygenxml.com>
Message-ID: <200501110901.02091.ray.miller@nist.gov>
> I suppose you are using DocBook...
Yes
> To what output format do you try to convert?
HTML and PDF
> I tried to convert the [oxygen]/samples/docbook/sample.xml to PDF and it
> seems to work fine with the parameters you mentioned.
Will have to test on another Windoze client; the box in question may be having
font difficulties ...
Ray
From bogus@does.not.exist.com Tue Jan 11 08:26:09 2005
From: bogus@does.not.exist.com (George Cristian Bina)
Date: Tue, 11 Jan 2005 16:26:09 +0200
Subject: [oXygen-user] font.family Configuration
In-Reply-To: <200501110901.02091.ray.miller@nist.gov>
References: <200501101053.21374.ray.miller@nist.gov> <41E2BDC3.2020709@oxygenxml.com>
<200501110901.02091.ray.miller@nist.gov>
Message-ID: <41E3E201.60702@oxygenxml.com>
>>To what output format do you try to convert?
>
> HTML and PDF
I believe these parameters work only for the DocBook FO stylesheet. For
HTML you should use CSS, see:
http://www.sagehill.net/docbookxsl/UsingCSS.html
Best Regards,
George
---------------------------------------------------------------------
George Cristian Bina
XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
From bogus@does.not.exist.com Tue Jan 11 12:45:32 2005
From: bogus@does.not.exist.com (Peter Charles)
Date: Tue, 11 Jan 2005 10:45:32 -0800
Subject: [oXygen-user] Project Files are have absolute file paths
Message-ID: <200501111845.j0BIjXdn028779@irony.sims.berkeley.edu>
Looking at the xml in the .xpr project files all file paths are absolute.
This in unfortunate since it means that when you share projects via cvs, all
users must have the same directory structure.
Is it possible to set projects to use relative paths as a configuration
option?
Thanks,
Peter
From bogus@does.not.exist.com Tue Jan 11 12:57:24 2005
From: bogus@does.not.exist.com (Marius Scurtescu)
Date: Tue, 11 Jan 2005 10:57:24 -0800
Subject: [oXygen-user] Project Files are have absolute file paths
In-Reply-To: <200501111845.j0BIjXdn028779@irony.sims.berkeley.edu>
References: <200501111845.j0BIjXdn028779@irony.sims.berkeley.edu>
Message-ID: <41E42194.10101@healthmetrx.com>
Not all paths are absolute, some are relative.
For files below the location of the project file paths are
relative. So if you can save your project file such that
all files are below it then you have a workaround.
It would be nice if paths to all files on the same
drive as the project files were relative.
Marius
Peter Charles wrote:
> Looking at the xml in the .xpr project files all file paths are absolute.
> This in unfortunate since it means that when you share projects via cvs, all
> users must have the same directory structure.
>
> Is it possible to set projects to use relative paths as a configuration
> option?
>
> Thanks,
>
> Peter
>
> _______________________________________________
> oXygen-user mailing list
> oXygen-user at
> http://www.oxygenxml.com/mailman/listinfo/oxygen-user
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mscurtescu.vcf
Type: text/x-vcard
Size: 317 bytes
Desc: not available
Url : http://www.oxygenxml.com/pipermail/oxygen-user/attachments/20050111/9ef5a324/attachment.vcf
From bogus@does.not.exist.com Wed Jan 12 09:10:23 2005
From: bogus@does.not.exist.com (lars)
Date: Wed, 12 Jan 2005 09:10:23 -0600
Subject: [oXygen-user] viewing files side-by-side?
Message-ID: <20050112151023.M93297@huttar.net>
Hello,
Is there any way, in Oxygen, to view files side by side (tiled, cascaded,
etc.)? I've tried fiddling around with the interface but couldn't get this to
happen. Among other things I tried starting a second instance of Oxygen to run
beside the first, but instead I got a small splash screen saying that it was
opening files in the already-running instance of Oxygen.
I suppose I could use Eclipse with Oxygen as a plugin, but that makes things
quite a bit slower.
Thanks,
Lars
From bogus@does.not.exist.com Wed Jan 12 09:34:53 2005
From: bogus@does.not.exist.com (George Cristian Bina)
Date: Wed, 12 Jan 2005 17:34:53 +0200
Subject: [oXygen-user] viewing files side-by-side?
In-Reply-To: <20050112151023.M93297@huttar.net>
References: <20050112151023.M93297@huttar.net>
Message-ID: <41E5439D.2060803@oxygenxml.com>
Hi Lars,
No, there is not such a way right now, maybe only a workaround if you
use the XSLT Debugger perspective. There the XSLT files are presented in
a tabbed pane and the rest of the files are presented in a different
tabbed pane, thus you get them side by side.
By default oXygen starts in a desktop working mode, that is it keeps a
single instance. You can disable this if you pass the
com.oxygenxml.MultipleInstances system parameter with true as value.
Depending on how you start oXygen you need to edit a particular file as
explained below.
1. If you are using the oxygen.exe on Windows you need to edit the
oxygen.ini file and add to the Virtual Machine Parameters entry the
following:
-Dcom.oxygenxml.MultipleInstances=true
2. If you use the oxygen.bat, oxygen.sh or oxygenMac.sh script you
should add after the java command the following:
-Dcom.oxygenxml.MultipleInstances=true
3. If you use the Linux distribution you need to edit the oxygen.lax
file and add the same
-Dcom.oxygenxml.MultipleInstances=true
to the lax.nl.java.option.additional entry.
Best Regards,
George
---------------------------------------------------------------------
George Cristian Bina
XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
lars wrote:
> Hello,
> Is there any way, in Oxygen, to view files side by side (tiled, cascaded,
> etc.)? I've tried fiddling around with the interface but couldn't get this to
> happen. Among other things I tried starting a second instance of Oxygen to run
> beside the first, but instead I got a small splash screen saying that it was
> opening files in the already-running instance of Oxygen.
>
> I suppose I could use Eclipse with Oxygen as a plugin, but that makes things
> quite a bit slower.
>
> Thanks,
> Lars
>
> _______________________________________________
> oXygen-user mailing list
> oXygen-user at
> http://www.oxygenxml.com/mailman/listinfo/oxygen-user
From bogus@does.not.exist.com Wed Jan 12 12:04:08 2005
From: bogus@does.not.exist.com (Lars Huttar)
Date: Wed, 12 Jan 2005 12:04:08 -0600
Subject: [oXygen-user] Open dialog: supported file types
Message-ID: <41E56698.7030302@huttar.net>
Hello,
In Oxygen (5.0, 5.1), in the File - Open dialog, by defaults the files
displayed are "All supported files (XML, XHTML, ....)". Unfortunately
this does not include the file types specified under Preferences/File types.
For example, I work primarily with Cocoon, so I open lots of files with
extensions .xmap, .xconf, and .xsp. But these files don't show up in the
File - Open dialog, unless I change it to show "All Files"... whereupon
it also shows many files I don't want to edit.
So this is a feature request that the "Files of type" option "All
supported files" (the default option) would include file types specified
under Preferences/File types.
Lars
From bogus@does.not.exist.com Tue Jan 18 13:50:23 2005
From: bogus@does.not.exist.com (Sean Wheller)
Date: Tue, 18 Jan 2005 21:50:23 +0200
Subject: [oXygen-user] 5.1 Slow Freeze
Message-ID: <200501182150.23292.sean@enbaya.co.za>
Hi,
Been running 5.1b without this problem, switched to 5.1 and now Oxy freezes
when toggling between XML Editor and XSLT Debug after running one debug
session (all platforms package).
On first run of debug I get:
Warning: Cannot convert string
"-b&h-lucida-medium-r-normal-sans-*-140-*-*-p-*-iso8859-1" to type FontStruct
javax.swing.text.StateInvariantError: infinite loop in formatting
at javax.swing.text.FlowView$FlowStrategy.layout(FlowView.java:414)
at javax.swing.text.FlowView.layout(FlowView.java:182)
at javax.swing.text.BoxView.setSize(BoxView.java:379)
at javax.swing.text.BoxView.updateChildSizes(BoxView.java:348)
at javax.swing.text.BoxView.setSpanOnAxis(BoxView.java:330)
at javax.swing.text.BoxView.layout(BoxView.java:682)
at javax.swing.text.BoxView.setSize(BoxView.java:379)
at javax.swing.text.BoxView.updateChildSizes(BoxView.java:348)
at javax.swing.text.BoxView.setSpanOnAxis(BoxView.java:330)
at javax.swing.text.BoxView.layout(BoxView.java:682)
at javax.swing.text.BoxView.setSize(BoxView.java:379)
at
javax.swing.plaf.basic.BasicTextUI$RootView.setSize(BasicTextUI.java:1599)
at
javax.swing.plaf.basic.BasicTextUI.getPreferredSize(BasicTextUI.java:801)
at javax.swing.JComponent.getPreferredSize(JComponent.java:1275)
at javax.swing.JEditorPane.getPreferredSize(JEditorPane.java:1212)
at
javax.swing.ScrollPaneLayout.layoutContainer(ScrollPaneLayout.java:769)
at java.awt.Container.layout(Container.java:1020)
at java.awt.Container.doLayout(Container.java:1010)
at java.awt.Container.validateTree(Container.java:1092)
at java.awt.Container.validateTree(Container.java:1099)
at java.awt.Container.validateTree(Container.java:1099)
at java.awt.Container.validateTree(Container.java:1099)
at java.awt.Container.validateTree(Container.java:1099)
at java.awt.Container.validateTree(Container.java:1099)
at java.awt.Container.validateTree(Container.java:1099)
at java.awt.Container.validateTree(Container.java:1099)
at java.awt.Container.validateTree(Container.java:1099)
at java.awt.Container.validateTree(Container.java:1099)
at java.awt.Container.validateTree(Container.java:1099)
at java.awt.Container.validateTree(Container.java:1099)
at java.awt.Container.validateTree(Container.java:1099)
....
--
Sean Wheller
sean at
http://www.enbaya.co.za
From bogus@does.not.exist.com Wed Jan 19 02:17:37 2005
From: bogus@does.not.exist.com (Dan Caprioara)
Date: Wed, 19 Jan 2005 10:17:37 +0200
Subject: [oXygen-user] 5.1 Slow Freeze
In-Reply-To: <200501182150.23292.sean@enbaya.co.za>
References: <200501182150.23292.sean@enbaya.co.za>
Message-ID: <41EE17A1.4010203@oxygenxml.com>
Hello,
We are using the standard Java component for rendering HTML.
Unfortunately this component sometimes crashes, like in this case. The
workaround is to run the debug session without the HTML results pane
visible, You can deactivate it from Options/Preferences/XSLT/FO/Debugger
Options/ panel, the checkbox: "Enable XHTML Output".
Many regards,
Dan
Sean Wheller wrote:
>Hi,
>
>Been running 5.1b without this problem, switched to 5.1 and now Oxy freezes
>when toggling between XML Editor and XSLT Debug after running one debug
>session (all platforms package).
>
>On first run of debug I get:
>
>Warning: Cannot convert string
>"-b&h-lucida-medium-r-normal-sans-*-140-*-*-p-*-iso8859-1" to type FontStruct
>javax.swing.text.StateInvariantError: infinite loop in formatting
> at javax.swing.text.FlowView$FlowStrategy.layout(FlowView.java:414)
> at javax.swing.text.FlowView.layout(FlowView.java:182)
> at javax.swing.text.BoxView.setSize(BoxView.java:379)
> at javax.swing.text.BoxView.updateChildSizes(BoxView.java:348)
> at javax.swing.text.BoxView.setSpanOnAxis(BoxView.java:330)
> at javax.swing.text.BoxView.layout(BoxView.java:682)
> at javax.swing.text.BoxView.setSize(BoxView.java:379)
> at javax.swing.text.BoxView.updateChildSizes(BoxView.java:348)
> at javax.swing.text.BoxView.setSpanOnAxis(BoxView.java:330)
> at javax.swing.text.BoxView.layout(BoxView.java:682)
> at javax.swing.text.BoxView.setSize(BoxView.java:379)
> at
>javax.swing.plaf.basic.BasicTextUI$RootView.setSize(BasicTextUI.java:1599)
> at
>javax.swing.plaf.basic.BasicTextUI.getPreferredSize(BasicTextUI.java:801)
> at javax.swing.JComponent.getPreferredSize(JComponent.java:1275)
> at javax.swing.JEditorPane.getPreferredSize(JEditorPane.java:1212)
> at
>javax.swing.ScrollPaneLayout.layoutContainer(ScrollPaneLayout.java:769)
> at java.awt.Container.layout(Container.java:1020)
> at java.awt.Container.doLayout(Container.java:1010)
> at java.awt.Container.validateTree(Container.java:1092)
> at java.awt.Container.validateTree(Container.java:1099)
> at java.awt.Container.validateTree(Container.java:1099)
> at java.awt.Container.validateTree(Container.java:1099)
> at java.awt.Container.validateTree(Container.java:1099)
> at java.awt.Container.validateTree(Container.java:1099)
> at java.awt.Container.validateTree(Container.java:1099)
> at java.awt.Container.validateTree(Container.java:1099)
> at java.awt.Container.validateTree(Container.java:1099)
> at java.awt.Container.validateTree(Container.java:1099)
> at java.awt.Container.validateTree(Container.java:1099)
> at java.awt.Container.validateTree(Container.java:1099)
> at java.awt.Container.validateTree(Container.java:1099)
>....
>
>
>
>
From bogus@does.not.exist.com Wed Jan 19 14:20:49 2005
From: bogus@does.not.exist.com (Sean Wheller)
Date: Wed, 19 Jan 2005 22:20:49 +0200
Subject: [oXygen-user] glossary.collection with catalogs
Message-ID: <200501192220.50012.sean@enbaya.co.za>
Hi,
5.1 All platforms (running on Linux)
Had this working and now it's bust again.
I want to do glossary.collection in Docbook [1].
I have added a catalog (did restart Oxy)
In my doc I have
Dummy
Now you see me, next you won't.
In my custom layer I have:
Transform and Glossary is blank. Any ideas what I had right in 5.0 that I have
forgotten to do in 5.1. Unfortunately I deleted my 5.0 install so I can't
check.
[1] http://www.sagehill.net/docbookxsl/GlossDatabase.html
--
Sean Wheller
sean at
http://www.enbaya.co.za
From bogus@does.not.exist.com Wed Jan 19 14:22:06 2005
From: bogus@does.not.exist.com (Sean Wheller)
Date: Wed, 19 Jan 2005 22:22:06 +0200
Subject: [oXygen-user] Folding
Message-ID: <200501192222.06278.sean@enbaya.co.za>
5.1 All Platforms (running on Linux)
What's the secret to make folding work? I get the menus but the don't do
anything?
--
Sean Wheller
sean at
http://www.enbaya.co.za
From bogus@does.not.exist.com Wed Jan 19 15:00:53 2005
From: bogus@does.not.exist.com (Hiroshi Okugawa)
Date: Wed, 19 Jan 2005 16:00:53 -0500
Subject: [oXygen-user] Folding
In-Reply-To: <200501192222.06278.sean@enbaya.co.za>
References: <200501192222.06278.sean@enbaya.co.za>
Message-ID: <200501192101.j0JL11Z07520@mailr1.asahi-net.or.jp>
Did you uncheck 'Editor' - 'Aspect' - 'Line wrap' option?
-- Hiroshi
In message "[oXygen-user] Folding"
At Wed, 19 Jan 2005 22:22:06 +0200
Sean Wheller -san writes.
Message-ID: <200501192222.06278.sean at >
|5.1 All Platforms (running on Linux)
|
|What's the secret to make folding work? I get the menus but the don't do
|anything?
From bogus@does.not.exist.com Thu Jan 20 03:15:45 2005
From: bogus@does.not.exist.com (Dan Caprioara)
Date: Thu, 20 Jan 2005 11:15:45 +0200
Subject: [oXygen-user] Folding
In-Reply-To: <200501192222.06278.sean@enbaya.co.za>
References: <200501192222.06278.sean@enbaya.co.za>
Message-ID: <41EF76C1.9020608@oxygenxml.com>
Folding may also be disabled when editing a document with the I18N flag
set on. For example containing some hebrew characters.
Sean Wheller wrote:
>5.1 All Platforms (running on Linux)
>
>What's the secret to make folding work? I get the menus but the don't do
>anything?
>
>
>
From bogus@does.not.exist.com Fri Jan 21 08:20:24 2005
From: bogus@does.not.exist.com (Sorin Ristache)
Date: Fri, 21 Jan 2005 16:20:24 +0200
Subject: [oXygen-user] glossary.collection with catalogs
In-Reply-To: <200501192220.50012.sean@enbaya.co.za>
References: <200501192220.50012.sean@enbaya.co.za>
Message-ID: <41F10FA8.5060805@oxygenxml.com>
Hello,
It works on Linux and on Windows without problems if I use the custom
layer and apply the instructions you quoted. You will see in the
Glossary section of your transformation result only the glossary terms
that you used in your document. Is your glossary file valid ? Maybe the
glossary file that you want to point in the catalog doesn't exist at the
location specified in the catalog ?
I hope that helps,
Sorin
Sean Wheller wrote:
>Hi,
>
>5.1 All platforms (running on Linux)
>
>Had this working and now it's bust again.
>
>I want to do glossary.collection in Docbook [1].
>
>I have added a catalog (did restart Oxy)
>
>
> uri="file:///home/sean/work/syspro/common/glossary.xml"/>
>
>
>In my doc I have
>
>
>
> Dummy
>
> Now you see me, next you won't.
>
>
>
>
>In my custom layer I have:
>
>
>
>
>
>Transform and Glossary is blank. Any ideas what I had right in 5.0 that I have
>forgotten to do in 5.1. Unfortunately I deleted my 5.0 install so I can't
>check.
>
>[1] http://www.sagehill.net/docbookxsl/GlossDatabase.html
>
>
From bogus@does.not.exist.com Sat Jan 22 10:23:02 2005
From: bogus@does.not.exist.com (Sean Wheller)
Date: Sat, 22 Jan 2005 18:23:02 +0200
Subject: [oXygen-user] complex xpath
Message-ID: <200501221823.02209.sean@enbaya.co.za>
Using the following document as a study
http://www.gnome.org/~shaunm/doctable/doaproll.rdf
My question is how to perform an XPath that will return all CVSRepository
nodes. I try //CVSRepository and get "XPath returned no results".
Any hints should be documented and added to Oxygen Help.
--
Sean Wheller
sean at
http://www.enbaya.co.za
From bogus@does.not.exist.com Sat Jan 22 14:18:27 2005
From: bogus@does.not.exist.com (David Sewell)
Date: Sat, 22 Jan 2005 15:18:27 -0500 (Eastern Standard Time)
Subject: [oXygen-user] Re: complex xpath
In-Reply-To: <20050122180002.DDC7011C169@editor2.oxygenxml.com>
References: <20050122180002.DDC7011C169@editor2.oxygenxml.com>
Message-ID:
On Sat, 22 Jan 2005 oxygen-user-request at wrote:
> Date: Sat, 22 Jan 2005 18:23:02 +0200
> From: Sean Wheller
> Subject: [oXygen-user] complex xpath
>
> Using the following document as a study
> http://www.gnome.org/~shaunm/doctable/doaproll.rdf
>
> My question is how to perform an XPath that will return all CVSRepository
> nodes. I try //CVSRepository and get "XPath returned no results".
>
> Any hints should be documented and added to Oxygen Help.
The problem is an XPath one and not an oXygen one. In your XML document,
each "" element is assigned to a namespace without a prefix,
making it impossible to find its subelements using XPath. Try adding this
attribute to your root RDF element:
xmlns:prj="http://www.gnome.org/~shaunm/faux-doap"
then you can use the XPath expression
//prj:CVSRepository
and find the elements.
DS
--
David Sewell, Editorial and Technical Manager
Electronic Imprint, The University of Virginia Press
PO Box 400318, Charlottesville, VA 22904-4318 USA
Courier: 310 Old Ivy Way, Suite 302, Charlottesville VA 22903
Email: dsewell at Tel: +1 434 924 9973
From bogus@does.not.exist.com Wed Jan 26 04:22:13 2005
From: bogus@does.not.exist.com (Paul Hermans)
Date: Wed, 26 Jan 2005 11:22:13 +0100
Subject: [oXygen-user] problem with XPath 2.0
Message-ID:
XPath expression
for $i in //cat:OrderLine return data($i/cat:Quantity)
returns
class java.lang.Array Index Out Of Bounds Exception 1
The same path works on the same file in other tools.
Regards,
Paul
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.oxygenxml.com/pipermail/oxygen-user/attachments/20050126/6561dad5/attachment.html
From bogus@does.not.exist.com Wed Jan 26 07:27:46 2005
From: bogus@does.not.exist.com (George Cristian Bina)
Date: Wed, 26 Jan 2005 15:27:46 +0200
Subject: [oXygen-user] problem with XPath 2.0
In-Reply-To:
References:
Message-ID: <41F79AD2.7020104@oxygenxml.com>
Hi Paul,
This is a problem in Saxon 8.1.1 used by oXygen for XPath 2.0 support.
When invoked from command line it gets the same exception [1].
We patched the XPathEvaluator class and now it works correctly. To get
the fix in oXygen just drop the attached saxon-XPathPatch.jar in your
[oXygen]/lib folder or, if you are on a Mac in
oxygen.app/Contents/Resources/Java.
Let us know if you encounter any difficulties with this patch. Also
please subscribe to the list to have your emails posted automatically
without administrator approval.
[1]
E:\workspace\oXygen>java -cp lib/saxon8.jar
net.sf.saxon.xpath.XPathEvaluator build.xml "for $i in //target return $i"
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 1
at
net.sf.saxon.expr.XPathContextMajor.setLocalVariable(XPathContextMajor.java:213)
at
net.sf.saxon.expr.ForExpression$MappingAction.map(ForExpression.java:208)
at net.sf.saxon.expr.MappingIterator.next(MappingIterator.java:64)
at
net.sf.saxon.xpath.XPathEvaluator.evaluate(XPathEvaluator.java:186)
at net.sf.saxon.xpath.XPathEvaluator.main(XPathEvaluator.java:284)
Best Regards,
George
---------------------------------------------------------------------
George Cristian Bina
XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Paul Hermans wrote:
> XPath expression
>
> for $i in //cat:OrderLine return data($i/cat:Quantity)
>
> returns
>
> class java.lang.Array Index Out Of Bounds Exception 1
>
>
> The same path works on the same file in other tools.
>
>
> Regards,
>
>
> Paul
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> oXygen-user mailing list
> oXygen-user at
> http://www.oxygenxml.com/mailman/listinfo/oxygen-user
-------------- next part --------------
A non-text attachment was scrubbed...
Name: saxon-XPathPatch.jar
Type: application/octet-stream
Size: 3402 bytes
Desc: not available
Url : http://www.oxygenxml.com/pipermail/oxygen-user/attachments/20050126/b76f7a9f/attachment.obj
From bogus@does.not.exist.com Wed Jan 26 08:59:11 2005
From: bogus@does.not.exist.com (Ray Miller)
Date: Wed, 26 Jan 2005 09:59:11 -0500
Subject: [oXygen-user] oXygen 5.1 XSLT Parameter Values Now Constants
Message-ID: <200501260959.11812.ray.miller@nist.gov>
Upgraded to oXygen 5.1 from 5.0; vm = 1.5.0_01; os = CentOS (RHEL-3)
Document | XML Document | Configure Transformation Scenario | Edit |
Parameters
Can no longer edit XSLT parameter values as default value (value1, 2 etc) are
now constants; however no problem with inserting and/or modifying XSLT
parameter names.
Please advise.
--
Ray
From bogus@does.not.exist.com Wed Jan 26 09:27:32 2005
From: bogus@does.not.exist.com (Paul Hermans)
Date: Wed, 26 Jan 2005 16:27:32 +0100
Subject: [oXygen-user] small enhancements
Message-ID: <41F7B6E4.3080601@proxml.be>
a) XPath
Is it only possible to test absolute paths starting from the root node?
I would like to select nodes in the tree view and test relative paths
form there.
b) Schema editing
If simple types are restricted it would be nice to get only the facets
applicable to the base type that has been used for the restriction.
Regards,
Paul
From bogus@does.not.exist.com Thu Jan 27 02:01:51 2005
From: bogus@does.not.exist.com (Sorin Ristache)
Date: Thu, 27 Jan 2005 10:01:51 +0200
Subject: [oXygen-user] oXygen 5.1 XSLT Parameter Values Now Constants
In-Reply-To: <200501260959.11812.ray.miller@nist.gov>
References: <200501260959.11812.ray.miller@nist.gov>
Message-ID: <41F89FEF.5040809@oxygenxml.com>
Hello,
I tested oXygen 5.1 with Sun Java 1.5.0 on Mandrake Linux and I had no
problem editing parameter values or names. Maybe it is a problem with
your window manager. Do you have the same behavior if you run oXygen
with Java 1.4 or if you change the window manager ?
Regards,
Sorin
Ray Miller wrote:
>Upgraded to oXygen 5.1 from 5.0; vm = 1.5.0_01; os = CentOS (RHEL-3)
>
>Document | XML Document | Configure Transformation Scenario | Edit |
>Parameters
>
>Can no longer edit XSLT parameter values as default value (value1, 2 etc) are
>now constants; however no problem with inserting and/or modifying XSLT
>parameter names.
>
>Please advise.
>
>