Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: [xml-dev] Schema, BNF and parsing

From: Rick Marshall <rjm@-------.--->
To: Michael Kay <mike@--------.--->
Date: 3/4/2005 9:42:00 PM
Michael Kay wrote:

>>My real "beef" is the 2666 line script. It has numerous
>>redundancies (i.e. duplicate code) and looks like a nightmare 
>>to maintain. 
>>    
>>
>
>
>It's a common problem. I once reduced a 2000-line stylesheet to 20 lines
>plus some data tables. There are lots of people who learn how to write
>concrete XSLT code without learning how to write it generically at a higher
>level of abstraction. The same is probably true of most languages.
>  
>
do you have an example? i'm working on a layout engine at the moment 
that's rapidly approaching that sort of complexity and i'd love to 
simplify it the way you described.

>Michael Kay
>http://www.saxonica.com/
>
>
>
>-----------------------------------------------------------------
>The xml-dev list is sponsored by XML.org <http://www.xml.org>, an
>initiative of OASIS <http://www.oasis-open.org>
>
>The list archives are at http://lists.xml.org/archives/xml-dev/
>
>To subscribe or unsubscribe from this list use the subscription
>manager: <http://www.oasis-open.org/mlmanage/index.php>
>
>
>!DSPAM:4228b5c0197696235616010!
>
>  
>



begin:vcard
fn:Rick  Marshall
n:Marshall;Rick 
email;internet:rjm@z...
tel;cell:+61 411 287 530
x-mozilla-html:TRUE
version:2.1
end:vcard


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent