|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Unnecessary well-formedness constraint
This construct is perfectly acceptable. As quoted, a parameter entity _reference_ is forbidden outdie a DTD. What you have here is a parameter entity _declaration_ in the internal subset, and a parameter entity _reference_ in the external subset. They're both inside the DTD, as well (everthing in the !DOCTYPE declaration that's between [ square brackets ] is the internal subset). This might be a bug on the part of XML4j or XMLSpy. -Wayne Steele >From: Justin Lipton <justin@s...> > >Perhaps I'm missing the point on this thread: > ...[start of example removed]... > <?xml version="1.0" encoding="UTF-8"?> > <!DOCTYPE bugs SYSTEM "bugs.dtd" [ > <!ENTITY % extras "IGNORE"> > ]> ...[more example removed]... > >Our experience so far is that some parsers handle this and some don't - >Xerces seems to like it, XML4J doesn't, XMLSpy doesn't etc. > >Is this a valid construct? >According to below (Section 4-1 of XML 1.0 spec) >"Parameter-entity references may only appear in the DTD." > >Yours in confusion, >Justin. _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com.
|
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
|
|||||||||

Cart








