Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: [xml-dev] Mixed content problem

From: Aad Kamsteeg <a.kamsteeg@------------.-->
To:
Date: 11/7/2005 7:45:00 PM
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|<o:p></o:p>
                                               
edcode|techeditor)*
| (symposium?,contribgrp?))                                       >



or



<!ELEMENT metanote
(#PCDATA|emph|meta-received|meta-accepted|meta-revised|meta-presented|meta-submit|<o:p></o:p>
                                               
edcode|techeditor
| (symposium?,contribgrp?))*                                       >



Depending on what you want to archieve.



:-) Aad



Brenda O'Busek wrote:

  
  
<!---->
  
  <o:SmartTagType
 namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="PostalCode">
  <o:SmartTagType
 namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="State"><o:SmartTagType
 namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="City">
  <o:SmartTagType
 namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="place"><o:SmartTagType
 namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="Street">
  <o:SmartTagType
 namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="address"><!---->
  <!----><!---->
  </o:SmartTagType></o:SmartTagType></o:SmartTagType></o:SmartTagType></o:SmartTagType></o:SmartTagType>
  
  Hello –<o:p></o:p>
  <o:p> </o:p>
  I’m having trouble with
the following content model in
a DTD:<o:p></o:p>
  <o:p> </o:p>
  <!ELEMENT metanote
((#PCDATA|emph|meta-received|meta-accepted|meta-revised|meta-presented|meta-submit|<o:p></o:p>
                                                 
edcode|techeditor)
| (symposium?,contribgrp?))*                                       ><o:p></o:p>
  <o:p> </o:p>
  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?<o:p></o:p>
  <o:p> </o:p>
  Thanks!<o:p></o:p>
  <o:p> </o:p>
  Brenda O'Busek<o:p></o:p>
  Project Designer<o:p></o:p>
  Apex CoVantage<o:p></o:p>
  120 Presidents Plaza<o:p></o:p>
  <st1:Street w:st="on"><st1:address w:st="on">198 Van Buren Street</st1:address></st1:Street><o:p></o:p>
  <st1:place w:st="on"><st1:City w:st="on">Herndon</st1:City>, <st1:State w:st="on">VA</st1:State>
  <st1:PostalCode w:st="on">20170-5338</st1:PostalCode></st1:place><o:p></o:p>
  P: 703.709.3451<o:p></o:p>
  F: 703.709.8242<o:p></o:p>
  bobusek@a...<o:p></o:p>
  www.apexcovantage.com<o:p></o:p>
   <o:p></o:p>
   <o:p></o:p>
   <o:p></o:p>
  <o:p> </o:p>
  



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

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


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent