[Fwd: Re: [oXygen-user] Validation and data entry]
George Cristian Bina
Tue Jan 11 03:27:41 CST 2005
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:
References: <>
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
<oXygen/> 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
>
> http://www.oxygenxml.com/mailman/listinfo/oxygen-user
--
---------------------------------------------------------------------
George Cristian Bina
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
More information about the oXygen-user
mailing list