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

Re: Source code formatting

Subject: Re: Source code formatting
From: "Imsieke, Gerrit, le-tex gerrit.imsieke@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 30 Jul 2020 10:30:34 -0000
Re:  Source code formatting
I'd really appreciate if xerces had an option to deactivate attribute normalization that can be set by a Saxon configuration option or a command line switch. I don't know how responsive/welcoming the Apache XML maintainers are if someone of us submitted a patch, in particular if it's a patch that enables non-standard behaviour.

On 30.07.2020 12:24, Willem Van Lishout willemvanlishout@xxxxxxxxx wrote:
It seems it has a different meaning from what I thought.

It actually means changing a program's behavior at runtime.

What I meant was simply commenting out the relevant code rather than coming up with a nicer solution... The more you know.

Willem
On Jul 30, 2020, at 12:12, "Michael Kay mike@xxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx <mailto:xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>> wrote:


It's a new one on me too, but it's in the dictionary:

https://www.yourdictionary.com/monkey-patch

Not sure what the difference is from a regular patch.

    Michael Kay
    Saxonica

    On 30 Jul 2020, at 10:51, Michele R Combs mrrothen@xxxxxxx
    <mailto:mrrothen@xxxxxxx> <
    xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx
    <mailto:xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>> wrote:

"monkey patch" ?

Michele

    Sent from Nine <http://www.9folders.com/>
    ------------------------------------------------------------------------
    *From:* "Willem Van Lishout willemvanlishout@xxxxxxxxx
    <mailto:willemvanlishout@xxxxxxxxx>"
    <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx
    <mailto:xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>>
    *Sent:* Thursday, July 30, 2020 4:07 AM
    *To:* xsl-list@xxxxxxxxxxxxxxxxxxxxxx
    <mailto:xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
    *Subject:* Re:  Source code formatting

    Thanks everyone.
    What I did is monkey patch Xerces to skip the normalization for
    attributes....

Current Thread

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
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.