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

Re: more QName madness


Re:  more QName madness
John Cowan wrote:
> Paul Prescod scripsit:
> 
> 
>>I hope I'm missing something: if I have ten XPointers in a document and 
>>they each use 3 namespaces, do I necessarily have 30 xmlns declarations?
> 
> 
> No, you have 3 uses of the xmlns() scheme in each of your ten XPointers.

Each one "declaring" a namespace. ;)

> The xmlns declarations in the embedding document are irrelevant; after all,

I was asking about declarations using the xmlns scheme.

 > that document need not be XML at all: it could be plain text, HTML,
 > PDF, or hard copy.

IMHO, it is not wise to dumb down XPointer-in-XML to the same level as 
XPointer-in-hard copy just to be consistent.

==

I am think that we need a scoped short-form mechanism to replace 
entities. The more we put URIs as component identifiers in attribute 
values, the more we need short-forms. If there is a growing concensus 
(is there?) that QNames are not the way then maybe we need a declaration 
mechanism specific to data. Perhaps it could be used both to declare 
short-names for URIs and also for character entities.

  Paul Prescod


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.