Re: repeated data

John Cowan <[email protected]>
Newsgroups gmane.text.xml.relaxng.general
Message-ID <[email protected]>
David Tolpin scripsit:

> element foo { "a"+ }
> 
> is an invalid pattern. However, trang accepts it and converts into
> corresponding XML Syntax.

It is indeed invalid.  Trang is not guaranteed to catch errors in input, and
when the output is xsd, it may generate erroneous output as well.
It's a best-effort program.

-- 
Only do what only you can do.           John Cowan <[email protected]>
  --Edsger W. Dijkstra,                 http://www.reutershealth.com
    deceased 6 August 2002              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.