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

Re: Document oriented experience reports anyone?


mathml xmlspy
Nadia.Swaby@p... wrote:

>Hello All,
>
>I work for fairly large company in the Knowledge Management department.
>Basically, we manage all of the engineering documents (with very few
>exceptions).  We started out using DTDs, but I am planning to implement XML
>Schema in the next year or so.  
>
This is, again, a non-experience report, no disrepect intended!

>Here is the logic behind this decision:
>
>1) Support for namespaces
>Our documents have lots of equations, but the original creator of the DTD
>decided not to use MathML because there was no tool support (we are using
>XMetal 3.1, but have upgraded to 4.5/4.6 and have purchased Design Science
>Mathflow).  We are now finding that MathML is essential.  I know you can
>use the MathML DTD and included in our existing one, but I find it easier
>just to import it in a schema.  And our DTD contains two elements with that
>have the same name as elements in the MathML DTD.  Some tools complain
>about this (I can't recall if XMetal does, but I know XMLSpy points it
>out)
>  
>
But using XML Schemas will not fix this, unless the math schema also 
locally scopes
the duplicates. And if you are moving to use namespaces, the DTDs can be
revvved up to support namespaces as well (though ugly).

>2) Restrict what text content appears inside elements
>All of our documents have dates in them, usually issue date, revision date,
>and approval date.  These elements all contain year, month, and day
>elements in their content model.  In the DTD system, people can (and do)
>put anything in these elements (for example "Mar" in the month element
>instead of "03", which is the standard here).  We do have guidelines and
>the people in my department tend to follow them, but we plan to start
>letting the end user create their own XML documents.  I know from
>experience that they don't always 'play by the rules'.  Using schema
>validation is a good way to enforce content consistency. 
>  
>
That is a reason against DTDs, not for XML Schemas: RELAX and Schematron
can model the same things, b.t.w.

>I guess I should copy and paste this in word and send it to the W3C!
>
>  
>
I am sure they will be interested.
Cheers
Rick Jelliffe


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.