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

Re: XML Schemas

  • To: Michael Kay <mike@s...>
  • Subject: Re: XML Schemas
  • From: Robert Koberg <rob@k...>
  • Date: Thu, 27 Oct 2005 14:20:09 -0400
  • Cc: xml-dev@l...
  • In-reply-to: <200510271808.j9RI80g20026@s...>
  • References: <200510271808.j9RI80g20026@s...>
  • User-agent: Mozilla Thunderbird 1.0 (Macintosh/20041206)

Re:  XML Schemas
Michael Kay wrote:
>>Does that mean that you would never beable to write a schema 
>>for xhtml?
> 
> 
> Of course you can write a schema for XHTML. But there are very few
> real-world vocabularies where ALL the rules can be expressed in a schema,
> and more than all the rules for a programming language can be expressed in
> its BNF.
> 

The problem I have with XML Schema and XHTML is with xml editors 
(software, not people). Say someone wants to create an FAQ. It must 
contain a question and an answer, like:

<div class="faq">
  <div class="question">
   <p>This is a question p1</p>
   <p>p2</p>
  </div>
  <div class="answer">
   <ol>
    <li>some answer part 1</li>
    <li>some answer part 2</li>
   </ol>
  </div>
</div>

there is no way to validate this with XML Schema. It is also why we use 
XML instead of XHTML in our editor (Xopus).

I wish there was a good browser based, cross platform XML WYSIWYG editor 
that uses RNG... - So I could use XHTML but keep it /valid/. As it 
stands today, Xopus is the best choice. Anybody know of something that 
competes?

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.