[relaxng-user] combining schemas

John Cowan cowan at mercury.ccil.org
Tue Nov 25 13:34:20 ICT 2003


Dave Pawson scripsit:
> At 18:02 25/11/2003, Bruce D'Arcus wrote:
> 
> >OK, we're making progress.  NXML mode will now load the schema without 
> >complaining.  However, it will not give me any completion options anywhere!
> 
> I found a mouse-trap yesterday.
> 
> If a DTD source has an undefined element,
> that element comes over into .rnc file such that
> nothing shows as valid.

Exactly right.  If an undefined element A is an essential part (not
optional, nor choice) of the content model of element B, then any use
of element B is ipso facto invalid.

-- 
BALIN FUNDINUL          UZBAD KHAZADDUMU        jcowan at reutershealth.com
BALIN SON OF FUNDIN     LORD OF KHAZAD-DUM      http://www.ccil.org/~cowan


More information about the relaxng-user mailing list