[
https://issues.apache.org/jira/browse/OFBIZ-2390?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Adrian Crum updated OFBIZ-2390:
-------------------------------
Attachment: saxwidgets.patch
The attached patch is for trunk revision 769991. It will not be maintained or
updated. Please read these comments carefully - I will not answer questions
that are already answered here.
1. This is Proof Of Concept code. It is messy. There are few comments. I'm sure
there are many things that could be changed to make it more elegant or more
understandable, but that wasn't my goal.
2. I copied the SAX parsing framework into UtilXml.java. If you want to learn
how it works, go here -
http://www.javaworld.com/javaworld/jw-03-2002/jw-0329-xmljava2.html?page=1 .
3. Only the model screen widgets, model screen actions, and model screen
conditions were converted to SAX. The rest of the model widgets still use DOM.
4. SAX parsing is controlled with the widget.parseSAX property in
widget.properties. You can switch back and forth between DOM and SAX parsing by
changing the property, then clear the caches in Webtools.
5. This code is not fully tested or debugged. If you encounter an error while
using it, then Oh well.
> Proof Of Concept: SAX Parsing in Screen Widgets
> -----------------------------------------------
>
> Key: OFBIZ-2390
> URL: https://issues.apache.org/jira/browse/OFBIZ-2390
> Project: OFBiz
> Issue Type: Improvement
> Affects Versions: SVN trunk
> Reporter: Adrian Crum
> Priority: Trivial
> Attachments: saxwidgets.patch
>
>
> See the comments for details.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.