[Home] [By Thread] [By Date] [Recent Entries]

  • From: Chin Chee-Kai <cheekai@s...>
  • To: Michael Kay <mike@s...>
  • Date: Tue, 21 Oct 2008 10:24:33 +0800

Michael Kay wrote:
1C58F5C150C343ACBF2819C5B466B958@Sealion" type="cite"> Re: converting 1-20 GB xml to xsd, visualizing o
In the case of the Saxon DTDGenerator, if it finds one instance where the children are PQR and another where they are RQP, then it generates the content model (P|Q|R)*.
Wouldn't (P|Q|R)* accept PQR, RQP, and along with the not-necessarily-acceptable PRQ, RPQ, QPR and QRP?
I suppose you're just giving a quick description in the above? 

Granted, it is difficult to fathom the intent of the creator from just one instance, the most a heuristic can conclude without risking over-accepting potentially unwanted patterns would just be ((P|R)Q(P|R))*.


regards,
Chin Chee-Kai



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member