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

Re: Choosing a target name for a processing instruction


Re:  Choosing a target name for a processing instruction
Hi Michael and Peter,

Thanks for the quick feedback!

> I would go for something like "MusicXML.newFeature".

MusicXML doesn't use any namespaces aside from xml. We are using XML
1.0 DTD technology, and so far the lack of namespaces has not given us
any grief. So I am inclined to go with "new-feature" as the name.
(MusicXML names are all hyphenated rather than camel-cased.) That
keeps the PI name consistent with the element names.

What we really need to do is add a new attribute to an existing
element. In the absence of that attribute, In the absence of that
attribute, it's more compatible with existing software to represent
the data with a different element. The PI is basically saying "Even
though the following element is of one type, you need to alter the
interpretation to treat it more like this other element type." In the
past we've always been able to handle interim new features via
MusicXML's built-in extension elements, but that doesn't work here.

Just doing an exact match on the PI target rather than having to do
parsing of PI data certainly seems attractive.

Thanks again,

Michael Good
Recordare LLC
www.recordare.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.