Orbeon XForms and Oxygen development environment?

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

Orbeon XForms and Oxygen development environment?

Scott Prater
I'm attempting to configure Oxygen to use the Orbeon modified XHTML and
XForms schemas (located at the bottom of
http://wiki.orbeon.com/forms/doc/developer-guide/xforms-development-environment)
to enable validation and content completion.  However, Oxygen throws
errors when trying to parse the schemas:

xhtml1-transitional-orbeon.xsd,v 1.6 2008/09/17:

line 663: ct-props-correct.4: Error for type '#AnonType_html'. Duplicate
attribute uses with the same name and target namespace are specified.
Name of duplicate attribute use is 'lang'.

xforms-1_0-orbeon.xsd

line 283: ag-props-correct.2: Error for attribute group
'Nodeset.Binding.Attributes'.  Duplicate attribute uses with the same
name and target namespace are specified.  Name of duplicate attribute
use is 'ref'.

This xsd also contains a number of ct-props-correct.4 Duplicate
attribute errors throughout the document.

Has anyone successfully configured Oxygen to use these, or other,
schemas for xforms development work?  If so, do you have any pointers or
steps for setting up the environment?

If I can can get this to work, I'll cheerfully write up a blog post on
setting it up for other users.

thanks,

-- Scott

--
Scott Prater
Library, Instructional, and Research Applications (LIRA)
Division of Information Technology (DoIT)
University of Wisconsin - Madison
[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
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Orbeon XForms and Oxygen development environment?

Erik Bruchez
Administrator
Scott,

That's funny, since these schemas seem to work fine with IntelliJ, for example.

Now checking the differences between our schema and the original one,
I think we only made minor changes to it. Maybe you can have more luck
checking the original XHTML schema from W3C?

-Erik

On Tue, Jun 8, 2010 at 8:02 AM, Scott Prater <[hidden email]> wrote:

> I'm attempting to configure Oxygen to use the Orbeon modified XHTML and
> XForms schemas (located at the bottom of
> http://wiki.orbeon.com/forms/doc/developer-guide/xforms-development-environment)
> to enable validation and content completion.  However, Oxygen throws errors
> when trying to parse the schemas:
>
> xhtml1-transitional-orbeon.xsd,v 1.6 2008/09/17:
>
> line 663: ct-props-correct.4: Error for type '#AnonType_html'. Duplicate
> attribute uses with the same name and target namespace are specified. Name
> of duplicate attribute use is 'lang'.
>
> xforms-1_0-orbeon.xsd
>
> line 283: ag-props-correct.2: Error for attribute group
> 'Nodeset.Binding.Attributes'.  Duplicate attribute uses with the same name
> and target namespace are specified.  Name of duplicate attribute use is
> 'ref'.
>
> This xsd also contains a number of ct-props-correct.4 Duplicate attribute
> errors throughout the document.
>
> Has anyone successfully configured Oxygen to use these, or other, schemas
> for xforms development work?  If so, do you have any pointers or steps for
> setting up the environment?
>
> If I can can get this to work, I'll cheerfully write up a blog post on
> setting it up for other users.
>
> thanks,
>
> -- Scott
>
> --
> Scott Prater
> Library, Instructional, and Research Applications (LIRA)
> Division of Information Technology (DoIT)
> University of Wisconsin - Madison
> [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
> OW2 mailing lists service home page: http://www.ow2.org/wws
>
>


--
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
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Re: Orbeon XForms and Oxygen development environment?

Scott Prater
Hi, Erik --

Thanks for your suggestion.  It appears that Oxygen is stricter on
checking XSD constraints than IntelliJ.  I did test Oxygen with the
standard xhtml1-transitional.xsd schema from W3C, and it liked that one
just fine.  The only problem with the Orbeon version appears to be the
"lang" attribute in the "html" element.

Is that attribute necessary in the Orbeon version?  I could just delete it.

thanks,

-- Scott

Erik Bruchez wrote:

> Scott,
>
> That's funny, since these schemas seem to work fine with IntelliJ, for example.
>
> Now checking the differences between our schema and the original one,
> I think we only made minor changes to it. Maybe you can have more luck
> checking the original XHTML schema from W3C?
>
> -Erik
>
> On Tue, Jun 8, 2010 at 8:02 AM, Scott Prater <[hidden email]> wrote:
>> I'm attempting to configure Oxygen to use the Orbeon modified XHTML and
>> XForms schemas (located at the bottom of
>> http://wiki.orbeon.com/forms/doc/developer-guide/xforms-development-environment)
>> to enable validation and content completion.  However, Oxygen throws errors
>> when trying to parse the schemas:
>>
>> xhtml1-transitional-orbeon.xsd,v 1.6 2008/09/17:
>>
>> line 663: ct-props-correct.4: Error for type '#AnonType_html'. Duplicate
>> attribute uses with the same name and target namespace are specified. Name
>> of duplicate attribute use is 'lang'.
>>
>> xforms-1_0-orbeon.xsd
>>
>> line 283: ag-props-correct.2: Error for attribute group
>> 'Nodeset.Binding.Attributes'.  Duplicate attribute uses with the same name
>> and target namespace are specified.  Name of duplicate attribute use is
>> 'ref'.
>>
>> This xsd also contains a number of ct-props-correct.4 Duplicate attribute
>> errors throughout the document.
>>
>> Has anyone successfully configured Oxygen to use these, or other, schemas
>> for xforms development work?  If so, do you have any pointers or steps for
>> setting up the environment?
>>
>> If I can can get this to work, I'll cheerfully write up a blog post on
>> setting it up for other users.
>>
>> thanks,
>>
>> -- Scott
>>
>> --
>> Scott Prater
>> Library, Instructional, and Research Applications (LIRA)
>> Division of Information Technology (DoIT)
>> University of Wisconsin - Madison
>> [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
>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>
>>

--
Scott Prater
Library, Instructional, and Research Applications (LIRA)
Division of Information Technology (DoIT)
University of Wisconsin - Madison
[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
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Orbeon XForms and Oxygen development environment?

Erik Bruchez
Administrator
You can remove it as most files won't have that attribute.

-Erik

On Fri, Jun 11, 2010 at 10:29 AM, Scott Prater <[hidden email]> wrote:

> Hi, Erik --
>
> Thanks for your suggestion.  It appears that Oxygen is stricter on checking
> XSD constraints than IntelliJ.  I did test Oxygen with the standard
> xhtml1-transitional.xsd schema from W3C, and it liked that one just fine.
>  The only problem with the Orbeon version appears to be the "lang" attribute
> in the "html" element.
>
> Is that attribute necessary in the Orbeon version?  I could just delete it.
>
> thanks,
>
> -- Scott
>
> Erik Bruchez wrote:
>>
>> Scott,
>>
>> That's funny, since these schemas seem to work fine with IntelliJ, for
>> example.
>>
>> Now checking the differences between our schema and the original one,
>> I think we only made minor changes to it. Maybe you can have more luck
>> checking the original XHTML schema from W3C?
>>
>> -Erik
>>
>> On Tue, Jun 8, 2010 at 8:02 AM, Scott Prater <[hidden email]> wrote:
>>>
>>> I'm attempting to configure Oxygen to use the Orbeon modified XHTML and
>>> XForms schemas (located at the bottom of
>>>
>>> http://wiki.orbeon.com/forms/doc/developer-guide/xforms-development-environment)
>>> to enable validation and content completion.  However, Oxygen throws
>>> errors
>>> when trying to parse the schemas:
>>>
>>> xhtml1-transitional-orbeon.xsd,v 1.6 2008/09/17:
>>>
>>> line 663: ct-props-correct.4: Error for type '#AnonType_html'. Duplicate
>>> attribute uses with the same name and target namespace are specified.
>>> Name
>>> of duplicate attribute use is 'lang'.
>>>
>>> xforms-1_0-orbeon.xsd
>>>
>>> line 283: ag-props-correct.2: Error for attribute group
>>> 'Nodeset.Binding.Attributes'.  Duplicate attribute uses with the same
>>> name
>>> and target namespace are specified.  Name of duplicate attribute use is
>>> 'ref'.
>>>
>>> This xsd also contains a number of ct-props-correct.4 Duplicate attribute
>>> errors throughout the document.
>>>
>>> Has anyone successfully configured Oxygen to use these, or other, schemas
>>> for xforms development work?  If so, do you have any pointers or steps
>>> for
>>> setting up the environment?
>>>
>>> If I can can get this to work, I'll cheerfully write up a blog post on
>>> setting it up for other users.
>>>
>>> thanks,
>>>
>>> -- Scott
>>>
>>> --
>>> Scott Prater
>>> Library, Instructional, and Research Applications (LIRA)
>>> Division of Information Technology (DoIT)
>>> University of Wisconsin - Madison
>>> [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
>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>>
>>>
>
>
> --
> Scott Prater
> Library, Instructional, and Research Applications (LIRA)
> Division of Information Technology (DoIT)
> University of Wisconsin - Madison
> [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
> OW2 mailing lists service home page: http://www.ow2.org/wws
>
>


--
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
OW2 mailing lists service home page: http://www.ow2.org/wws