George Cristian Bina | 2 Apr 2007 09:02
Favicon
Gravatar

Re: ISO Schematron support?

Hi David,

We plan to add ISO Schematron support - hopefully it will be ready to go 
in the next oXygen release.

Best Regards,
George
---------------------------------------------------------------------
George Cristian Bina
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com

David Sewell wrote:
> I see that O'Reilly has just released a title in their "short cuts"
> series, SCHEMATRON by Eric van der Vlist. It includes discussion of ISO
> Schematron:
> 
>   http://www.oreilly.com/catalog/9780596527716/cover.html
> 
> I know that ISO Schematron is still formally in beta. Will oXygen wait
> until a formal release to add support for it, or maybe incorporate the
> beta version if it seems to be robust enough?
> 
> DS
> 
David Sewell | 2 Apr 2007 15:37
Favicon

Re: ISO Schematron support?

On Mon, 2 Apr 2007, George Cristian Bina wrote:

> Hi David,
>
> We plan to add ISO Schematron support - hopefully it will be ready to go in
> the next oXygen release.

Excellent.

Eric van der Vlist's new book doesn't have a list of applications with a
Schematron implementation, but one of his schema examples includes an
<?oxygen RNGSchema> processing instruction.

DS

--

-- 
David Sewell, Editorial and Technical Manager
ROTUNDA, 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@...   Tel: +1 434 924 9973
Web: http://rotunda.upress.virginia.edu/
Lars Huttar | 2 Apr 2007 21:34
Favicon
Gravatar

Re: ISO Schematron support?

Let me add my vote for this; I need to use <sch:let> in my schemas, and 
currently Oxygen doesn't recognize it.
Lars

On 4/2/2007 2:02 AM, George Cristian Bina wrote:
> Hi David,
>
> We plan to add ISO Schematron support - hopefully it will be ready to 
> go in the next oXygen release.
>
> Best Regards,
> George
> ---------------------------------------------------------------------
> George Cristian Bina
> <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
> http://www.oxygenxml.com
>
>
> David Sewell wrote:
>> I see that O'Reilly has just released a title in their "short cuts"
>> series, SCHEMATRON by Eric van der Vlist. It includes discussion of ISO
>> Schematron:
>>
>>   http://www.oreilly.com/catalog/9780596527716/cover.html
>>
>> I know that ISO Schematron is still formally in beta. Will oXygen wait
>> until a formal release to add support for it, or maybe incorporate the
>> beta version if it seems to be robust enough?
>>
>> DS
(Continue reading)

Gary Gapinski | 12 Apr 2007 20:19

xdt namespace prefix

As recently noted in
http://sourceforge.net/mailarchive/message.php?msg_name=461B7747.3020502%40xs4all.nl,
the subject prefix and associated http://www.w3.org/2005/xpath-datatypes
namespace have subsumed by the http://www.w3.org/2001/XMLSchema namespace.

However, <oXygen/>'s inbuilt schema annotation still specifies, for
example, "adjust-dateTime-to-timezone($arg as xs:dateTime?, $timezone as
xdt:dayTimeDuration?) as xs:dateTime?" for the
adjust-dateTime-to-timezone function.

Would it be possible to alter the annotations to specify the xs prefix
in some future version?

Regards,

Gary
Sorin Ristache | 13 Apr 2007 15:21
Favicon

Re: xdt namespace prefix

Hello,

The prefix is already changed from xdt to xs in the XSLT 2.0 schema 
annotations in the current development stream. The change will be 
available starting with the next version, that is oXygen version 8.2.

Regards,
Sorin

http://www.oxygenxml.com

Gary Gapinski wrote:
> As recently noted in
> http://sourceforge.net/mailarchive/message.php?msg_name=461B7747.3020502%40xs4all.nl,
> the subject prefix and associated http://www.w3.org/2005/xpath-datatypes
> namespace have subsumed by the http://www.w3.org/2001/XMLSchema namespace.
> 
> However, <oXygen/>'s inbuilt schema annotation still specifies, for
> example, "adjust-dateTime-to-timezone($arg as xs:dateTime?, $timezone as
> xdt:dayTimeDuration?) as xs:dateTime?" for the
> adjust-dateTime-to-timezone function.
> 
> Would it be possible to alter the annotations to specify the xs prefix
> in some future version?
> 
> Regards,
> 
> Gary
Wendell Piez | 13 Apr 2007 19:35
Favicon

Current Schematron support?

A question not entirely unrelated to supporting ISO Schematron:

Does anyone have tips on using Schematron on namespaced documents in 
the current oXygen implementation (8.1)?

I can't get it to work -- I even have documents with mixed 
namespaces. (I've tried binding namespaces both at the top of the 
Schematron and on the element where the namespaced XPath appears.)

For any guidance, I'd be grateful.

