http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2344

*** shadow/2344 Tue Jun 26 22:13:37 2001
--- shadow/2344.tmp.29544       Tue Jun 26 22:13:37 2001
***************
*** 0 ****
--- 1,34 ----
+ +============================================================================+
+ | MixedContentModel whatCanGoHere bug                                        |
+ +----------------------------------------------------------------------------+
+ |        Bug #: 2344                        Product: Xerces-J                |
+ |       Status: NEW                         Version: 1.4                     |
+ |   Resolution:                            Platform: PC                      |
+ |     Severity: Normal                   OS/Version: Linux                   |
+ |     Priority: Other                     Component: DTD                     |
+ +----------------------------------------------------------------------------+
+ |  Assigned To: [EMAIL PROTECTED]                                  |
+ |  Reported By: [EMAIL PROTECTED]                                         |
+ |      CC list: Cc:                                                          |
+ +----------------------------------------------------------------------------+
+ |          URL:                                                              |
+ +============================================================================+
+ |                              DESCRIPTION                                   |
+ The MixedContentModel whatCanGoHere method appears to return incorrect
+ results flags (i.e. all false) when childCount > 1
+ 
+ The model appears to work when the childCount is <=1.
+ 
+ Example DTD:
+ <!ELEMENT contrived ( A, B+, C?, mixed?, D*)>
+ <!ELEMENT mixed (#PCDATA| C | D)*>
+ <!ELEMENT A (#PCDATA)>
+ <!ELEMENT B (#PCDATA)>
+ <!ELEMENT C (#PCDATA)>
+ <!ELEMENT D (#PCDATA)>
+ 
+ when applied to the mixed element the MixedContentModel returns as valid
+ possibleChildren
+ #text, C, D when there are no non-text children
+ #text, C and D when there is one nion-text child (eg C)
+ #text when there are two non-text children (eg C D)
\ No newline at end of file

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to