OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: [xml-dev] Mixed content problem

[ Lists Home | Date Index | Thread Index ]

Title: 1
Brenda,

The first modelgroup contains the PCDAT declaration, should therefor has the zero or more constraint that is now on the outer group. It should be:

<!ELEMENT metanote ((#PCDATA|emph|meta-received|meta-accepted|meta-revised|meta-presented|meta-submit|

                                                edcode|techeditor)* | (symposium?,contribgrp?))                                       >

or

<!ELEMENT metanote (#PCDATA|emph|meta-received|meta-accepted|meta-revised|meta-presented|meta-submit|

                                                edcode|techeditor | (symposium?,contribgrp?))*                                       >

Depending on what you want to archieve.

:-) Aad

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|meta-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@apexcovantage.com

www.apexcovantage.com

 

 

 

 


-- 
*********************************************
Diderot Track bv - Consultants in Information

Phone: +31 (0) 70 3966304
Fax:   +31 (0) 70 3966305
Email: a.kamsteeg@diderottrack.nl
Web:   www.diderottrack.nl
*********************************************




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS