Eclipse page-flow.xml validation

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Eclipse page-flow.xml validation

Rob Harker
Hi
 
I have recently started using Eclipse to modify my Orbeon projects but am having a problem with the page-flow.xml file. I am getting errors when saving this file.
 
Attribute not allowed (no wildcards allowed): default-submission in element [hidden email]
Expected element [hidden email] instead of [hidden email] here in element [hidden email]
 
It is related to the validation of the page-flow but I cannot seem to track down how to fix this problem. I am using the M1 build but it seems to be validating against an older version of the controller specification.
 
Any help would be much appreciated.
 
Thanks

Robert Harker
* [hidden email]

 


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Eclipse page-flow.xml validation

Alessandro Vernet
Administrator
Hi Robert,

The Orbeon XML editor that comes with the Eclipse plug-in contains a
obsolete schema. That plug-in isn't maintained anymore, so I recommend
you use the standard Eclipse XML editor, or some other XML editor of
your choice that supports schemas.

When you open a file, from the Navigator, right click on the file, go
to Open With, and choose XML Editor. I am not sure how the Eclipse XML
editor picks up the schema. Maybe it is enough to just have the XSD
file somewhere in your project. (Maybe someone more familiar with
Eclipse can comment on this.) If that is not enough for you, you can
set this up under menu Windows / Preferences / Web and XML / XML
Catalog.

I have attached the latest schema for the page flow to this email.

Alex

On 2/8/07, Robert Harker <[hidden email]> wrote:

>
>
> Hi
>
> I have recently started using Eclipse to modify my Orbeon projects but am
> having a problem with the page-flow.xml file. I am getting errors when
> saving this file.
>
> Attribute not allowed (no wildcards allowed): default-submission in element
> page@http://www.orbeon.com/oxf/controller
> Expected element param@http://www.orbeon.com/oxf/controller
> instead of setvalue@http://www.orbeon.com/oxf/controller
> here in element page@http://www.orbeon.com/oxf/controller
>
> It is related to the validation of the page-flow but I cannot seem to track
> down how to fix this problem. I am using the M1 build but it seems to be
> validating against an older version of the controller specification.
>
> Any help would be much appreciated.
>
> Thanks
>
> Robert Harker
> * [hidden email]
>
>
> --
> You receive this message as a subscriber of the [hidden email]
> mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>
>

--
Orbeon Forms - Web Forms for the Enterprise, Done the Right Way
http://www.orbeon.com/


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws

