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

Re: ANN: SAX Filters for Namespace Processing

  • From: Paul Tchistopolskii <pault12@p...>
  • To: John Cowan <cowan@m...>,Ronald Bourret <rpbourret@r...>
  • Date: Sat, 04 Aug 2001 20:20:03 -0700

john cowan sax filter

----- Original Message ----- 
From: John Cowan <cowan@m...>
To: Ronald Bourret <rpbourret@r...>


> Ronald Bourret scripsit:
> 
> > 1) Is there any well-formed XML that a DTD can't model? I can't think of
> > any (namespace issues aside).

> I don't understand the point of this question.  

Neither do I. One may write some DTD for XSL FO, but it is impossible 
to express the actual constraints of XSL FO WD using the DTD syntax.

> You can obviously look at
> a WF document and construct a DTD that would make it valid, thus:
> 
> 1) Declare every element type, giving it a content model of the form
> ((A, B, C, ...) | (D, E, F ...) | ..., in other words, a choice between
> sequences, where each sequence represents the actual children that
> every element of that type actually has.  Alternatively, give them all
> a content model of ANY.
> 
> 2) Declare every attribute, giving it a type of CDATA and a value of #REQUIRED
> (or #IMPLIED, or #FIXED "actual-value", or "actual-value", as you will).

Declare every element as 'ANY' and every attribute as CDATA.
You're joking, right ? 

I mean ... such a DTD is useless, right?

Rgds.Paul.



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.