[relaxng-user] repeated data

John Cowan cowan at mercury.ccil.org
Wed Nov 26 18:13:10 ICT 2003


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 <jcowan at reutershealth.com>
  --Edsger W. Dijkstra,                 http://www.reutershealth.com
    deceased 6 August 2002              http://www.ccil.org/~cowan


More information about the relaxng-user mailing list