page-flow-controller.xsd (12K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

RE: Eclipse page-flow.xml validation

Rob Harker
 
Hi Alex

Many thanks for your response and the attached schema, I am now able to
validate my page-flow.xml. Although it is a shame the plug-in is no longer
supported. My primary reason for moving to eclipse was for debugging the log
files.

Many thanks

Robert Harker

* +44 (0) 1524 271169
* +44 (0) 7966 277836
* [hidden email]

The information contained in this message (including attachments) may be
privileged and confidential and protected from disclosure. If the reader of
this message is not the intended recipient, or an employee or agent
responsible for delivering this message to the intended recipient, you are
hereby notified that any dissemination, distribution or copying of this
communication is strictly prohibited. If you have received this
communication in error, please notify me immediately by replying to the
message and deleting it from your computer. Thank you. Robert Harker


-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of Alessandro
Vernet
Sent: 09 February 2007 20:49
To: [hidden email]
Subject: Re: [ops-users] Eclipse page-flow.xml validation

Hi Robert,

The Orbeon XML editor that comes with the Eclipse plug-in contains a
obsolete schema. That plug-in isn't maintained anymore, so I recommend you
use the standard Eclipse XML editor, or some other XML editor of your choice
that supports schemas.

When you open a file, from the Navigator, right click on the file, go to
Open With, and choose XML Editor. I am not sure how the Eclipse XML editor
picks up the schema. Maybe it is enough to just have the XSD file somewhere
in your project. (Maybe someone more familiar with Eclipse can comment on
this.) If that is not enough for you, you can set this up under menu Windows
/ Preferences / Web and XML / XML Catalog.

I have attached the latest schema for the page flow to this email.

Alex

On 2/8/07, Robert Harker <[hidden email]> wrote:

>
>
> Hi
>
> I have recently started using Eclipse to modify my Orbeon projects but
> am having a problem with the page-flow.xml file. I am getting errors
> when saving this file.
>
> Attribute not allowed (no wildcards allowed): default-submission in
> element page@http://www.orbeon.com/oxf/controller
> Expected element param@http://www.orbeon.com/oxf/controller
> instead of setvalue@http://www.orbeon.com/oxf/controller
> here in element page@http://www.orbeon.com/oxf/controller
>
> It is related to the validation of the page-flow but I cannot seem to
> track down how to fix this problem. I am using the M1 build but it
> seems to be validating against an older version of the controller
specification.

>
> Any help would be much appreciated.
>
> Thanks
>
> Robert Harker
> * [hidden email]
>
>
> --
> You receive this message as a subscriber of the
> [hidden email] mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> ObjectWeb mailing lists service home page:
> http://www.objectweb.org/wws
>
>

--
Orbeon Forms - Web Forms for the Enterprise, Done the Right Way
http://www.orbeon.com/




--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Eclipse page-flow.xml validation

Alessandro Vernet
Administrator
Hi Robert,

Regarding schemas, you can find a number of schemas for your XML
editor of choice if you uncompress the ops.jar (in ops.war under
WEB-INF/lib). The schemas are stored under org/orbeon/oxf/xml/schemas,
and we try to maintain them as we go to make editing easier.

Alex

On 2/10/07, Robert Harker <[hidden email]> wrote:

>
> Hi Alex
>
> Many thanks for your response and the attached schema, I am now able to
> validate my page-flow.xml. Although it is a shame the plug-in is no longer
> supported. My primary reason for moving to eclipse was for debugging the log
> files.
>
> Many thanks
>
> Robert Harker
>
> * +44 (0) 1524 271169
> * +44 (0) 7966 277836
> * [hidden email]
>
> The information contained in this message (including attachments) may be
> privileged and confidential and protected from disclosure. If the reader of
> this message is not the intended recipient, or an employee or agent
> responsible for delivering this message to the intended recipient, you are
> hereby notified that any dissemination, distribution or copying of this
> communication is strictly prohibited. If you have received this
> communication in error, please notify me immediately by replying to the
> message and deleting it from your computer. Thank you. Robert Harker
>
>
> -----Original Message-----
> From: [hidden email] [mailto:[hidden email]] On Behalf Of Alessandro
> Vernet
> Sent: 09 February 2007 20:49
> To: [hidden email]
> Subject: Re: [ops-users] Eclipse page-flow.xml validation
>
> Hi Robert,
>
> The Orbeon XML editor that comes with the Eclipse plug-in contains a
> obsolete schema. That plug-in isn't maintained anymore, so I recommend you
> use the standard Eclipse XML editor, or some other XML editor of your choice
> that supports schemas.
>
> When you open a file, from the Navigator, right click on the file, go to
> Open With, and choose XML Editor. I am not sure how the Eclipse XML editor
> picks up the schema. Maybe it is enough to just have the XSD file somewhere
> in your project. (Maybe someone more familiar with Eclipse can comment on
> this.) If that is not enough for you, you can set this up under menu Windows
> / Preferences / Web and XML / XML Catalog.
>
> I have attached the latest schema for the page flow to this email.
>
> Alex
>
> On 2/8/07, Robert Harker <[hidden email]> wrote:
> >
> >
> > Hi
> >
> > I have recently started using Eclipse to modify my Orbeon projects but
> > am having a problem with the page-flow.xml file. I am getting errors
> > when saving this file.
> >
> > Attribute not allowed (no wildcards allowed): default-submission in
> > element page@http://www.orbeon.com/oxf/controller
> > Expected element param@http://www.orbeon.com/oxf/controller
> > instead of setvalue@http://www.orbeon.com/oxf/controller
> > here in element page@http://www.orbeon.com/oxf/controller
> >
> > It is related to the validation of the page-flow but I cannot seem to
> > track down how to fix this problem. I am using the M1 build but it
> > seems to be validating against an older version of the controller
> specification.
> >
> > Any help would be much appreciated.
> >
> > Thanks
> >
> > Robert Harker
> > * [hidden email]
> >
> >
> > --
> > You receive this message as a subscriber of the
> > [hidden email] mailing list.
> > To unsubscribe: mailto:[hidden email]
> > For general help: mailto:[hidden email]?subject=help
> > ObjectWeb mailing lists service home page:
> > http://www.objectweb.org/wws
> >
> >
>
>
> --
> Orbeon Forms - Web Forms for the Enterprise, Done the Right Way
> http://www.orbeon.com/
>
>
>
>
> --
> You receive this message as a subscriber of the [hidden email] mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>
>

--
Orbeon Forms - Web 2.0 Forms for the Enterprise
http://www.orbeon.com/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws