[oXygen-user] bug report: repeated schema-declared element content

Oxygen XML Editor Support (Radu Coravu)
Mon Aug 24 01:35:05 CDT 2015


Hi Syd,

Thanks for the samples, I reproduced the issue on our side and I'll add 
an issue for it. I'm not sure how easy this is to fix on our side, 
probably we have some caching based on the element name but we'll look 
into it.
Is your schema an exercise or is it meant for a real situation?

Regards,
Radu

Radu Coravu
<oXygen/>  XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com

On 8/21/2015 11:30 PM, Syd Bauman wrote:
> Assignment: write a RELAX NG schema for Keats _On first looking into
> Chapman's Homer_.
>
> I (deliberately) wrote a ridiculously literalist schema, attached.
>
> When I create a new XML document that uses this schema, oXygen
> properly inserts the required elements, including all 14 required
> <pLine> elements. When I ask for auto-completion (CTL-space) of the
> <head> or any of the @n, oXygen does the right thing and gives me
> the one and only correct choice as the only possible value in the
> pop-up.
>
> But when I ask for auto-completion of <pLine>s 2 through 14, the one
> and only possible value in the pop-up is the content for the first
> <pLine>!
>
> Worth noting that jing gets it right. After filling in the content
> using auto-completion, validation will say of <pLine> 2, e.g.,
>     character content of element "pLine" invalid; must be equal to
>     "And many goodly states and kingdoms seen;"
>
> Details:
>    <oXygen/> XML Developer 17.0, build 2015052917
>    Mac OS X 10.6.8
>    error occurs using XML syntax or compact syntax
>
> Also tested on:
>    <oXygen/> XML Developer 17.0, build 2015051321
>    Ubuntu 12.04
>    only tested compact syntax
>
>
>
>
>
>
> _______________________________________________
> oXygen-user mailing list
> 
> http://www.oxygenxml.com/mailman/listinfo/oxygen-user
>


More information about the oXygen-user mailing list