Re: [xsl] Source code formatting

Subject: Re: [xsl] Source code formatting
From: "Imsieke, Gerrit, le-tex gerrit.imsieke@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 30 Jul 2020 10:30:34 -0000
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: [xsl] Source code formatting

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

Current Thread