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(_at_)gmail(_dot_)com
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(_at_)saxonica(_dot_)com"
<xsl-list-service(_at_)lists(_dot_)mulberrytech(_dot_)com
<mailto:xsl-list-service(_at_)lists(_dot_)mulberrytech(_dot_)com>> 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(_at_)syr(_dot_)edu
<mailto:mrrothen(_at_)syr(_dot_)edu> <
xsl-list-service(_at_)lists(_dot_)mulberrytech(_dot_)com
<mailto:xsl-list-service(_at_)lists(_dot_)mulberrytech(_dot_)com>> wrote:
"monkey patch" ?
Michele
Sent from Nine <http://www.9folders.com/>
------------------------------------------------------------------------
*From:* "Willem Van Lishout willemvanlishout(_at_)gmail(_dot_)com
<mailto:willemvanlishout(_at_)gmail(_dot_)com>"
<xsl-list-service(_at_)lists(_dot_)mulberrytech(_dot_)com
<mailto:xsl-list-service(_at_)lists(_dot_)mulberrytech(_dot_)com>>
*Sent:* Thursday, July 30, 2020 4:07 AM
*To:* xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
<mailto:xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com>
*Subject:* Re: [xsl] Source code formatting
Thanks everyone.
What I did is monkey patch Xerces to skip the normalization for
attributes....
--~----------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/1167547
or by email: xsl-list-unsub(_at_)lists(_dot_)mulberrytech(_dot_)com
--~--