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] DTD questions

[ Lists Home | Date Index | Thread Index ]

>What I want to do is simple :
>
><!ENTITY % test "(oneElem|theOther)">
><!ELEMENT root %test;>
>
>I try with xerces, microsoft and xmlspy  parser that all refuse this.

I can't see anything wrong with that.

(Provided it's not in the internal subset of course, but presumably it
isn't, and your workaround would be just as wrong there.)

What error message do you get?

>But my real application is something like :
><![%isInclud;[
>	<!ENTITY % test "(oneElem|theOther)">
>]]>
><!ENTITY % test "EMPTY">
><!ELEMENT root %test;>

If all else fails, you could have the parameter entity be the
whole element declaration.

-- Richard




 

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

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