[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [xml-dev] Ambiguous Content Model
- From: Imran Rashid <email@example.com>
- To: Mark Endicott <MEndicott@telapoint.com>,"'firstname.lastname@example.org'" <email@example.com>
- Date: Thu, 04 Oct 2001 13:30:20 -0500
At 1:49 PM -0400 10/4/01, Mark Endicott wrote:
>It appears to me that (A,B)*, A? isn't impossible. Wouldn't this lead to the
>following list of possible child elements?
> (no children)
> A, B
> A, B, A
> A, B, A, B
> A, B, A, B, A
>This pattern is specified by (A,B)* | (A, (B, A)*).
but this pattern has the same problem has the original pattern --
When you hit the first A element, how do you know if goes with (A,B)*
or if it goes with (A, (B, A)*)
I spend a while trying to puzzle a way out of this one too... seems so simple.