[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Unnecessary well-formedness constraint

  • From: Wayne Steele <xmlmaster@h...>
  • To: justin@s..., xml-dev@l...
  • Date: Mon, 16 Oct 2000 15:23:17 -0700 (PDT)

well formedness in xmlspy
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!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.