Cheers,
Wendell

At 03:34 PM 4/2/2007, you wrote:
>Let me add my vote for this; I need to use <sch:let> in my schemas, 
>and currently Oxygen doesn't recognize it.
>Lars

======================================================================
Wendell Piez                            mailto:wapiez@...
Mulberry Technologies, Inc.                http://www.mulberrytech.com
17 West Jefferson Street                    Direct Phone: 301/315-9635
Suite 207                                          Phone: 301/315-9631
Rockville, MD  20850                                 Fax: 301/315-8285
----------------------------------------------------------------------
   Mulberry Technologies: A Consultancy Specializing in SGML and XML
======================================================================
Gary Gapinski | 15 Apr 2007 15:28

Re: Current Schematron support?

Wendell Piez wrote:
> Does anyone have tips on using Schematron on namespaced documents in
> the current oXygen implementation (8.1)?
>
> I can't get it to work -- I even have documents with mixed namespaces.
> (I've tried binding namespaces both at the top of the Schematron and
> on the element where the namespaced XPath appears.)
>

http://xml.garygapinski.com/XCCDF/xccdf-1.1-ext.xsd was my first fling
with Schematron, and operates on documents with multiple namespaces.
While validations are resource-intensive, they do work.

One does need a processing instruction in the document to be validated
(<?oxygen SCHSchema="..."?>) to enable Schematron constraint processing.
This is added if the "Embedded schematron rules" check box is checked in
the schema association dialog.

Regards,

Gary
Sorin Ristache | 16 Apr 2007 11:20
Favicon

Re: Current Schematron support?

Hello,

Check out the sample schemas Tournament.xsd and Tournament.rng in the 
schematron folder of the sample.xpr project located in 
[oXygen-install-folder]/samples. They show how to embed Schematron 
constraints in an XML Schema or RELAX NG schema. The <?oxygen 
SCHSchema="..."?> processing instruction is necessary for checking the 
validated XML instance against the Schematron constraints and it will be 
inserted automatically in the instance by the "Associate Schema" action 
if you enable the "Embedded Schematron rules" option in the Associate 
Schema dialog.

Only Schematron 1.5 is supported in the current version, that is oXygen 
version 8.1. This is why you will see only the 
"http://www.ascc.net/xml/schematron" namespace in these schemas. We plan 
to support also ISO schematron starting with version 8.2 which will be 
released in less than a month.

Regards,
Sorin

Gary Gapinski wrote:
> Wendell Piez wrote:
>> Does anyone have tips on using Schematron on namespaced documents in
>> the current oXygen implementation (8.1)?
>>
>> I can't get it to work -- I even have documents with mixed namespaces.
>> (I've tried binding namespaces both at the top of the Schematron and
>> on the element where the namespaced XPath appears.)
>>
(Continue reading)

Chris Lilley | 23 Apr 2007 15:11
Picon
Favicon

InvocationTargetException

Hello oxygen-user,

oXygen 8.1 is failing to start, it gives

FATAL ERROR
Cannot start <oXygen/> XML Editor
Due to java.lang.reflect.InvocationTargetException

I have tried re-running the oXygen installer, choosing 'repair', and I have tried running the java
upddater, which took me from jre1.5.0_08 to jre1.6.0_01, but neither of these things has fixed the problem.

I'm not sure what has caused this error to start happening. I attached a screenshot, and cc'ed George in case
the list does not like attachments. If there is a log file somewhere with the complete error details I am
happy to send that if told what to send.

--

-- 
 Chris Lilley                    mailto:chris@...
 Interaction Domain Leader
 Co-Chair, W3C SVG Working Group
 W3C Graphics Activity Lead
 Co-Chair, W3C Hypertext CG
_______________________________________________
oXygen-user mailing list
oXygen-user@...
http://www.oxygenxml.com/mailman/listinfo/oxygen-user
Sorin Ristache | 24 Apr 2007 09:12
Favicon

Re: InvocationTargetException

Hello,

Please select and copy the whole stack trace from the dialog and post it 
to the list. The lower part should contain a "caused by" stack trace and 
it is not visible in your screenshot.

Regards,
Sorin

Chris Lilley wrote:
> Hello oxygen-user,
> 
> oXygen 8.1 is failing to start, it gives
> 
> FATAL ERROR
> Cannot start <oXygen/> XML Editor
> Due to java.lang.reflect.InvocationTargetException
> 
> 
> I have tried re-running the oXygen installer, choosing 'repair', and I have tried running the java
upddater, which took me from jre1.5.0_08 to jre1.6.0_01, but neither of these things has fixed the problem.
> 
> I'm not sure what has caused this error to start happening. I attached a screenshot, and cc'ed George in
case the list does not like attachments. If there is a log file somewhere with the complete error details I
am happy to send that if told what to send.

Gmane