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

Syd Bauman
Fri Aug 21 15:30:52 CDT 2015


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

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: predefined-as-content-with-nums2.rnc
URL: <http://www.oxygenxml.com/pipermail/oxygen-user/attachments/20150821/f4fb2a3d/attachment.ksh>
-------------- next part --------------

-- 
 Syd Bauman, EMT-Paramedic
 Senior XML Programmer/Analyst
 Northeastern University Women Writers Project
  or
 



More information about the oXygen-user mailing list