Re: combining schemas

John Cowan <[email protected]>
Newsgroups gmane.text.xml.relaxng.general
Message-ID <[email protected]>
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        [email protected]
BALIN SON OF FUNDIN     LORD OF KHAZAD-DUM      http://www.ccil.org/~cowan
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.