tksk / jing-trang

Automatically exported from code.google.com/p/jing-trang
0 stars 0 forks source link

mixed content not parsing correctly #153

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
java -jar jing.jar -c contacts-relax.rnc contacts-relax.xml 

Expecting no output. I have two errors telling me my description field is 
incomplete in the instance document.

What version of the product are you using? On what operating system?
Jing version 20091111
Java 1.6.0_22
Mac OS X 10.6.6

My description is declared as follows:
element description { mixed { element em { text } | element strong { text } | 
element br { empty } }* }

Here is one of the description tags in the instance document that is getting an 
error:
<description>Senior Technical Consultant for CGI.</description>

I declared the em, strong, and br elements to appear 0 or more times, but the 
error goes off on a tag that has 0 of those elements.

Original issue reported on code.google.com by nelson...@gmail.com on 28 Mar 2012 at 4:54

Attachments: