45E8ACF4DC4D7148AB9A906B6B216DAD01DB4FC2@dewdfe1m.wdf.sap.corp"
type="cite">
<<SDOSourceResult.zip>>
Hi all,
I have implemented SDOSource and
SDOResult in a way that we could have it in our API.
Please have especially a look at
SDOSource. As I already mentioned, the implementation is not trivial.
The code is similar to JAXBSource. Of course a little bit JavaDoc is
missing.
The SDOSource implementation delegates
to
XMLHelper.save(XMLDocument
xmlDocument, Result outputResult, Object options)
It makes the following assumptions:
Some background to the SAX-feature "http://xml.org/sax/features/namespace-prefixes":
This feature decides if QNames like
"tns:elementName" are generated for the ContenHandler-calls or not.
Some ContentHandlers require that feature to be true, others don't.
(Xalan, Saxon require this to work well, JAXB doesn't). For
ContentHandlers that do not need the QNames, the generation of prefixed
names is wasted performance.
A careful consumer of a SAXSource sets
the feature at the XMLReader as it is needed, but that's not always the
case. That's why the proposal supports the SAX-features by an
options-Map and the default mode should be "http://xml.org/sax/features/namespace-prefixes" = true to be on the save side.
Stefan.
Stefan Bünnig
Senior Developer
NW
Core JS&I Tools Berlin (AG)
SAP AG
Rosenthaler Straße 30
10178
Berlin
T +49 30 41092-608
F +49 6227 78-42807
M +49 172 3088-367
mailto:stefan.buennig@sap.com
www.sap.com
Sitz
der Gesellschaft/Registered Office: Walldorf, Germany
Vorstand/SAP
Executive Board: Henning Kagermann (Sprecher/Co-CEO), Léo Apotheker
(Sprecher/Co-CEO),
Werner Brandt, Erwin Gunst, Claus Heinrich, Bill McDermott,
Gerhard
Oswald, John Schwarz, Jim Hagemann Snabe
Vorsitzender
des Aufsichtsrats/Chairperson of the SAP Supervisory Board: Hasso
Plattner
Registergericht/Commercial
Register Mannheim No HRB 350269
Diese
E-Mail kann Betriebs- oder Geschäftsgeheimnisse oder sonstige
vertrauliche
Informationen
enthalten. Sollten Sie diese E-Mail irrtümlich erhalten haben, ist
Ihnen eine
Kenntnisnahme
des Inhalts, eine Vervielfältigung oder Weitergabe der E-Mail
ausdrücklich
untersagt.
Bitte benachrichtigen Sie uns und vernichten Sie die empfangene E-Mail.
Vielen
Dank.
This
e-mail may contain trade secrets or privileged, undisclosed, or
otherwise confidential
information.
If you have received this e-mail in error, you are hereby notified that
any review,
copying,
or distribution of it is strictly prohibited. Please inform us
immediately and destroy
the
original transmittal. Thank you for your cooperation.
---------------------------------------------------------------------
To unsubscribe from this mail list, you must leave the OASIS TC that
generates this mail. Follow this link to all your TCs in OASIS at:
https://www.oasis-open.org/apps/org/workgroup/portal/my_workgroups.php