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

Re: AND (Another Namespace Dilemma) ... DTD Validation

  • From: Peter Piatko <piatko@r...>
  • To: mrossi@c..., xml-dev@l...
  • Date: Fri, 10 Aug 2001 12:48:49 -0400

namespace in dtd
Suppose another DTD author also fixed the prefix and the prefix just
happened to be the same one you have chosen.  If an author of an instance
document wanted to include elements from both DTD's, he would run into a
"prefix-collision".  Having parameter entities for the prefixes allows him
to override the prefixes in the instance document and avoid the collision.

Thanks,

Peter

P.S. The next obvious question to me is how does one avoid parameter entity
name collisions?  Is this even an issue?

----- Original Message -----
From: <mrossi@c...>
To: <xml-dev@l...>
Sent: Friday, August 10, 2001 10:20 AM
Subject: Re: AND (Another Namespace Dilemma) ... DTD Validation


> Thanks to all for the helpful tips on parameterization. I should have
> thought of that. :-)
>
> <commentary>Is this level of complexity justified, considering the only
> apparent benefit is the flexibility of specifying an arbitrary namespace
> prefix in an instance? Does an app developer really need such flexibility?
> Does an author? I think not.</commentary>
>
> Fortunately, I have the luxury of mandating that a given prefix be used in
> order to comply with a specification. (You might say pre-fixing the
prefix.
> :-) A luxury of which I will most certainly take advantage. I am glad to
> hear that XML Schema is (XML Schema processors are) more
> namespace-friendly. I can't wait to start developing some right away! :-)
>
> Michael A. Rossi
> Computer Sciences Corporation
> mailto:mrossi@c...
> 856-983-4400 x4911
>
>
> ------------------------------------------------------------------
> The xml-dev list is sponsored by XML.org <http://www.xml.org>, an
initiative of OASIS <http://www.oasis-open.org>
>
> The list archives are at http://lists.xml.org/archives/xml-dev/
>
> To unsubscribe from this elist send a message with the single word
> "unsubscribe" in the body to: xml-dev-request@l...
>
>


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.