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

Re: Namespace Comments (and dtd encoding)

  • From: james anderson <James.Anderson@m...>
  • To: "xml-dev@i..." <xml-dev@i...>
  • Date: Wed, 05 Aug 1998 16:17:46 +0200

disjoint entities example
Peter Murray-Rust wrote:
> 
> ...
> 
> The point is - I think - that the DTD parser is completely dumb. It doesn't
> care about colons (except to recognise that they are legal). I assume -
> though I haven't tried it - that this DTD will validate the example with
> any of the current parsers.
> 

i do not understand how such a reduced dtd <em>processor</em> will suffice.
before a dtd definition can be created, the universal name must be known.
otherwise the prefixes have been awarded the status of (temporarily) universal qualifiers.

imagine (to take the inverse tack on mr bourret's example) a situation where
the processor faced with a document streams of which various external entities
contain either "ambiguous" or "undetermined" prefixes.

1. "ambiguous" prefixes would arise where identical prefixes are present in
disjoint external entities and require accompanying attribute declarations in
order to disambiguate them - and thereby otherwise identical local names.

2. "undetermined" prefixes would arise where non-identical prefixes are
present in disjoint external entities, but accompanied with attribute
declarations which map respectively identical local names to the same
universal name.

in order to interpret either of these two cases correctly, the dtd processor
must understand universal names. (i've neglected examples here. if the
problem's not clear i'll put them together)

i think a similar situation could well arise within a single external entity,
but the spec is sufficiently unclear on valid dtd content, that i'm uncertain.
i take the example of disjoint entities since it demonstrates a case where a
combination of independently valid external subsets may or may not be valid
dependant on the prefix<->uri bindings which hold.

i had, until monday, presumed that the prefix-namespace bindings have to be
understood to hold at some point before elements are read, in order that the
effective dtd can be created and am having a hard time understanding how to
delay this binding, so to speak, beyond the close '>' in the doctype form.

i'd really like to know the binding at the point where the respective element
declaration is read, otherwise i have to delay its processing until some (at
the moment poorly specified) later point.

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i...
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@i... the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@i... the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@i...)


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.