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

RE: Restriction on PI information

  • From: David Seibert <dseibert@s...>
  • To: "xml-dev@i..." <xml-dev@i...>, "'Eric Baatz - Sun Microsystems Labs BOS'" <ebaatz@b...>
  • Date: Mon, 24 Mar 1997 10:53:07 -0800

ending of pi
The simplest alternative is to encode your data (with any encoding
that won't produce the character "?"), insert it in a PI, and decode
it at the other end.  This is probably also the most reliable way to
solve this problem.  If there were two ways to terminate a PI,
what would your aplication do with data that contained both
terminators?

Regards,

David

----------
From: 	Eric Baatz - Sun Microsystems Labs BOS
Sent: 	Monday, March 24, 1997 6:55 AM
To: 	xml-dev@i...
Cc: 	ebaatz@b...
Subject: 	Restriction on PI information

My application of XML is to markup text that is to be spoken by
speech synthesizers.  To my naive mind (I'm very new to SGML
and XML), a PI seems to be the right construct for passing
native information to a speech synthesizers, that is, instructions
in their proprietary, already existing, command set.  As I don't
have any control over the syntax of the commands I want to
pass through, I want a PI to allow the widest latitude in
the information it can handle.  The syntax in the draft doesn't
seem to allow that.

What is the rationale for the data that a PI allows?
What mechanisms can be used to make that data as arbitrary
as possible without changing the draft?

My take on the PI syntax is that the data needs to avoid
looking like the end of a PI.  Two different ways of ending
a PI (somewhat like the use of double or single quotes for
quoted data) would allow a way of getting unpalatable data
through (my program would have to generate the appropriate
one depending on what my data looked like).  Allowing a CDATA
section, would also seem to allow quoting of otherwise
unpalatable data.

Clearly, any changes from the draft would complicate the parsing.

Eric Baatz
Sun Microsystems Laboratories
2 Elizabeth Drive, MS UCHL03-207                 (508) 442-0257
Chelmsford, MA 01824                        fax: (508) 250-5067
USA                                    Internet: eric.baatz@e...


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




xml-dev: A list for W3C XML Developers
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To unsubscribe, send to majordomo@i... the following message;
unsubscribe xml-dev
List coordinator, Henry Rzepa (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.