Schema sandbox

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

Schema sandbox

Pascal Heus
Alex:
just discovered the schema sandbox announcement. This is actually
something I was working on over the week-end when I found out about it :-)
Is the source in CVS or in the latest release (not accessible on the web
site as the example-descriptor-files.xml seem to be missing)?
thanks
*P



--
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: Schema sandbox

Alessandro  Vernet
Administrator
Pascal,

Yes, the latest code is in CVS. When we have a change, after testing
locally check the change in. Then our build system running on a server
here notices that something has been changed, builds
PresentationServer, run the unit tests, and if all the tests pass
uploads the build to the "unstable build" directory.

From time to time we manually update the examples that run on
http://www.orbeon.com/ops/ to match a given "unstable build".

http://forge.objectweb.org/nightlybuilds/ops/ops/

You won't find example-descriptor-files.xml in CVS for any example as
this file is generated by the build system.

Alex

On 3/19/06, Pascal Heus <[hidden email]> wrote:

> Alex:
> just discovered the schema sandbox announcement. This is actually
> something I was working on over the week-end when I found out about it :-)
> Is the source in CVS or in the latest release (not accessible on the web
> site as the example-descriptor-files.xml seem to be missing)?
> thanks
> *P
>
>
>
>
> --
> 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
>
>
>

--
Blog (XML, Web apps, Open Source):
http://www.orbeon.com/blog/



--
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
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

Re: Schema sandbox

Pascal Heus
Alex:
couple of quick questions related to the schema sandbox:
- Is there a simple way to check that a document is  valid XML?  I would
like to make sure it's we have a well formed XML document before
validating against a schema.
- How would you suggest we get the correct line number to display in the
validation error message? Right now, the @line attribute of the v:
elements is always the same.
thanks
*P




--
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: Schema sandbox

Alessandro  Vernet
Administrator
Pascal,

On 3/21/06, Pascal Heus <[hidden email]> wrote:
> - Is there a simple way to check that a document is  valid XML?  I would
> like to make sure it's we have a well formed XML document before
> validating against a schema.

If the XML is not valid, for either the document you want to validate
or the schema, you will get an error displayed in red at the top of
the page.

> - How would you suggest we get the correct line number to display in the
> validation error message? Right now, the @line attribute of the v:
> elements is always the same.

In this case the input document to validate does not come from a file
on disk, so there is no "location data" (system id, line, and column
information). We could maybe save the file to a temporary and file and
read it again to get line information.

Alex
--
Blog (XML, Web apps, Open Source):
http://www.orbeon.com/blog/



--
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
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet