Hi, my impression is that element foo { "a"+ } is an invalid pattern. However, trang accepts it and converts into corresponding XML Syntax. Is the pattern valid? David Tolpin