Re: Ambiguity in RNC grammar
"Jeff Rafter" <[email protected]> Sat, 8 May 2004 11:04:37 -0700
| Newsgroups | gmane.text.xml.relaxng.general |
|---|---|
| Message-ID | <00f501c43526$ed9dd5f0$6403a8c0@ARIMATHEA> |
> Therefore, a sequence like: > > xsd:int-xsd:byte > > consists of three tokens, a CName 'xsd:int-xsd', an invalid token ':' > and an NCName 'byte'. Jing must check the datatype name before scanning > the next token, or you would get a syntax error. Other processors might > do it in reverse order. Good to hear-- I currently catch this error at tokenization. Though, I don't think that my tokenizer would actually consider this as three tokens-- it would see it as a single token which was an invalid XML name. I don't know if the difference is fundamental or not. I suspect not. Thanks again, Jeff Rafter