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

Re: What kind of content is allowed in simple types & simple c

  • To: "Michael Kay" <mike@s...>,"'Michael Rys'" <mrys@m...>,"'Soren Kuula'" <dongfang@d...>,"'xml dev'" <xml-dev@l...>
  • Subject: Re: What kind of content is allowed in simple types & simple content?
  • From: "Pete Cordell" <petexmldev@t...>
  • Date: Sun, 11 Dec 2005 17:09:33 -0000
  • References: <E1ElTR7-0003Ym-00@p...>

kind pis
Original Message From: "Michael Kay" <mike@s...>
>> XSD does not constrain comments or PIs. So it is valid to
>> have them even
>> in simpleType content. However, it is not considered a good
>> practice...
>
> ... by vendors of database products (and data binding products) that have
> difficulty in coping with them.
>
> Stick to native XML technologies, and you should be fine.


I think whether you consider data binding (and possibly database products) 
to have difficulty coping with comments and PIs embedded in values depends 
on whether you want your application to see the comments and PIs or not (as 
opposed to whether the XML specs want to enable your application to see 
them).  If you don't, there shouldn't be a problem.

Pete.
--
=============================================
Pete Cordell
for XML to C++ data binding visit
http://www.tech-know-ware.com/lmx
(or http://www.xml2cpp.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.