[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Mixed content problem
Vladimir is correct. This construction was valid in SGML mixed content, but not in XML mixed content. ======================= Douglas Rudder XML Analyst WoltersKluwer Health - Clinical Tools 77 West Port Plaza, Suite 450 Phone: 314-216-2227 e-mail: drudder@d... www.drugfacts.com ======================= > -----Original Message----- > From: Vladimir Gapeyev [mailto:vgapeyev@s...] > Sent: Monday, November 07, 2005 1:28 PM > To: Brenda O'Busek > Cc: xml-dev@l... > Subject: Re: Mixed content problem > > > Reporting the error that comes from the parser could help... > > From what I know about DTDs, it seems that the > (symposium?,contribgrp?) piece is at fault: it says that > these two elements should come in this order, adjacent to > each other,--- a constraint that should not be imposed in > mixed content. But seek a second opinion if you need a > definite answer. > > Vladimir > > > > On Mon, 7 Nov 2005, Brenda O'Busek wrote: > > > Hello - > > > > > > > > I'm having trouble with the following content model in a DTD: > > > > > > > > <!ELEMENT metanote > > > ((#PCDATA|emph|meta-received|meta-accepted|meta-revised|meta-presented > > |m > > eta-submit| > > > > edcode|techeditor) | > > (symposium?,contribgrp?))* > > > > > > > > > This seems to follow all the XML mixed content rules, but I'm still > > getting a parsing error. Can anyone explain, or help with a > workaround? > > > > > > > > Thanks! > > > > > > > > Brenda O'Busek > > > > Project Designer > > > > Apex CoVantage > > > > 120 Presidents Plaza > > > > 198 Van Buren Street > > > > Herndon, VA 20170-5338 > > > > P: 703.709.3451 > > > > F: 703.709.8242 > > > > bobusek@a... > > > > www.apexcovantage.com > > > > > > > > > > > > > > > > > > > > > > ----------------------------------------------------------------- > The xml-dev list is sponsored by XML.org > <http://www.xml.org>, an initiative of OASIS > <http://www.oasis-open.org> > > The list archives are at http://lists.xml.org/archives/xml-dev/ > > To subscribe or unsubscribe from this list use the subscription > manager: <http://www.oasis-open.org/mlmanage/index.php> >
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|