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


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@a...

http://www.apexcovantage.com

 

 

 

 


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

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

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