From rescobar at datatec-ec.com Fri Apr 1 19:01:50 2011 From: rescobar at datatec-ec.com (Roberto Escobar) Date: Sun Apr 3 11:51:01 2011 Subject: [xsd-users] Can you help me about FpML with codesynthesis Message-ID: Skipped content of type multipart/related-------------- next part -------------- A non-text attachment was scrubbed... Name: dpfpml.zip Type: application/x-zip-compressed Size: 4727246 bytes Desc: dpfpml.zip Url : http://codesynthesis.com/pipermail/xsd-users/attachments/20110401/fc6416ab/dpfpml-0001.bin -------------- next part -------------- A non-text attachment was scrubbed... Name: fpml_4_2.zip Type: application/x-zip-compressed Size: 631644 bytes Desc: fpml_4_2.zip Url : http://codesynthesis.com/pipermail/xsd-users/attachments/20110401/fc6416ab/fpml_4_2-0001.bin -------------- next part -------------- A non-text attachment was scrubbed... Name: xml_swap.xml Type: text/xml Size: 10962 bytes Desc: xml_swap.xml Url : http://codesynthesis.com/pipermail/xsd-users/attachments/20110401/fc6416ab/xml_swap-0001.bin From rlischner at proteuseng.com Sun Apr 3 12:03:49 2011 From: rlischner at proteuseng.com (Ray Lischner) Date: Mon Apr 4 03:44:19 2011 Subject: [xsd-users] Purpose of as_double? Message-ID: Using Code Synthesis 3.3.0, I am puzzled as to the purpose of xsd::cxx::tree::as_double<>, in serialization.hxx. Everything in double.hxx take as_double as arguments, so if I customize the implementation of double, I need to reimplement all of the functions in double.hxx, anyway. Having as_double doesn't buy me anything. If, on the other hand, double.hxx defined only template functions and classes, I could specialize as_double for my customized type to ensure the x member is the equivalent value of type double, and my job would be done. Or am I missing something? Ray Lischner, Distinguished Member of Technical Staff 133 National Business Pkwy, Ste 150 t. 443.539.3448 Annapolis Junction, MD 20701 c. 410.854.5170 rlischner@proteuseng.com f. 443.539.3370 This electronic message and any files transmitted with it contain information which may be privileged and/or proprietary. The information is intended for use solely by the intended recipient(s). If you are not the intended recipient, be aware that any disclosure, copying, distribution or use of this information is prohibited. If you have received this electronic message in error, please advise the sender by reply email or by telephone (443.539.3400) and delete the message. From boris at codesynthesis.com Mon Apr 4 06:49:19 2011 From: boris at codesynthesis.com (Boris Kolpackov) Date: Mon Apr 4 06:51:42 2011 Subject: [xsd-users] Purpose of as_double? In-Reply-To: References: Message-ID: Hi Ray, Ray Lischner writes: > Using Code Synthesis 3.3.0, I am puzzled as to the purpose of > xsd::cxx::tree::as_double<>, in serialization.hxx. There are two built-in types in XML Schema, xs:double and xs:decimal, that are naturally mapped to C++ double (that's the default mapping). However, the lexical representation of these types is very different: xs:double can be stored in scientific or standard notations and can contain special values such as inf, nan, etc. On the other hand, xs:decimal can only be written in the standard notation and does not support special values. Since these two types are often mapped to the same C++ type, the as_double/as_decimal wrappers are used to distinguish between the two cases. > Everything in double.hxx take as_double as arguments, so if > I customize the implementation of double, I need to reimplement all > of the functions in double.hxx, anyway. No, all you need to do is implement parsing and serialization functions. See the 'custom/double' example for details. Boris From boris at codesynthesis.com Mon Apr 4 07:08:45 2011 From: boris at codesynthesis.com (Boris Kolpackov) Date: Mon Apr 4 07:11:03 2011 Subject: [xsd-users] Can you help me about FpML with codesynthesis In-Reply-To: References: Message-ID: Hi Roberto, > Note: I attached the project that I have been using and xml file and > xsd files. Please in the future do not include any DLLs, executables, generated code, images, etc. into attachments that you send to this mailing list. Please see the Posting Guidelines for more information: http://www.codesynthesis.com/support/posting-guidelines.xhtml > I see many error because the exception is launched. This is FAQ #1.1: http://wiki.codesynthesis.com/Tree/FAQ In your particular case, your xml_swap.xml contains the following: xsi:schemaLocation="http://www.fpml.org/2005/FpML-4-2 ../fpml-main-4-2.xsd" While the schemas are in the current directory. Try changing it to: xsi:schemaLocation="http://www.fpml.org/2005/FpML-4-2 fpml-main-4-2.xsd" Boris From stargate625 at gmail.com Mon Apr 4 13:42:08 2011 From: stargate625 at gmail.com (William Canton) Date: Mon Apr 4 16:22:28 2011 Subject: [xsd-users] Compiler errors occurred in the generated *.hxx files from CodeSynthesis 3.2 In-Reply-To: References: Message-ID: After some trials and errors, I found out that the previous problem was caused by the missing targetNamespace declarations in the other XML schema files. Today, I was able to generate the code using namespace mapping. The generated files contained the correct namespaces based on the specified mapping key and value pairs. However, having namespace mapping still does not solve the recurrent problem of error C2338: 'FileSystemType'. You have seen this before in my previous email. So, this build error has nothing to do with the namespace conflicts among two or more CodeSynthesis generated files because only the header generated from the attached schema references the FileSystemType declaration. But now, the xerces parser gave me yet another run time exception of memory access violation inside the following call to parseURI: auto_ptr doc ( parser->parseURI (string (uri).c_str ())); which is contained in this template: template auto_ptr parse (const std::basic_string& uri, xercesc::DOMErrorHandler& eh, const properties& prop, unsigned long flags) within the file named "parsing-source.txx" with the include path of "include/xsd/cxx/xml/dom. This might be one of the CodeSynthesis XSD library template header. Boris, if you like to reproduce this anomaly on your end, attached is the standard XML schema file to use. Also, I am not sure if the generated code has any conflict with this header called "PlatformUtils.hpp" from Apache (see the attachment. This file is part of the XSD xercesc distribution. By the way, I still use the CodeSynthesis version 3.2. You should use the same version to reproduce the runtime exception if you can't reproduce it in 3.3. On Mon, Mar 28, 2011 at 3:49 PM, William Canton wrote: > It turned out that CodeSynthesis didn't work when there existed an > attribute targetNamespace="http://www.example.org/any" in the xs:schema > root element. So, I had to remove those extra attributes from: > > targetNamespace="http://www.example.org/any" > xmlns:tns="http://www.example.org/any" > elementFormDefault="qualified"> > ... > > > into this: > > > ... > > > After this change, CodeSynthesis could generate the code for all schemas. > > But this brought back to the same problem as before: > > error C2838: 'FileSystemType' : illegal qualified name in member > declaration > > That seemed like an NP-Compete because the --namespace-Map option didn't > seem to work properly and an application could not use more than once schema > files. > > > > On Mon, Mar 28, 2011 at 2:10 PM, William Canton wrote: > >> >> It seemed like the only namespace generated by CodeSynthesis was this: >> >> namespace xml_schema >> >> in the codf.hxx header file. Why couldn't it even generate the specified >> namespace in the mapping like: >> >> namespace codf >> >> >> >> >> On Mon, Mar 28, 2011 at 2:02 PM, William Canton wrote: >> >>> If I had multiple namespace mappings like these: >>> >>> xsd.exe cxx-tree --output-dir ..\Generated --hxx-suffix .hxx >>> --cxx-suffix .cxx --ixx-suffix .ixx --fwd-suffix -fwd.hxx --namespace-map >>> http://www.sample.com/config=config --namespace-map >>> http://www.sample.com/msg=msg --namespace-map >>> http://www.sample.com/codf=codf --generate-serialization >>> >>> CodeSynthesis only generated the .hxx and .cpp for the last one. In this >>> case, ony the codf.hxx and codf.cpp files were generated. For the other >>> two, it only generated the forward declarations even though I didn't use the >>> generate forward flag. >>> >>> Any idea why CodeSynthesis only created the .hxx and .cpp files for the >>> last namespace mapping in the list? >>> >>> >>> On Mon, Mar 28, 2011 at 12:58 PM, William Canton wrote: >>> >>>> I tried to remove the elementFormDefault="qualified" from the schema. >>>> But it build problem persisted. >>>> >>>> >>>> On Mon, Mar 28, 2011 at 12:51 PM, William Canton >>> > wrote: >>>> >>>>> My codf schame file contains this on the top (second line): >>>>> >>>>> xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" >>>>> elementFormDefault="qualified"> >>>>> >>>>> Should I remove the elementFormDefault="qualified"? This could have >>>>> caused the problem, I think. >>>>> >>>>> >>>>> >>>>> On Mon, Mar 28, 2011 at 12:35 PM, Boris Kolpackov < >>>>> boris@codesynthesis.com> wrote: >>>>> >>>>>> Hi William, >>>>>> >>>>>> William Canton writes: >>>>>> >>>>>> > Oops! I didn't use the correct syntax last time in the >>>>>> --namespace-Map >>>>>> > option. I should have used: >>>>>> > >>>>>> > --namespace-map xml_schema=codf >>>>>> >>>>>> I am not so sure. This would be correct if your schema had this in the >>>>>> root element: >>>>>> >>>>>> targetNamespace="xml_schema" >>>>>> >>>>>> Looking at your original code fragment, I don't think you have this. >>>>>> If your schema doesn't have the targetNamespace attribute, then the >>>>>> correct option is: >>>>>> >>>>>> --namespace-map =codf >>>>>> >>>>>> That is, it maps empty namespace (global scope) to codf. >>>>>> >>>>>> If you still cannot figure this out, please send me your schema (off >>>>>> list) and I will take a look. >>>>>> >>>>>> Boris >>>>>> >>>>> >>>>> >>>> >>> >> > -------------- next part -------------- A non-text attachment was scrubbed... Name: OC-CoDF-I02.xsd Type: application/octet-stream Size: 81185 bytes Desc: not available Url : http://codesynthesis.com/pipermail/xsd-users/attachments/20110404/6cff6e6d/OC-CoDF-I02-0001.obj -------------- next part -------------- A non-text attachment was scrubbed... Name: PlatformUtils.hpp Type: text/x-c++hdr Size: 33593 bytes Desc: not available Url : http://codesynthesis.com/pipermail/xsd-users/attachments/20110404/6cff6e6d/PlatformUtils-0001.hpp From boris at codesynthesis.com Mon Apr 4 16:20:23 2011 From: boris at codesynthesis.com (Boris Kolpackov) Date: Mon Apr 4 16:22:41 2011 Subject: [xsd-users] Compiler errors occurred in the generated *.hxx files from CodeSynthesis 3.2 In-Reply-To: References: Message-ID: Hi William, William Canton writes: > However, having namespace mapping still does not solve the recurrent problem > of error C2338: 'FileSystemType'. You have seen this before in my previous > email. So, this build error has nothing to do with the namespace conflicts > among two or more CodeSynthesis generated files because only the header > generated from the attached schema references the FileSystemType > declaration. Ok, here is what I did. I compiled this schema like this: xsd cxx-tree --namespace-map http://www.cablelabs.com/namespaces/opencable/xsd/codf/2.0=codf OC-CoDF-I02.xsd I then opened the 'examples-vc9.sln' solution that comes with XSD distribution (examples/cxx/tree/ directory) using VC++ 2008 and added the resulting files to the 'hello' project. I then build the project and didn't get any error. The generated OC-CoDF-I02.cxx compiled without any problems. One thing that you may want to try is add the following option when compiling this schema: --reserved-name FileSystemType > But now, the xerces parser gave me yet another run time exception of memory > access violation inside the following call to parseURI: > > auto_ptr doc ( > parser->parseURI (string (uri).c_str ())); > > which is contained in this template: > > template > auto_ptr > parse (const std::basic_string& uri, > xercesc::DOMErrorHandler& eh, > const properties& prop, > unsigned long flags) > > within the file named "parsing-source.txx" with the include path of > "include/xsd/cxx/xml/dom. This might be one of the CodeSynthesis XSD > library template header. Yes, it is part of the XSD runtime library (libxsd). Can you show us what you call to parse the document in your application? Better yet, can you send a small test driver (just the .cpp file) that ties to perform the parsing and get this exception? Boris From S.Koepf at ergo-elektronik.de Thu Apr 7 13:07:10 2011 From: S.Koepf at ergo-elektronik.de (Steffen Koepf) Date: Thu Apr 7 13:17:28 2011 Subject: [xsd-users] create object model with default values from schema? Message-ID: <9D08F04D0795A44B848037B4BADC1F28F39AF3B3D6@EXCSRV02.ergo-west.local> Hello, is it possible to create a object model only from a schema file? This is similar to the function "create default xml file from schema" in some xml editors. At the moment I parse a xml file with default values, change all elements with the values I want to save and then write this to a new xml file. Is it now possible to get a auto_ptr configptr = ... without having a xml file first? Thanks in advance, Best regards, Steffen From boris at codesynthesis.com Thu Apr 7 13:24:39 2011 From: boris at codesynthesis.com (Boris Kolpackov) Date: Thu Apr 7 13:27:19 2011 Subject: [xsd-users] create object model with default values from schema? In-Reply-To: <9D08F04D0795A44B848037B4BADC1F28F39AF3B3D6@EXCSRV02.ergo-west.local> References: <9D08F04D0795A44B848037B4BADC1F28F39AF3B3D6@EXCSRV02.ergo-west.local> Message-ID: Hi Steffen, Steffen Koepf writes: > At the moment I parse a xml file with default values, > change all elements with the values I want to save > and then write this to a new xml file. > > Is it now possible to get a > auto_ptr configptr = ... > without having a xml file first? Yes, you can do: auto_ptr configptr = new config; And all the attributes with default values will have their default values. Boris From S.Koepf at ergo-elektronik.de Thu Apr 7 15:08:26 2011 From: S.Koepf at ergo-elektronik.de (Steffen Koepf) Date: Fri Apr 8 06:33:09 2011 Subject: AW: [xsd-users] create object model with default values from schema? In-Reply-To: Message-ID: <9D08F04D0795A44B848037B4BADC1F28F39AF3B3D7@EXCSRV02.ergo-west.local> Hello, It is not so easy. When I do what you suggest, i get the compiler error: ../ConfigCtrl.cpp: In member function ?std::auto_ptr ConfigCtrl::getDefaultConfig()?: ../ConfigCtrl.cpp:117: error: no matching function for call to ?config::config()? ../config.hxx:400: note: candidates are: config::config(const config&, xml_schema::flags, xml_schema::container*) ../config.hxx:396: note: config::config(const xercesc_2_7::DOMElement&, xml_schema::flags, xml_schema::container*) ../config.hxx:392: note: config::config(const xml_schema::string&, const xml_schema::double_&, const xml_schema::double_&, const xml_schema::double_&, const xml_schema::int_&, const xml_schema::string&, const xml_schema::string&, const xml_schema::int_&) Sorry for the german error messages, i had only this box at the moment. Steffen -----Urspr?ngliche Nachricht----- Von: Boris Kolpackov [mailto:boris@codesynthesis.com] Gesendet: Donnerstag, 7. April 2011 19:25 An: Steffen Koepf Cc: 'xsd-users@codesynthesis.com' Betreff: Re: [xsd-users] create object model with default values from schema? Hi Steffen, Steffen Koepf writes: > At the moment I parse a xml file with default values, > change all elements with the values I want to save > and then write this to a new xml file. > > Is it now possible to get a > auto_ptr configptr = ... > without having a xml file first? Yes, you can do: auto_ptr configptr = new config; And all the attributes with default values will have their default values. Boris From boris at codesynthesis.com Fri Apr 8 06:39:40 2011 From: boris at codesynthesis.com (Boris Kolpackov) Date: Fri Apr 8 06:45:39 2011 Subject: [xsd-users] create object model with default values from schema? In-Reply-To: <9D08F04D0795A44B848037B4BADC1F28F39AF3B3D7@EXCSRV02.ergo-west.local> References: <9D08F04D0795A44B848037B4BADC1F28F39AF3B3D7@EXCSRV02.ergo-west.local> Message-ID: Hi Steffen, Steffen Koepf writes: > ../ConfigCtrl.cpp:117: error: no matching function for call to > config::config() This means that your type has non-optional elements/attributes. Can you show me the schema for the config type? Boris From Cuneyt.Karadag at akbank.com Fri Apr 8 07:44:55 2011 From: Cuneyt.Karadag at akbank.com (Cuneyt.Karadag@akbank.com) Date: Fri Apr 8 07:45:23 2011 Subject: [xsd-users] Compilation Error of Generated Files (FpML) Message-ID: <4639C400EF7C314A92C03309C5B021E8038CB2B9D9@ABMEXCMBCLS1.akbankdmn.akb> Hi all, Our appliactions run on Solaris environment and we would like like to produce an FpML message for a given trade. To be able to do this we have downloaded the file named xsd-3.3.0-sparc-solaris.tar.gz from http://www.codesynthesis.com/products/xsd/download.xhtml Besides we have also downloaded the xsd files for this issue from http://www.fpml.org/ Then we have generated the .cc & .h files (totally 37 files related with FpML) with command xsd under bin directory as shown below. .../xsd-3.3.0-sparc-solaris/bin/xsd cxx-tree --cxx-suffix .cc --hxx-suffix .h --namespace-map http://www.fpml.org/2009/FpML-4-7=fpml47 .../xsd-3.3.0-sparc-solaris/bin/fpml-4-7-7-rec-2/xml/fpml-main-4-7.xsd .../xsd-3.3.0-sparc-solaris/bin/xsd cxx-tree --cxx-suffix .cc --hxx-suffix .h --namespace-map http://www.fpml.org/2009/FpML-4-7=fpml47 .../xsd-3.3.0-sparc-solaris/bin/fpml-4-7-7-rec-2/xml/fpml-fx-4-7.xsd .../xsd-3.3.0-sparc-solaris/bin/xsd cxx-tree --cxx-suffix .cc --hxx-suffix .h --namespace-map http://www.fpml.org/2009/FpML-4-7=fpml47 --namespace-map http://www.w3.org/2000/09/xmldsig#=xmldsig .../xsd-3.3.0-sparc-solaris/bin/fpml-4-7-7-rec-2/xml/xmldsig-core-schema.xsd ... ... etc. Under the source directory we have created our makefile and we finally tried to compile our .cc files we got too many compilation errors. We have tried the different to be able to solve these problems but we could not. ".../include/xsd/cxx/xml/dom/auto-ptr.hxx", line 4: Error: "," expected instead of "namespace". ".../include/xsd/cxx/xml/dom/auto-ptr.hxx", line 16: Error: A declaration was expected instead of "}". ".../include/xsd/cxx/xml/dom/auto-ptr.hxx", line 22: Error: No primary specialization for partial specialization remove_c. ".../include/xsd/cxx/xml/dom/auto-ptr.hxx", line 145: Error: A declaration was expected instead of "}". ".../include/xsd/cxx/xml/dom/auto-ptr.hxx", line 146: Error: A declaration was expected instead of "}". ".../include/xsd/cxx/xml/dom/auto-ptr.hxx", line 147: Error: A declaration was expected instead of "}". ".../include/xsd/cxx/xml/dom/auto-ptr.hxx", line 148: Error: A declaration was expected instead of "}". ".../include/xsd/cxx/tree/elements.hxx", line 760: Error: dom is not a member of xsd::cxx::xml. ".../include/xsd/cxx/tree/elements.hxx", line 676: Error: dom is not a member of xsd::cxx::xml. ".../include/xsd/cxx/tree/elements.hxx", line 677: Error: dom is not a member of xsd::cxx::xml. ".../include/xsd/cxx/xml/bits/literals.hxx", line 4: Error: Multiple declaration for _HXX. ".../include/xsd/cxx/xml/bits/literals.hxx", line 4: Error: "," expected instead of "namespace". ".../include/xsd/cxx/xml/bits/literals.hxx", line 71: Error: A declaration was expected instead of "}". ".../include/xsd/cxx/xml/bits/literals.hxx", line 72: Error: A declaration was expected instead of "}". ".../include/xsd/cxx/xml/bits/literals.hxx", line 73: Error: A declaration was expected instead of "}". ".../include/xsd/cxx/xml/bits/literals.hxx", line 74: Error: A declaration was expected instead of "}". ".../include/xsd/cxx/xml/bits/literals.ixx", line 22: Error: "inline" is not allowed here. ".../include/xsd/cxx/xml/bits/literals.ixx", line 22: Error: A class template name was expected instead of xml_prefix. ".../include/xsd/cxx/xml/bits/literals.ixx", line 22: Error: A declaration was expected instead of "<". ".../include/xsd/cxx/xml/bits/literals.ixx", line 22: Error: A declaration does not specify a tag or an identifier. ".../include/xsd/cxx/xml/bits/literals.ixx", line 22: Error: Use ";" to terminate declarations. ".../include/xsd/cxx/xml/bits/literals.ixx", line 22: Error: A declaration was expected instead of ">". ".../include/xsd/cxx/xml/bits/literals.ixx", line 23: Error: There must be an identifier to declare. ".../include/xsd/cxx/xml/bits/literals.ixx", line 127: Error: A declaration was expected instead of "}". ".../include/xsd/cxx/tree/parsing.txx", line 216: Error: first is not defined. Compilation aborted, too many Error messages. *** Error code 1 make: Fatal error: Command failed for target `fpml-main-4-7.o' @hazdev1% Could you please help us how to accomplish this issue? Thanks. Regards. Cuneyt Karadag, Mr. ________________________________ [http://www.akbank.com/images/disclaimer.jpg] Bu e-posta ve muhtemel eklerinde verilen bilgiler ki?iye ?zel ve gizli olup, yaln?zca mesajda belirlenen al?c? ile ilgilidir. Size yanl??l?kla ula?m??sa l?tfen g?ndericiye bilgi veriniz, mesaj? siliniz ve i?eri?ini ba?ka bir ki?iye a??klamay?n?z, herhangi bir ortama kopyalamay?n?z. Bu mesaj aksi s?zle?me ile belirtilmedik?e herhangi bir finansal i?lem teklifi, al?m?, sat?m? veya herhangi bir havalenin teyidi gibi bankac?l?k i?lemi yap?lmas? amac?n? ta??mamaktad?r. Verilen t?m bilgilerin do?rulu?u ve b?t?nl???n?n garantisi verilmemekte olup, ?nceden bildirilmeksizin de?i?tirilebilecektir. Bu mesaj?n i?eri?i Bankam?z?n resmi g?r??lerini yans?tmayabilece?inden Akbank T.A.?. hi?bir hukuki sorumlulu?u kabul etmez. From boris at codesynthesis.com Fri Apr 8 10:07:40 2011 From: boris at codesynthesis.com (Boris Kolpackov) Date: Fri Apr 8 10:10:27 2011 Subject: [xsd-users] Compilation Error of Generated Files (FpML) In-Reply-To: <4639C400EF7C314A92C03309C5B021E8038CB2B9D9@ABMEXCMBCLS1.akbankdmn.akb> References: <4639C400EF7C314A92C03309C5B021E8038CB2B9D9@ABMEXCMBCLS1.akbankdmn.akb> Message-ID: Hi Cuneyt, Cuneyt.Karadag@akbank.com writes: > Our appliactions run on Solaris environment and we would like like to > produce an FpML message for a given trade. > > > Under the source directory we have created our makefile and we finally > tried to compile our .cc files we got too many compilation errors. Which C++ compiler and version are you using to compile this? Boris From S.Koepf at ergo-elektronik.de Fri Apr 8 07:25:13 2011 From: S.Koepf at ergo-elektronik.de (Steffen Koepf) Date: Fri Apr 8 10:10:42 2011 Subject: AW: [xsd-users] create object model with default values from schema? In-Reply-To: Message-ID: <9D08F04D0795A44B848037B4BADC1F28F39AF3B3D8@EXCSRV02.ergo-west.local> Hi Boris, All Elements are non-optional. I need an Object Model containing this elements already with Default values (0 vor numbers, "" for strings) so that my software can set them with auto_ptr asc = aConfig->getDefaultConfig(); asc->FilamentU(mFilamentVoltage); Steffen -----Urspr?ngliche Nachricht----- Von: Boris Kolpackov [mailto:boris@codesynthesis.com] Gesendet: Freitag, 8. April 2011 12:40 An: Steffen Koepf Cc: 'xsd-users@codesynthesis.com' Betreff: Re: [xsd-users] create object model with default values from schema? Hi Steffen, Steffen Koepf writes: > ../ConfigCtrl.cpp:117: error: no matching function for call to > config::config() This means that your type has non-optional elements/attributes. Can you show me the schema for the config type? Boris From boris at codesynthesis.com Fri Apr 8 11:54:12 2011 From: boris at codesynthesis.com (Boris Kolpackov) Date: Fri Apr 8 11:58:45 2011 Subject: [xsd-users] create object model with default values from schema? In-Reply-To: <9D08F04D0795A44B848037B4BADC1F28F39AF3B3D8@EXCSRV02.ergo-west.local> References: <9D08F04D0795A44B848037B4BADC1F28F39AF3B3D8@EXCSRV02.ergo-west.local> Message-ID: Hi Steffen, Steffen Koepf writes: > > > > > > > > > > > > > > > > All Elements are non-optional. > I need an Object Model containing this elements already with > Default values (0 vor numbers, "" for strings) These are not their default values in the XML Schema terms. If you want them to have default values then you will need to set them explicitly. And use attributes instead of elements, since in XML Schema elements with default values have a different semantics. For example: ... Alternatively, you could also use the --generate-default-ctor option. However, while such a default c-tor will do the right thing for strings, for doubles and ints it will leave the members uninitialized (since they are mapped to fundamental C++ types). You can, however, make a small change in libxsd to default-initialize (in C++ terms) fundamental types. Let me know if you need more information on this method. Boris From Cuneyt.Karadag at akbank.com Mon Apr 11 02:53:17 2011 From: Cuneyt.Karadag at akbank.com (Cuneyt.Karadag@akbank.com) Date: Mon Apr 11 02:53:35 2011 Subject: [xsd-users] Compilation Error of Generated Files (FpML) In-Reply-To: References: <4639C400EF7C314A92C03309C5B021E8038CB2B9D9@ABMEXCMBCLS1.akbankdmn.akb> Message-ID: <4639C400EF7C314A92C03309C5B021E8038CBEAF2C@ABMEXCMBCLS1.akbankdmn.akb> Hi Boris, First of all I would like to thank you for your response. We are using Sun Studio 12 C++ Compiler. Regards. Cuneyt. -----Original Message----- From: Boris Kolpackov [mailto:boris@codesynthesis.com] Sent: Friday, April 08, 2011 5:08 PM To: C?neyt Karada? (BT Uygulama Geli?tirme B?l?m?) Cc: xsd-users@codesynthesis.com; ?enel Hi?y?lmaz (BT Uygulama Geli?tirme B?l?m?) Subject: Re: [xsd-users] Compilation Error of Generated Files (FpML) Hi Cuneyt, Cuneyt.Karadag@akbank.com writes: > Our appliactions run on Solaris environment and we would like like to > produce an FpML message for a given trade. > > > Under the source directory we have created our makefile and we finally > tried to compile our .cc files we got too many compilation errors. Which C++ compiler and version are you using to compile this? Boris Bu e-posta ve muhtemel eklerinde verilen bilgiler ki?iye ?zel ve gizli olup, yaln?zca mesajda belirlenen al?c? ile ilgilidir.Size yanl??l?kla ula?m??sa l?tfen g?ndericiye bilgi veriniz, mesaj? siliniz ve i?eri?ini ba?ka bir ki?iye a??klamay?n?z, herhangi bir ortama kopyalamay?n?z. Bu mesaj aksi s?zle?me ile belirtilmedik?e herhangi bir finansal i?lem teklifi, al?m?, sat?m? veya herhangi bir havalenin teyidi gibi bankac?l?k i?lemi yap?lmas? amac?n? ta??mamaktad?r.Verilen t?m bilgilerin do?rulu?u ve b?t?nl???n?n garantisi verilmemekte olup, ?nceden bildirilmeksizin de?i?tirilebilecektir.Bu mesaj?n i?eri?i Bankam?z?n resmi g?r??lerini yans?tmayabilece?inden Akbank T.A.?. hi?bir hukuki sorumlulu?u kabul etmez. From boris at codesynthesis.com Mon Apr 11 05:21:00 2011 From: boris at codesynthesis.com (Boris Kolpackov) Date: Mon Apr 11 05:24:02 2011 Subject: [xsd-users] Compilation Error of Generated Files (FpML) In-Reply-To: <4639C400EF7C314A92C03309C5B021E8038CBEAF2C@ABMEXCMBCLS1.akbankdmn.akb> References: <4639C400EF7C314A92C03309C5B021E8038CB2B9D9@ABMEXCMBCLS1.akbankdmn.akb> <4639C400EF7C314A92C03309C5B021E8038CBEAF2C@ABMEXCMBCLS1.akbankdmn.akb> Message-ID: Hi Cuneyt, Cuneyt.Karadag@akbank.com writes: > We are using Sun Studio 12 C++ Compiler. Hm, we have tested this version and it worked fine. Can you show me the compiler command line that caused the error? Boris From Cuneyt.Karadag at akbank.com Mon Apr 11 06:29:58 2011 From: Cuneyt.Karadag at akbank.com (Cuneyt.Karadag@akbank.com) Date: Mon Apr 11 09:07:19 2011 Subject: [xsd-users] Compilation Error of Generated Files (FpML) In-Reply-To: References: <4639C400EF7C314A92C03309C5B021E8038CB2B9D9@ABMEXCMBCLS1.akbankdmn.akb> <4639C400EF7C314A92C03309C5B021E8038CBEAF2C@ABMEXCMBCLS1.akbankdmn.akb> Message-ID: <4639C400EF7C314A92C03309C5B021E8038CBEBB4C@ABMEXCMBCLS1.akbankdmn.akb> Hi Boris, I am sending my Makefile as attached. When I try to compile the sources related with FpML .cc files I am getting the errors below. sumbo@hazdev1% make /opt/SUNWspro/bin/CC -D_RWCONFIG=12d -features=no%localfor -features=no%conststrings -library=no%rwtools7 -erroff=nonewline -I. -I/export/home/misys/SUMMIT_V531/summit/sumbo_V5_3_1/include -I/export/home/misys/SUMMIT_V531/summit/sumbo_V5_3_1/include/suthreads -I/export/home/misys/SUMMIT_V531/summit/sumbo_V5_3_1/include/sutools -I/export/home/misys/SUMMIT_V531/summit/sumbo_V5_3_1/ie -I/export/home/misys/SUMMIT_V531/summit/CORE_AND_PATCHES_V5_3_1/include -I/export/home/misys/SUMMIT_V531/summit/CORE_AND_PATCHES_V5_3_1/include/suthreads -I/export/home/misys/SUMMIT_V531/summit/CORE_AND_PATCHES_V5_3_1/include/sutools -I/export/home/misys/SUMMIT_V531/summit/CORE_AND_PATCHES_V5_3_1/ie -I/opt/SUNWspro/include/CC -I/export/home/misys/SUMMIT_V531/summit/sumbo_V5_3_1/include/xml -I/export/home/misys/SUMMIT_V531/summit/CORE_AND_PATCHES_V5_3_1/include/xml -I/export/home/misys/SUMMIT_V531/summittools/xercesc-2_8_0-icu3.8.1-Sol10-Studio11/include -I/export/home/misys/SUMMIT_V531/summittools/xercesc-2_8_0-icu3.8.1-Sol10-Studio11/include/xercesc -g -DSU_FEAT005 -DSU_TTRS -DSU_MKV -DSU_SOLARIS_8 -DRELEASE5 -DDEBUG -DRW_NO_OVERLOAD_SCHAR -DSUMMITBASE=\"V51\" -c -KPIC fpml-main-4-7.cc "/export/home/misys/SUMMIT_V531/summit/sumbo_V5_3_1/include/xsd/cxx/xml/dom/auto-ptr.hxx", line 4: Error: "," expected instead of "namespace". "/export/home/misys/SUMMIT_V531/summit/sumbo_V5_3_1/include/xsd/cxx/xml/dom/auto-ptr.hxx", line 16: Error: A declaration was expected instead of "}". "/export/home/misys/SUMMIT_V531/summit/sumbo_V5_3_1/include/xsd/cxx/xml/dom/auto-ptr.hxx", line 22: Error: No primary specialization for partial specialization remove_c. "/export/home/misys/SUMMIT_V531/summit/sumbo_V5_3_1/include/xsd/cxx/xml/dom/auto-ptr.hxx", line 145: Error: A declaration was expected instead of "}". "/export/home/misys/SUMMIT_V531/summit/sumbo_V5_3_1/include/xsd/cxx/xml/dom/auto-ptr.hxx", line 146: Error: A declaration was expected instead of "}". "/export/home/misys/SUMMIT_V531/summit/sumbo_V5_3_1/include/xsd/cxx/xml/dom/auto-ptr.hxx", line 147: Error: A declaration was expected instead of "}". "/export/home/misys/SUMMIT_V531/summit/sumbo_V5_3_1/include/xsd/cxx/xml/dom/auto-ptr.hxx", line 148: Error: A declaration was expected instead of "}". "/export/home/misys/SUMMIT_V531/summit/sumbo_V5_3_1/include/xsd/cxx/tree/elements.hxx", line 760: Error: dom is not a member of xsd::cxx::xml. "/export/home/misys/SUMMIT_V531/summit/sumbo_V5_3_1/include/xsd/cxx/tree/elements.hxx", line 676: Error: dom is not a member of xsd::cxx::xml. "/export/home/misys/SUMMIT_V531/summit/sumbo_V5_3_1/include/xsd/cxx/tree/elements.hxx", line 677: Error: dom is not a member of xsd::cxx::xml. "/export/home/misys/SUMMIT_V531/summit/sumbo_V5_3_1/include/xsd/cxx/xml/bits/literals.hxx", line 4: Error: Multiple declaration for _HXX. "/export/home/misys/SUMMIT_V531/summit/sumbo_V5_3_1/include/xsd/cxx/xml/bits/literals.hxx", line 4: Error: "," expected instead of "namespace". "/export/home/misys/SUMMIT_V531/summit/sumbo_V5_3_1/include/xsd/cxx/xml/bits/literals.hxx", line 71: Error: A declaration was expected instead of "}". "/export/home/misys/SUMMIT_V531/summit/sumbo_V5_3_1/include/xsd/cxx/xml/bits/literals.hxx", line 72: Error: A declaration was expected instead of "}". "/export/home/misys/SUMMIT_V531/summit/sumbo_V5_3_1/include/xsd/cxx/xml/bits/literals.hxx", line 73: Error: A declaration was expected instead of "}". "/export/home/misys/SUMMIT_V531/summit/sumbo_V5_3_1/include/xsd/cxx/xml/bits/literals.hxx", line 74: Error: A declaration was expected instead of "}". "/export/home/misys/SUMMIT_V531/summit/sumbo_V5_3_1/include/xsd/cxx/xml/bits/literals.ixx", line 22: Error: "inline" is not allowed here. "/export/home/misys/SUMMIT_V531/summit/sumbo_V5_3_1/include/xsd/cxx/xml/bits/literals.ixx", line 22: Error: A class template name was expected instead of xml_prefix. "/export/home/misys/SUMMIT_V531/summit/sumbo_V5_3_1/include/xsd/cxx/xml/bits/literals.ixx", line 22: Error: A declaration was expected instead of "<". "/export/home/misys/SUMMIT_V531/summit/sumbo_V5_3_1/include/xsd/cxx/xml/bits/literals.ixx", line 22: Error: A declaration does not specify a tag or an identifier. "/export/home/misys/SUMMIT_V531/summit/sumbo_V5_3_1/include/xsd/cxx/xml/bits/literals.ixx", line 22: Error: Use ";" to terminate declarations. "/export/home/misys/SUMMIT_V531/summit/sumbo_V5_3_1/include/xsd/cxx/xml/bits/literals.ixx", line 22: Error: A declaration was expected instead of ">". "/export/home/misys/SUMMIT_V531/summit/sumbo_V5_3_1/include/xsd/cxx/xml/bits/literals.ixx", line 23: Error: There must be an identifier to declare. "/export/home/misys/SUMMIT_V531/summit/sumbo_V5_3_1/include/xsd/cxx/xml/bits/literals.ixx", line 127: Error: A declaration was expected instead of "}". "/export/home/misys/SUMMIT_V531/summit/sumbo_V5_3_1/include/xsd/cxx/tree/parsing.txx", line 216: Error: first is not defined. Compilation aborted, too many Error messages. *** Error code 1 make: Fatal error: Command failed for target `fpml-main-4-7.o' sumbo@hazdev1% Cuneyt -----Original Message----- From: Boris Kolpackov [mailto:boris@codesynthesis.com] Sent: Monday, April 11, 2011 12:21 PM To: C?neyt Karada? (BT Uygulama Geli?tirme B?l?m?) Cc: xsd-users@codesynthesis.com; ?enel Hi?y?lmaz (BT Uygulama Geli?tirme B?l?m?) Subject: Re: [xsd-users] Compilation Error of Generated Files (FpML) Hi Cuneyt, Cuneyt.Karadag@akbank.com writes: > We are using Sun Studio 12 C++ Compiler. Hm, we have tested this version and it worked fine. Can you show me the compiler command line that caused the error? Boris ________________________________ [http://www.akbank.com/images/disclaimer.jpg] Bu e-posta ve muhtemel eklerinde verilen bilgiler ki?iye ?zel ve gizli olup, yaln?zca mesajda belirlenen al?c? ile ilgilidir. Size yanl??l?kla ula?m??sa l?tfen g?ndericiye bilgi veriniz, mesaj? siliniz ve i?eri?ini ba?ka bir ki?iye a??klamay?n?z, herhangi bir ortama kopyalamay?n?z. Bu mesaj aksi s?zle?me ile belirtilmedik?e herhangi bir finansal i?lem teklifi, al?m?, sat?m? veya herhangi bir havalenin teyidi gibi bankac?l?k i?lemi yap?lmas? amac?n? ta??mamaktad?r. Verilen t?m bilgilerin do?rulu?u ve b?t?nl???n?n garantisi verilmemekte olup, ?nceden bildirilmeksizin de?i?tirilebilecektir. Bu mesaj?n i?eri?i Bankam?z?n resmi g?r??lerini yans?tmayabilece?inden Akbank T.A.?. hi?bir hukuki sorumlulu?u kabul etmez. -------------- next part -------------- A non-text attachment was scrubbed... Name: Makefile Type: application/octet-stream Size: 36573 bytes Desc: Makefile Url : http://codesynthesis.com/pipermail/xsd-users/attachments/20110411/48111b84/Makefile-0001.obj From boris at codesynthesis.com Mon Apr 11 11:49:19 2011 From: boris at codesynthesis.com (Boris Kolpackov) Date: Mon Apr 11 11:52:23 2011 Subject: [xsd-users] Compilation Error of Generated Files (FpML) In-Reply-To: <4639C400EF7C314A92C03309C5B021E8038CBEBB4C@ABMEXCMBCLS1.akbankdmn.akb> References: <4639C400EF7C314A92C03309C5B021E8038CB2B9D9@ABMEXCMBCLS1.akbankdmn.akb> <4639C400EF7C314A92C03309C5B021E8038CBEAF2C@ABMEXCMBCLS1.akbankdmn.akb> <4639C400EF7C314A92C03309C5B021E8038CBEBB4C@ABMEXCMBCLS1.akbankdmn.akb> Message-ID: Hi Cuneyt, Cuneyt.Karadag@akbank.com writes: > /opt/SUNWspro/bin/CC -D_RWCONFIG=12d -features=no%localfor > -features=no%conststrings -library=no%rwtools7 -erroff=nonewline > -I. -I/export/home/misys/SUMMIT_V531/summit/sumbo_V5_3_1/include > -I/export/home/misys/SUMMIT_V531/summit/sumbo_V5_3_1/include/suthreads > -I/export/home/misys/SUMMIT_V531/summit/sumbo_V5_3_1/include/sutools > -I/export/home/misys/SUMMIT_V531/summit/sumbo_V5_3_1/ie > -I/export/home/misys/SUMMIT_V531/summit/CORE_AND_PATCHES_V5_3_1/include > -I/export/home/misys/SUMMIT_V531/summit/CORE_AND_PATCHES_V5_3_1/include/suthreads > -I/export/home/misys/SUMMIT_V531/summit/CORE_AND_PATCHES_V5_3_1/include/sutools > -I/export/home/misys/SUMMIT_V531/summit/CORE_AND_PATCHES_V5_3_1/ie > -I/opt/SUNWspro/include/CC > -I/export/home/misys/SUMMIT_V531/summit/sumbo_V5_3_1/include/xml > -I/export/home/misys/SUMMIT_V531/summit/CORE_AND_PATCHES_V5_3_1/include/xml > -I/export/home/misys/SUMMIT_V531/summittools/xercesc-2_8_0-icu3.8.1-Sol10-Studio11/include > -I/export/home/misys/SUMMIT_V531/summittools/xercesc-2_8_0-icu3.8.1-Sol10-Studio11/include/xercesc > -g -DSU_FEAT005 -DSU_TTRS -DSU_MKV -DSU_SOLARIS_8 -DRELEASE5 -DDEBUG > -DRW_NO_OVERLOAD_SCHAR -DSUMMITBASE=\"V51\" -c -KPIC fpml-main-4-7.cc > > ".../xsd/cxx/xml/dom/auto-ptr.hxx", line 4: Error: "," expected instead > of "namespace". These errors are strange. If you look at xsd/cxx/xml/dom/auto-ptr.hxx, line 4, there is mentioning of namespace on that line. Here are some of the thing that I suggest that you try: 1. First make sure you really are using Sun CC 12 by running this command: /opt/SUNWspro/bin/CC -V 2. Unpack the xsd package with gtar (GNU tar) instead of Sun tar to make sure nothing is corrupted. 3. Try to build an example (e.g., 'hello') in the XSD distribution: gmake CXX=/opt/SUNWspro/bin/CC 4. If the example builds fine, then you may want to try to remove some of the options from the above command line while compiling fpml-main-4-7.cc. In particular the -features ones. Boris From Cuneyt.Karadag at akbank.com Wed Apr 13 09:48:16 2011 From: Cuneyt.Karadag at akbank.com (Cuneyt.Karadag@akbank.com) Date: Wed Apr 13 09:48:25 2011 Subject: [xsd-users] Compilation Error of Generated Files (FpML) In-Reply-To: References: <4639C400EF7C314A92C03309C5B021E8038CB2B9D9@ABMEXCMBCLS1.akbankdmn.akb> <4639C400EF7C314A92C03309C5B021E8038CBEAF2C@ABMEXCMBCLS1.akbankdmn.akb> <4639C400EF7C314A92C03309C5B021E8038CBEBB4C@ABMEXCMBCLS1.akbankdmn.akb> Message-ID: <4639C400EF7C314A92C03309C5B021E8038CD38430@ABMEXCMBCLS1.akbankdmn.akb> Hi Boris, I have succeeded to compile my FpML library. First, I have extracted the xsd package with GNU tar and I have tried to run the example "hello" by creating the my makefile and it worked. Then, I have created the FpML .cc and .h files with the command "xsd" by running under the directory "bin". Finally I have created the makefile for the FpML library and compiled it successfully. Thanks so much for your helps. Cuneyt. -----Original Message----- From: Boris Kolpackov [mailto:boris@codesynthesis.com] Sent: Monday, April 11, 2011 6:49 PM To: C?neyt Karada? (BT Uygulama Geli?tirme B?l?m?) Cc: xsd-users@codesynthesis.com; ?enel Hi?y?lmaz (BT Uygulama Geli?tirme B?l?m?) Subject: Re: [xsd-users] Compilation Error of Generated Files (FpML) Hi Cuneyt, Cuneyt.Karadag@akbank.com writes: > /opt/SUNWspro/bin/CC -D_RWCONFIG=12d -features=no%localfor > -features=no%conststrings -library=no%rwtools7 -erroff=nonewline > -I. -I/export/home/misys/SUMMIT_V531/summit/sumbo_V5_3_1/include > -I/export/home/misys/SUMMIT_V531/summit/sumbo_V5_3_1/include/suthreads > -I/export/home/misys/SUMMIT_V531/summit/sumbo_V5_3_1/include/sutools > -I/export/home/misys/SUMMIT_V531/summit/sumbo_V5_3_1/ie > -I/export/home/misys/SUMMIT_V531/summit/CORE_AND_PATCHES_V5_3_1/include > -I/export/home/misys/SUMMIT_V531/summit/CORE_AND_PATCHES_V5_3_1/include/suthreads > -I/export/home/misys/SUMMIT_V531/summit/CORE_AND_PATCHES_V5_3_1/include/sutools > -I/export/home/misys/SUMMIT_V531/summit/CORE_AND_PATCHES_V5_3_1/ie > -I/opt/SUNWspro/include/CC > -I/export/home/misys/SUMMIT_V531/summit/sumbo_V5_3_1/include/xml > -I/export/home/misys/SUMMIT_V531/summit/CORE_AND_PATCHES_V5_3_1/include/xml > -I/export/home/misys/SUMMIT_V531/summittools/xercesc-2_8_0-icu3.8.1-Sol10-Studio11/include > -I/export/home/misys/SUMMIT_V531/summittools/xercesc-2_8_0-icu3.8.1-Sol10-Studio11/include/xercesc > -g -DSU_FEAT005 -DSU_TTRS -DSU_MKV -DSU_SOLARIS_8 -DRELEASE5 -DDEBUG > -DRW_NO_OVERLOAD_SCHAR -DSUMMITBASE=\"V51\" -c -KPIC fpml-main-4-7.cc > > ".../xsd/cxx/xml/dom/auto-ptr.hxx", line 4: Error: "," expected instead > of "namespace". These errors are strange. If you look at xsd/cxx/xml/dom/auto-ptr.hxx, line 4, there is mentioning of namespace on that line. Here are some of the thing that I suggest that you try: 1. First make sure you really are using Sun CC 12 by running this command: /opt/SUNWspro/bin/CC -V 2. Unpack the xsd package with gtar (GNU tar) instead of Sun tar to make sure nothing is corrupted. 3. Try to build an example (e.g., 'hello') in the XSD distribution: gmake CXX=/opt/SUNWspro/bin/CC 4. If the example builds fine, then you may want to try to remove some of the options from the above command line while compiling fpml-main-4-7.cc. In particular the -features ones. Boris Bu e-posta ve muhtemel eklerinde verilen bilgiler ki?iye ?zel ve gizli olup, yaln?zca mesajda belirlenen al?c? ile ilgilidir.Size yanl??l?kla ula?m??sa l?tfen g?ndericiye bilgi veriniz, mesaj? siliniz ve i?eri?ini ba?ka bir ki?iye a??klamay?n?z, herhangi bir ortama kopyalamay?n?z. Bu mesaj aksi s?zle?me ile belirtilmedik?e herhangi bir finansal i?lem teklifi, al?m?, sat?m? veya herhangi bir havalenin teyidi gibi bankac?l?k i?lemi yap?lmas? amac?n? ta??mamaktad?r.Verilen t?m bilgilerin do?rulu?u ve b?t?nl???n?n garantisi verilmemekte olup, ?nceden bildirilmeksizin de?i?tirilebilecektir.Bu mesaj?n i?eri?i Bankam?z?n resmi g?r??lerini yans?tmayabilece?inden Akbank T.A.?. hi?bir hukuki sorumlulu?u kabul etmez. From rescobar at datatec-ec.com Wed Apr 13 12:13:53 2011 From: rescobar at datatec-ec.com (Roberto Escobar) Date: Wed Apr 13 12:30:39 2011 Subject: [xsd-users] How can I put the attribute xsi:type="DataDocument" in the root node? Message-ID: Good morning. I have a little problem, I need to parse xml but I cannot do. I compile the FpML 4-2 as suggested in http://wiki.codesynthesis.com/index.php?title=Schemas/FpML&redirect=no Common.options file consists of: --generate-polymorphic --generate-serialization Fpml.options file consists of: --root-element FpML --namespace-map http://www.fpml.org/2005/FpML-4-2=FpML_4_2 --namespace-map http://www.w3.org/2000/09/xmldsig#=XMLDSig --polymorphic-type Product --polymorphic-type Rate --polymorphic-type Event --polymorphic-type PricingStructure --polymorphic-type PricingStructureValuation --polymorphic-type Portfolio --polymorphic-type Exercise --polymorphic-type Asset --polymorphic-type ChangeEvent --polymorphic-type CreditEvent --polymorphic-type DirectionalLeg --polymorphic-type ReturnSwapLeg --polymorphic-type QuotableProduct --disable-warning F001 The command executed were: 1) xsd cxx-tree --generate-xml-schema --output-dir gen --options-file common.options xml-schema.xsd 2) xsd cxx-tree --file-per-type --output-dir gen --extern-xml-schema xml-schema.xsd --options-file common.options --options-file fpml.options fpml/fpml-main-4-2.xsd The FpML 4-2 specification was downloaded from link: http://www.fpml.org/spec/login.php My problem is this: The XSD-generated code gives me some functions "FpML" for parsing an XML file that return a value "Document ", but when I want to do serialization of object "Document" obtained by functions, they do not do anything. Code: auto_ptr doc(FpML("xml_swap.xml")); Document document(*doc); DataDocument * dataDocument = dynamic_cast (&document); xml_schema::namespace_infomap map; map[""].name = "http://www.fpml.org/2005/FpML-4-2"; map[""].schema = "fpml-main-4-2.xsd"; std::ostringstream oss; ::FpML_4_2::FpML(oss, *doc, map); std::string xml (oss.str ()); Now, as I need to manipulate the object "DataDocument" instead "Document", I do the cast, but this return null. xml file header is as follows: Since I had this problem then I created new functions, which I will return the DataDocument instead Document based on FpML functions. These functions work well. But in the header would have to be "xsi: type = DataDocument", but not shown this, it is because I am showing the Object DataDocument, so my question is whether it is possible to put this attribute in the header. Code: auto_ptr dDocument(FpML_DD("xml_swap.xml")); xml_schema::namespace_infomap map; map[""].name = "http://www.fpml.org/2005/FpML-4-2"; map[""].schema = "fpml-main-4-2.xsd"; std::ostringstream oss; ::FpML_4_2::FpML_DT(oss, *dDocument, map); std::string xml (oss.str ()); Show (Header): For the attention to this mail a thousand thanks Note: I attached the project that I have been using and xml file and xsd files. And xml file that I'm using is an example of the scheme FpML so it cannot be wrong file. Ahhh sorry for my English. The project is in VisuaStudio 2005 The XSD is xsd-3.3.0 with xerces-c.3.1.1 Saludos Cordiales Roberto Escobar From boris at codesynthesis.com Wed Apr 13 12:36:04 2011 From: boris at codesynthesis.com (Boris Kolpackov) Date: Wed Apr 13 12:39:22 2011 Subject: [xsd-users] How can I put the attribute xsi:type="DataDocument" in the root node? In-Reply-To: References: Message-ID: Hi Roberto, I've discarded your second post with a 24MB attachment. Please read the posting guidelines for more information on how to send code to the mailing list: http://www.codesynthesis.com/support/posting-guidelines.xhtml Roberto Escobar writes: > auto_ptr doc(FpML("xml_swap.xml")); > > > Document document(*doc); > > [...] > > Now, as I need to manipulate the object "DataDocument" instead > "Document", I do the cast, but this return null. Making a copy of a polymorphic object model is a bad idea. What happens here is you "slice" the object and loose all the dynamic type information. Instead you should always use references (and _clone() of you really need to make a copy): Document& document (*doc); > Since I had this problem then I created new functions, which I will > return the DataDocument instead Document based on FpML functions. These > functions work well. But in the header would have to be "xsi: type = > DataDocument", but not shown this, it is because I am showing the Object > DataDocument, so my question is whether it is possible to put this > attribute in the header. You should use the FpML() functions for serialization. If your document is not "sliced", you should get the xsi:type attribute automatically. Boris From rtc at cdl.uni-saarland.de Mon Apr 18 09:27:42 2011 From: rtc at cdl.uni-saarland.de (Peter Backes) Date: Mon Apr 18 09:27:48 2011 Subject: [xsd-users] xse:refType crashes C++/Parser with "Assertion `named ()' failed." Message-ID: <20110418132742.GA8790@cookie.cs.uni-saarland.de> Hi, Trying to generate C++/Parser code crashes XSD for anything that makes use of xse:refType. Example: rtc@cookie[pts/9](0) ~$ xsdcxx cxx-parser /usr/share/doc/xsdcxx/cxx/tree/dbxml/library.xsd xsdcxx: /build/buildd/xsd-3.2.0.1/xsd-3.2.0+dep/xsd-3.2.0-2/../install/include/xsd-frontend/semantic-graph/elements.hxx:438: XSDFrontend::SemanticGraph::Scope& XSDFrontend::SemanticGraph::Nameable::scope(): Assertion `named ()' failed. Aborted The problem does not occur with XSD 2.3.1. Regards Peter -- Peter Backes, rtc@cdl.uni-saarland.de Office 403 Compiler Design Lab, Saarland University Campus E1 3 Phone: +49-681-302-2454, Fax: -3065 66123 Saarbruecken http://rw4.cs.uni-saarland.de/people/rtc.shtml GERMANY From boris at codesynthesis.com Mon Apr 18 10:01:37 2011 From: boris at codesynthesis.com (Boris Kolpackov) Date: Mon Apr 18 10:05:26 2011 Subject: [xsd-users] xse:refType crashes C++/Parser with "Assertion `named ()' failed." In-Reply-To: <20110418132742.GA8790@cookie.cs.uni-saarland.de> References: <20110418132742.GA8790@cookie.cs.uni-saarland.de> Message-ID: Hi Peter, Peter Backes writes: > Trying to generate C++/Parser code crashes XSD for anything that makes > use of xse:refType. Thanks for the report, we will try to fix it for the next release. Note also that C++/Parser does not support "statically-types IDREF" feature for which xse:refType is used. So once we fix the crash, those attributes will simply be ignored. Boris From jackson.reese at gmail.com Mon Apr 18 21:53:18 2011 From: jackson.reese at gmail.com (Jack Reese) Date: Tue Apr 19 02:41:00 2011 Subject: [xsd-users] How to serialize character reference i.e. Message-ID: When serializing a string that contains "*foo &#**xD; bar*" the resulting string in the generated XML is converted to "*foo &#xD; bar*" (the "* amp;*" is added following the "*&*" - as if the "*&#**xD;*" character reference was not recognized. Thanks in advance, ~ jr From Cuneyt.Karadag at akbank.com Tue Apr 19 08:59:40 2011 From: Cuneyt.Karadag at akbank.com (Cuneyt.Karadag@akbank.com) Date: Tue Apr 19 08:59:49 2011 Subject: [xsd-users] FpML output is not being produced properly References: <4639C400EF7C314A92C03309C5B021E8038CB2B9D9@ABMEXCMBCLS1.akbankdmn.akb> <4639C400EF7C314A92C03309C5B021E8038CBEAF2C@ABMEXCMBCLS1.akbankdmn.akb> <4639C400EF7C314A92C03309C5B021E8038CBEBB4C@ABMEXCMBCLS1.akbankdmn.akb> Message-ID: <4639C400EF7C314A92C03309C5B021E8038CFD96F9@ABMEXCMBCLS1.akbankdmn.akb> Hi Boris, When I would like to generate my FpML file, the output is always being produced as I shown below after the statement fpml47::FpML(std::cout, doc); After push_back statements even I see the number of elements inside my object more than 0, the FpML output is not changing Do you have any idea what the problem is? Thanks. Cuneyt -----Original Message----- From: C?neyt Karada? (BT Uygulama Geli?tirme B?l?m?) Sent: Wednesday, April 13, 2011 4:48 PM To: 'Boris Kolpackov' Cc: xsd-users@codesynthesis.com; ?enel Hi?y?lmaz (BT Uygulama Geli?tirme B?l?m?) Subject: RE: [xsd-users] Compilation Error of Generated Files (FpML) Hi Boris, I have succeeded to compile my FpML library. First, I have extracted the xsd package with GNU tar and I have tried to run the example "hello" by creating the my makefile and it worked. Then, I have created the FpML .cc and .h files with the command "xsd" by running under the directory "bin". Finally I have created the makefile for the FpML library and compiled it successfully. Thanks so much for your helps. Cuneyt. -----Original Message----- From: Boris Kolpackov [mailto:boris@codesynthesis.com] Sent: Monday, April 11, 2011 6:49 PM To: C?neyt Karada? (BT Uygulama Geli?tirme B?l?m?) Cc: xsd-users@codesynthesis.com; ?enel Hi?y?lmaz (BT Uygulama Geli?tirme B?l?m?) Subject: Re: [xsd-users] Compilation Error of Generated Files (FpML) Hi Cuneyt, Cuneyt.Karadag@akbank.com writes: > /opt/SUNWspro/bin/CC -D_RWCONFIG=12d -features=no%localfor > -features=no%conststrings -library=no%rwtools7 -erroff=nonewline > -I. -I/export/home/misys/SUMMIT_V531/summit/sumbo_V5_3_1/include > -I/export/home/misys/SUMMIT_V531/summit/sumbo_V5_3_1/include/suthreads > -I/export/home/misys/SUMMIT_V531/summit/sumbo_V5_3_1/include/sutools > -I/export/home/misys/SUMMIT_V531/summit/sumbo_V5_3_1/ie > -I/export/home/misys/SUMMIT_V531/summit/CORE_AND_PATCHES_V5_3_1/include > -I/export/home/misys/SUMMIT_V531/summit/CORE_AND_PATCHES_V5_3_1/include/suthreads > -I/export/home/misys/SUMMIT_V531/summit/CORE_AND_PATCHES_V5_3_1/include/sutools > -I/export/home/misys/SUMMIT_V531/summit/CORE_AND_PATCHES_V5_3_1/ie > -I/opt/SUNWspro/include/CC > -I/export/home/misys/SUMMIT_V531/summit/sumbo_V5_3_1/include/xml > -I/export/home/misys/SUMMIT_V531/summit/CORE_AND_PATCHES_V5_3_1/include/xml > -I/export/home/misys/SUMMIT_V531/summittools/xercesc-2_8_0-icu3.8.1-Sol10-Studio11/include > -I/export/home/misys/SUMMIT_V531/summittools/xercesc-2_8_0-icu3.8.1-Sol10-Studio11/include/xercesc > -g -DSU_FEAT005 -DSU_TTRS -DSU_MKV -DSU_SOLARIS_8 -DRELEASE5 -DDEBUG > -DRW_NO_OVERLOAD_SCHAR -DSUMMITBASE=\"V51\" -c -KPIC fpml-main-4-7.cc > > ".../xsd/cxx/xml/dom/auto-ptr.hxx", line 4: Error: "," expected instead > of "namespace". These errors are strange. If you look at xsd/cxx/xml/dom/auto-ptr.hxx, line 4, there is mentioning of namespace on that line. Here are some of the thing that I suggest that you try: 1. First make sure you really are using Sun CC 12 by running this command: /opt/SUNWspro/bin/CC -V 2. Unpack the xsd package with gtar (GNU tar) instead of Sun tar to make sure nothing is corrupted. 3. Try to build an example (e.g., 'hello') in the XSD distribution: gmake CXX=/opt/SUNWspro/bin/CC 4. If the example builds fine, then you may want to try to remove some of the options from the above command line while compiling fpml-main-4-7.cc. In particular the -features ones. Boris ________________________________ [http://www.akbank.com/images/disclaimer.jpg] Bu e-posta ve muhtemel eklerinde verilen bilgiler ki?iye ?zel ve gizli olup, yaln?zca mesajda belirlenen al?c? ile ilgilidir. Size yanl??l?kla ula?m??sa l?tfen g?ndericiye bilgi veriniz, mesaj? siliniz ve i?eri?ini ba?ka bir ki?iye a??klamay?n?z, herhangi bir ortama kopyalamay?n?z. Bu mesaj aksi s?zle?me ile belirtilmedik?e herhangi bir finansal i?lem teklifi, al?m?, sat?m? veya herhangi bir havalenin teyidi gibi bankac?l?k i?lemi yap?lmas? amac?n? ta??mamaktad?r. Verilen t?m bilgilerin do?rulu?u ve b?t?nl???n?n garantisi verilmemekte olup, ?nceden bildirilmeksizin de?i?tirilebilecektir. Bu mesaj?n i?eri?i Bankam?z?n resmi g?r??lerini yans?tmayabilece?inden Akbank T.A.?. hi?bir hukuki sorumlulu?u kabul etmez. From boris at codesynthesis.com Tue Apr 19 10:36:00 2011 From: boris at codesynthesis.com (Boris Kolpackov) Date: Tue Apr 19 10:39:52 2011 Subject: [xsd-users] How to serialize character reference i.e. In-Reply-To: References: Message-ID: Hi Jack, Jack Reese writes: > When serializing a string that contains "*foo &#**xD; bar*" the resulting > string in the generated XML is converted to "*foo &#xD; bar*" (the "* > amp;*" is added following the "*&*" - as if the "*&#**xD;*" character > reference was not recognized. You need to use the actual character value in UTF-8 (unless you changed the encoding with --char-encoding) instead of a char reference. The serializer will automatically convert it to a reference if necessary. Boris From jackson.reese at gmail.com Tue Apr 19 12:15:17 2011 From: jackson.reese at gmail.com (Jack Reese) Date: Tue Apr 19 12:15:25 2011 Subject: [xsd-users] How to serialize character reference i.e. In-Reply-To: References: Message-ID: Excellent - thanks Boris. Substituting "\r" in place of the character constant works perfectly for serialization. However, when I now parse the resulting XML, the character constant seems to be dropped out and I'm just left with the string and no character constant. Is there something else I need to do in order to recover the carriage return upon parsing? Thanks again, ~ jr On Tue, Apr 19, 2011 at 8:36 AM, Boris Kolpackov wrote: > Hi Jack, > > Jack Reese writes: > > > When serializing a string that contains "*foo &#**xD; bar*" the resulting > > string in the generated XML is converted to "*foo &#xD; bar*" (the "* > > amp;*" is added following the "*&*" - as if the "*&#**xD;*" character > > reference was not recognized. > > You need to use the actual character value in UTF-8 (unless you changed > the encoding with --char-encoding) instead of a char reference. The > serializer will automatically convert it to a reference if necessary. > > Boris > From jackson.reese at gmail.com Tue Apr 19 13:15:36 2011 From: jackson.reese at gmail.com (Jack Reese) Date: Tue Apr 19 13:15:42 2011 Subject: [xsd-users] How to serialize character reference i.e. In-Reply-To: References: Message-ID: Please disregard the question below (regarding parsing character constants): Here's the solution - in my previous experiments to write the character constant, I had set the *string* to *normalizedString* which was causing the white space character constants to be stripped during parsing. Switching the type back to string has resulted in the desired/intended effect and I can now round-trip the character constants from serialization through parsing. Thanks again for the help Boris... ~ jr On Tue, Apr 19, 2011 at 10:15 AM, Jack Reese wrote: > Excellent - thanks Boris. Substituting "\r" in place of the character > constant works perfectly for serialization. > > However, when I now parse the resulting XML, the character constant > seems to be dropped out and I'm just left with the string and no character > constant. > > Is there something else I need to do in order to recover the carriage > return upon parsing? > > Thanks again, > > ~ jr > > > > On Tue, Apr 19, 2011 at 8:36 AM, Boris Kolpackov wrote: > >> Hi Jack, >> >> Jack Reese writes: >> >> > When serializing a string that contains "*foo &#**xD; bar*" the >> resulting >> > string in the generated XML is converted to "*foo &#xD; bar*" (the >> "* >> > amp;*" is added following the "*&*" - as if the "*&#**xD;*" character >> > reference was not recognized. >> >> You need to use the actual character value in UTF-8 (unless you changed >> the encoding with --char-encoding) instead of a char reference. The >> serializer will automatically convert it to a reference if necessary. >> >> Boris >> > > From victor.manoliu at yahoo.com Wed Apr 20 03:32:38 2011 From: victor.manoliu at yahoo.com (Adrian Victor Manoliu) Date: Wed Apr 20 03:32:45 2011 Subject: [xsd-users] CityGML deserialization - tag In-Reply-To: References: <995783.93915.qm@web45504.mail.sp1.yahoo.com> <399571.66645.qm@web45511.mail.sp1.yahoo.com> <392645.14182.qm@web45503.mail.sp1.yahoo.com> Message-ID: <226262.58612.qm@web45510.mail.sp1.yahoo.com> Hello, After a long pause I've returned to my CityGML project and everything started to make sense quicker than I expected. Thank you for your help, it helped me realise which way to go. To sum up what I've written below (in case you don't have the time to read everything), the CityGML serialization works, however one tag is not generated properly - is always replaced by , perhaps a problem caused by substitution groups. First, a brief reminder on how to actually serialize CityGML tags. It took me some time to understand the CityGML schema hierarchies and also the way serialization works. For example, in the previous posts I was trying to iterate on the _GenericApplicationPropertyOf... fields, and these are never really used, at least not in my case. The objects to use were the feature collection members: citygml::CityModelType iCityModel ---> the root object citygml::CityModelType::featureMember_sequence iSequence ---> its members gml::FeaturePropertyType iFeatureProperty ---> one item building::BuildingType iBuilding ---> an example of an object, in this case a building Supposing the building has been created and personalised: iFeatureProperty._Feature(iBuilding) iSequence.push_back(iFeatureProperty); Other objects can be added the same way as the building and at the end the sequence is assigned to the city model: iCityModel.featureMember(iSequence); Afterwards, the iteration and extraction of items and attributes is basically the reverse procedure. Right now I'm having another issue. All the tags are generated the way they should be, except for one - the rather important tag. This is probably linked to the old substitution group story, since in cityGMLBase.xsd this item is defined like this: The cityObjectMember is actually the wrapper for each child of CityModel representing city objects (and not properties like appearance or other). Now, this differs from other items, for example the appearance item found at the same level in the hierarchy is like this: When comparing these two in the generated .cxx files: cityGMLBase.cxx: static const ::xsd::cxx::tree::element_factory_initializer< 0, char, ::gml::FeaturePropertyType > _xsd_cityObjectMember_element_factory_init ( "featureMember", "http://www.opengis.net/gml", "cityObjectMember", "http://www.opengis.net/citygml/1.0"); and appearance.cxx: static const ::xsd::cxx::tree::element_factory_initializer< 0, char, ::citygml::appearance::AppearancePropertyType > _xsd_appearanceMember_element_factory_init ( "featureMember", "http://www.opengis.net/gml", "appearanceMember", "http://www.opengis.net/appearance/1.0"); Considering iSequence to be the feature sequence of the city model, an tag with an child is generated well whenever I do: appearance::AppearancePropertyType* iAppearanceProperty = new appearance::AppearancePropertyType(); appearance::AppearanceType* iAppearance = new appearance::AppearanceType(); [...appearance/texture creation...] iAppearanceProperty->Appearance(*iAppearance); iSequence->push_back(*iAppearanceProperty); However, when I try: building::BuildingType* iBuilding = new building::BuildingType(); [...building creation...] citygml::CityModelType::featureMember_type* iFeatureMember = new citygml::CityModelType::featureMember_type(); iFeatureMember->_Feature(*iBuilding); iSequence->push_back(*iFeatureMember); the result is a tag. If I remove schema locations from the namespace map, the tag becomes something like: , with p2 being the unknown gml namespace If I try: citygml::CityModelType::featureMember_type* iFeatureMember = new citygml::CityModelType::featureMember_type(); // this first line acts the same as and can be replaced by: FeaturePropertyType* iFeatureMember = new FeaturePropertyType(); citygml::CityModelType::featureMember_type::_Feature_type* iFeature = new citygml::CityModelType::featureMember_type::_Feature_type(); iFeatureMember->_Feature(*iFeature); iSequence->push_back(*iFeatureMember); upon creating this empty dummy object the tag remains . Please let me know if there is a way to obtain the right tag. Thank you. Victor ________________________________ From: Boris Kolpackov To: Adrian Victor Manoliu Cc: xsd-users@codesynthesis.com Sent: Mon, February 28, 2011 3:48:35 PM Subject: Re: [xsd-users] CityGML deserialization - CityModel generation Hi Adrian, Adrian Victor Manoliu writes: > const std::string fName = "waldbruecke_v1.0.0.gml"; > std::auto_ptr iCity(CityModel(fName, flags.dont_validate)); > > [...] > > Now, once I have iCity, I simply want to iterate over its elements, that > is the Buildings, BuildingParts etc. by doing something like this (I have > been doing this from the start): > > CityModelType::_GenericApplicationPropertyOfCityModel_const_iterator ci; > > for (ci = iCity->_GenericApplicationPropertyOfCityModel().begin(); > ci != iCity->_GenericApplicationPropertyOfCityModel().end(); > ++ci) > { > [...] > } > > however in this case I don't see how I could know what type to cast these > objects to You need to study the GML/CityGML schemas to see which concrete elements (and types) substitute which abstract elements. Here is an example body of the above for-loop. Hopefully, it will get you started: for (ci = iCity->_GenericApplicationPropertyOfCityModel().begin(); ci != iCity->_GenericApplicationPropertyOfCityModel().end(); ++ci) { xml_schema::type& x (*ci); if (gml::FeaturePropertyType* cityObjectMember = dynamic_cast (&x)) { gml::FeaturePropertyType::_Feature_const_iterator fi; for (fi = cityObjectMember->_Feature ().begin (); fi != cityObjectMember->_Feature ().end (); ++fi) { gml::AbstractFeatureType& f (*fi); if (citygml::building::BuildingType* b = dynamic_cast (&f); { // We've got a building. } else if (...) { ... } } } } Boris From victor.manoliu at yahoo.com Wed Apr 20 03:54:23 2011 From: victor.manoliu at yahoo.com (Adrian Victor Manoliu) Date: Wed Apr 20 03:54:31 2011 Subject: [xsd-users] CityGML deserialization - tag [Corrected] In-Reply-To: References: <995783.93915.qm@web45504.mail.sp1.yahoo.com> <399571.66645.qm@web45511.mail.sp1.yahoo.com> <392645.14182.qm@web45503.mail.sp1.yahoo.com> Message-ID: <154191.35512.qm@web45501.mail.sp1.yahoo.com> Hello, After a long pause I've returned to my CityGML project and everything started to make sense quicker than I expected. Thank you for your help, it helped me realise which way to go. To sum up what I've written below (in case you don't have the time to read everything), the CityGML serialization works, however one tag is not generated properly - is always replaced by , perhaps a problem caused by substitution groups. First, a brief reminder on how to actually serialize CityGML tags. It took me some time to understand the CityGML schema hierarchies and also the way serialization works. For example, in the previous posts I was trying to iterate on the _GenericApplicationPropertyOf... fields, and these are never really used, at least not in my case. The objects to use were the feature collection members: citygml::CityModelType iCityModel ---> the root object citygml::CityModelType::featureMember_sequence iSequence ---> its members gml::FeaturePropertyType iFeatureProperty ---> one item building::BuildingType iBuilding ---> an example of an object, in this case a building Supposing the building has been created and personalised: iFeatureProperty._Feature(iBuilding) iSequence.push_back(iFeatureProperty); Other objects can be added the same way as the building and at the end the sequence is assigned to the city model: iCityModel.featureMember(iSequence); Afterwards, the iteration and extraction of items and attributes is basically the reverse procedure. Right now I'm having another issue. All the tags are generated the way they should be, except for one - the rather important tag. This is probably linked to the old substitution group story, since in cityGMLBase.xsd this item is defined like this: The cityObjectMember is actually the wrapper for each child of CityModel representing city objects (and not properties like appearance or other). Now, this differs from other items, for example the appearance item found at the same level in the hierarchy is like this: When comparing these two in the generated .cxx files: cityGMLBase.cxx: static const ::xsd::cxx::tree::element_factory_initializer< 0, char, ::gml::FeaturePropertyType > _xsd_cityObjectMember_element_factory_init ( "featureMember", "http://www.opengis.net/gml", "cityObjectMember", "http://www.opengis.net/citygml/1.0"); and appearance.cxx: static const ::xsd::cxx::tree::element_factory_initializer< 0, char, ::citygml::appearance::AppearancePropertyType > _xsd_appearanceMember_element_factory_init ( "featureMember", "http://www.opengis.net/gml", "appearanceMember", "http://www.opengis.net/appearance/1.0"); Considering iSequence to be the feature sequence of the city model, an tag with an child is generated well whenever I do: appearance::AppearancePropertyType* iAppearanceProperty = new appearance::AppearancePropertyType(); appearance::AppearanceType* iAppearance = new appearance::AppearanceType(); [...appearance/texture creation...] iAppearanceProperty->Appearance(*iAppearance); iSequence->push_back(*iAppearanceProperty); However, when I try: building::BuildingType* iBuilding = new building::BuildingType(); [...building creation...] citygml::CityModelType::featureMember_type* iFeatureMember = new citygml::CityModelType::featureMember_type(); iFeatureMember->_Feature(*iBuilding); iSequence->push_back(*iFeatureMember); the result is a tag. If I remove schema locations from the namespace map, the tag becomes something like: > with p2 being the unknown gml namespace, so it actually takes the namespace of the feature. If I try: citygml::CityModelType::featureMember_type* iFeatureMember = new citygml::CityModelType::featureMember_type(); // this first line acts the same as and can be replaced by: FeaturePropertyType* iFeatureMember = new FeaturePropertyType(); citygml::CityModelType::featureMember_type::_Feature_type* iFeature = new citygml::CityModelType::featureMember_type::_Feature_type(); iFeatureMember->_Feature(*iFeature); iSequence->push_back(*iFeatureMember); upon creating this empty dummy object the tag remains . Please let me know if there is a way to obtain the right tag. Thank you. Victor ________________________________ From: Boris Kolpackov To: Adrian Victor Manoliu Cc: xsd-users@codesynthesis.com Sent: Mon, February 28, 2011 3:48:35 PM Subject: Re: [xsd-users] CityGML deserialization - CityModel generation Hi Adrian, Adrian Victor Manoliu writes: > const std::string fName = "waldbruecke_v1.0.0.gml"; > std::auto_ptr iCity(CityModel(fName, flags.dont_validate)); > > [...] > > Now, once I have iCity, I simply want to iterate over its elements, that > is the Buildings, BuildingParts etc. by doing something like this (I have > been doing this from the start): > > CityModelType::_GenericApplicationPropertyOfCityModel_const_iterator ci; > > for (ci = iCity->_GenericApplicationPropertyOfCityModel().begin(); > ci != iCity->_GenericApplicationPropertyOfCityModel().end(); > ++ci) > { > [...] > } > > however in this case I don't see how I could know what type to cast these > objects to You need to study the GML/CityGML schemas to see which concrete elements (and types) substitute which abstract elements. Here is an example body of the above for-loop. Hopefully, it will get you started: for (ci = iCity->_GenericApplicationPropertyOfCityModel().begin(); ci != iCity->_GenericApplicationPropertyOfCityModel().end(); ++ci) { xml_schema::type& x (*ci); if (gml::FeaturePropertyType* cityObjectMember = dynamic_cast (&x)) { gml::FeaturePropertyType::_Feature_const_iterator fi; for (fi = cityObjectMember->_Feature ().begin (); fi != cityObjectMember->_Feature ().end (); ++fi) { gml::AbstractFeatureType& f (*fi); if (citygml::building::BuildingType* b = dynamic_cast (&f); { // We've got a building. } else if (...) { ... } } } } Boris From boris at codesynthesis.com Wed Apr 20 10:52:54 2011 From: boris at codesynthesis.com (Boris Kolpackov) Date: Wed Apr 20 10:56:59 2011 Subject: [xsd-users] Re: FpML output is not being produced properly In-Reply-To: <4639C400EF7C314A92C03309C5B021E8038CFD96F9@ABMEXCMBCLS1.akbankdmn.akb> References: <4639C400EF7C314A92C03309C5B021E8038CB2B9D9@ABMEXCMBCLS1.akbankdmn.akb> <4639C400EF7C314A92C03309C5B021E8038CBEAF2C@ABMEXCMBCLS1.akbankdmn.akb> <4639C400EF7C314A92C03309C5B021E8038CBEBB4C@ABMEXCMBCLS1.akbankdmn.akb> <4639C400EF7C314A92C03309C5B021E8038CFD96F9@ABMEXCMBCLS1.akbankdmn.akb> Message-ID: Hi Cuneyt, Cuneyt.Karadag@akbank.com writes: > When I would like to generate my FpML file, the output is always being > produced as I shown below after the statement > > fpml47::FpML(std::cout, doc); > > > FpML and XSD are used successfully by quite a few people, both for reading and writing. Can you show a small code example that creates the document? As well as the XSD compiler options you used to compile the schemas. Boris From Cuneyt.Karadag at akbank.com Thu Apr 21 03:53:10 2011 From: Cuneyt.Karadag at akbank.com (Cuneyt.Karadag@akbank.com) Date: Thu Apr 21 03:53:39 2011 Subject: [xsd-users] RE: FpML output is not being produced properly In-Reply-To: References: <4639C400EF7C314A92C03309C5B021E8038CB2B9D9@ABMEXCMBCLS1.akbankdmn.akb> <4639C400EF7C314A92C03309C5B021E8038CBEAF2C@ABMEXCMBCLS1.akbankdmn.akb> <4639C400EF7C314A92C03309C5B021E8038CBEBB4C@ABMEXCMBCLS1.akbankdmn.akb> <4639C400EF7C314A92C03309C5B021E8038CFD96F9@ABMEXCMBCLS1.akbankdmn.akb> Message-ID: <4639C400EF7C314A92C03309C5B021E8038D095B0A@ABMEXCMBCLS1.akbankdmn.akb> Hi Boris, I think I have a problem with serialization part of the xsd generated code. First I have generated my xsd files without giving parameter "--generate-serialization" and "--type-naming ucc". You can see the attached file. But converting into a string was not working. Then I have added the different parameters. When I generate the xsd file with serialization parameter I am always getting errors below xsd cxx-tree --hxx-suffix .h --cxx-suffix .cc --generate-serialization --type-naming ucc --namespace-map http://www.fpml.org/2009/FpML-4-7=fpml47 --namespace-map http://www.w3.org/2000/09/xmldsig#=xmldsig xmldsig-core-schema.xsd .../xsd/cxx/tree/serialization.txx", line 678: Error: The operation "DOMAttr< writes: > When I would like to generate my FpML file, the output is always being > produced as I shown below after the statement > > fpml47::FpML(std::cout, doc); > > > FpML and XSD are used successfully by quite a few people, both for reading and writing. Can you show a small code example that creates the document? As well as the XSD compiler options you used to compile the schemas. Boris ________________________________ [http://www.akbank.com/images/disclaimer.jpg] Bu e-posta ve muhtemel eklerinde verilen bilgiler ki?iye ?zel ve gizli olup, yaln?zca mesajda belirlenen al?c? ile ilgilidir. Size yanl??l?kla ula?m??sa l?tfen g?ndericiye bilgi veriniz, mesaj? siliniz ve i?eri?ini ba?ka bir ki?iye a??klamay?n?z, herhangi bir ortama kopyalamay?n?z. Bu mesaj aksi s?zle?me ile belirtilmedik?e herhangi bir finansal i?lem teklifi, al?m?, sat?m? veya herhangi bir havalenin teyidi gibi bankac?l?k i?lemi yap?lmas? amac?n? ta??mamaktad?r. Verilen t?m bilgilerin do?rulu?u ve b?t?nl???n?n garantisi verilmemekte olup, ?nceden bildirilmeksizin de?i?tirilebilecektir. Bu mesaj?n i?eri?i Bankam?z?n resmi g?r??lerini yans?tmayabilece?inden Akbank T.A.?. hi?bir hukuki sorumlulu?u kabul etmez. -------------- next part -------------- xsd cxx-tree --cxx-suffix .cc --hxx-suffix .h --namespace-map http://www.fpml.org/2009/FpML-4-7=fpml47 fpml-allocation-4-7.xsd xsd cxx-tree --cxx-suffix .cc --hxx-suffix .h --namespace-map http://www.fpml.org/2009/FpML-4-7=fpml47 fpml-asset-4-7.xsd xsd cxx-tree --cxx-suffix .cc --hxx-suffix .h --namespace-map http://www.fpml.org/2009/FpML-4-7=fpml47 fpml-bond-option-4-7.xsd xsd cxx-tree --cxx-suffix .cc --hxx-suffix .h --namespace-map http://www.fpml.org/2009/FpML-4-7=fpml47 fpml-cd-4-7.xsd xsd cxx-tree --cxx-suffix .cc --hxx-suffix .h --namespace-map http://www.fpml.org/2009/FpML-4-7=fpml47 fpml-com-4-7.xsd xsd cxx-tree --cxx-suffix .cc --hxx-suffix .h --namespace-map http://www.fpml.org/2009/FpML-4-7=fpml47 fpml-confirmation-4-7.xsd xsd cxx-tree --cxx-suffix .cc --hxx-suffix .h --namespace-map http://www.fpml.org/2009/FpML-4-7=fpml47 fpml-contract-notification-4-7.xsd xsd cxx-tree --cxx-suffix .cc --hxx-suffix .h --namespace-map http://www.fpml.org/2009/FpML-4-7=fpml47 fpml-correlation-swaps-4-7.xsd xsd cxx-tree --cxx-suffix .cc --hxx-suffix .h --namespace-map http://www.fpml.org/2009/FpML-4-7=fpml47 fpml-credit-event-notification-4-7.xsd xsd cxx-tree --cxx-suffix .cc --hxx-suffix .h --namespace-map http://www.fpml.org/2009/FpML-4-7=fpml47 fpml-dividend-swaps-4-7.xsd xsd cxx-tree --cxx-suffix .cc --hxx-suffix .h --namespace-map http://www.fpml.org/2009/FpML-4-7=fpml47 fpml-doc-4-7.xsd xsd cxx-tree --cxx-suffix .cc --hxx-suffix .h --namespace-map http://www.fpml.org/2009/FpML-4-7=fpml47 fpml-enum-4-7.xsd xsd cxx-tree --cxx-suffix .cc --hxx-suffix .h --namespace-map http://www.fpml.org/2009/FpML-4-7=fpml47 fpml-eq-shared-4-7.xsd xsd cxx-tree --cxx-suffix .cc --hxx-suffix .h --namespace-map http://www.fpml.org/2009/FpML-4-7=fpml47 fpml-eqd-4-7.xsd xsd cxx-tree --cxx-suffix .cc --hxx-suffix .h --namespace-map http://www.fpml.org/2009/FpML-4-7=fpml47 fpml-fx-4-7.xsd xsd cxx-tree --cxx-suffix .cc --hxx-suffix .h --namespace-map http://www.fpml.org/2009/FpML-4-7=fpml47 fpml-ird-4-7.xsd xsd cxx-tree --cxx-suffix .cc --hxx-suffix .h --namespace-map http://www.fpml.org/2009/FpML-4-7=fpml47 fpml-loan-4-7.xsd xsd cxx-tree --cxx-suffix .cc --hxx-suffix .h --namespace-map http://www.fpml.org/2009/FpML-4-7=fpml47 fpml-main-4-7.xsd xsd cxx-tree --cxx-suffix .cc --hxx-suffix .h --namespace-map http://www.fpml.org/2009/FpML-4-7=fpml47 fpml-matching-status-4-7.xsd xsd cxx-tree --cxx-suffix .cc --hxx-suffix .h --namespace-map http://www.fpml.org/2009/FpML-4-7=fpml47 fpml-mktenv-4-7.xsd xsd cxx-tree --cxx-suffix .cc --hxx-suffix .h --namespace-map http://www.fpml.org/2009/FpML-4-7=fpml47 fpml-msg-4-7.xsd xsd cxx-tree --cxx-suffix .cc --hxx-suffix .h --namespace-map http://www.fpml.org/2009/FpML-4-7=fpml47 fpml-option-shared-4-7.xsd xsd cxx-tree --cxx-suffix .cc --hxx-suffix .h --namespace-map http://www.fpml.org/2009/FpML-4-7=fpml47 fpml-posttrade-4-7.xsd xsd cxx-tree --cxx-suffix .cc --hxx-suffix .h --namespace-map http://www.fpml.org/2009/FpML-4-7=fpml47 fpml-posttrade-confirmation-4-7.xsd xsd cxx-tree --cxx-suffix .cc --hxx-suffix .h --namespace-map http://www.fpml.org/2009/FpML-4-7=fpml47 fpml-posttrade-execution-4-7.xsd xsd cxx-tree --cxx-suffix .cc --hxx-suffix .h --namespace-map http://www.fpml.org/2009/FpML-4-7=fpml47 fpml-posttrade-negotiation-4-7.xsd xsd cxx-tree --cxx-suffix .cc --hxx-suffix .h --namespace-map http://www.fpml.org/2009/FpML-4-7=fpml47 fpml-pretrade-4-7.xsd xsd cxx-tree --cxx-suffix .cc --hxx-suffix .h --namespace-map http://www.fpml.org/2009/FpML-4-7=fpml47 fpml-reconciliation-4-7.xsd xsd cxx-tree --cxx-suffix .cc --hxx-suffix .h --namespace-map http://www.fpml.org/2009/FpML-4-7=fpml47 fpml-reporting-4-7.xsd xsd cxx-tree --cxx-suffix .cc --hxx-suffix .h --namespace-map http://www.fpml.org/2009/FpML-4-7=fpml47 fpml-return-swaps-4-7.xsd xsd cxx-tree --cxx-suffix .cc --hxx-suffix .h --namespace-map http://www.fpml.org/2009/FpML-4-7=fpml47 fpml-riskdef-4-7.xsd xsd cxx-tree --cxx-suffix .cc --hxx-suffix .h --namespace-map http://www.fpml.org/2009/FpML-4-7=fpml47 fpml-shared-4-7.xsd xsd cxx-tree --cxx-suffix .cc --hxx-suffix .h --namespace-map http://www.fpml.org/2009/FpML-4-7=fpml47 fpml-trade-notification-4-7.xsd xsd cxx-tree --cxx-suffix .cc --hxx-suffix .h --namespace-map http://www.fpml.org/2009/FpML-4-7=fpml47 fpml-tradeexec-4-7.xsd xsd cxx-tree --cxx-suffix .cc --hxx-suffix .h --namespace-map http://www.fpml.org/2009/FpML-4-7=fpml47 fpml-valuation-4-7.xsd xsd cxx-tree --cxx-suffix .cc --hxx-suffix .h --namespace-map http://www.fpml.org/2009/FpML-4-7=fpml47 fpml-variance-swaps-4-7.xsd xsd cxx-tree --cxx-suffix .cc --hxx-suffix .h --namespace-map http://www.fpml.org/2009/FpML-4-7=fpml47 xmldsig-core-schema.xsd -------------- next part -------------- std::string FPML_VERSION = "4-7"; fpml47::ValuationDocument doc(FPML_VERSION); fpml47::Party cptyA("cptyA"); fpml47::Party cptyB("cptyB"); fpml47::PartyOrAccountReference payerReference("cptyA"); fpml47::PartyOrAccountReference receiverReference("cptyB"); fpml47::Payment payment1(payerReference, receiverReference, fpml47::Money("USD", 100)); fpml47::Payment payment2(receiverReference, payerReference, fpml47::Money("EUR", 200)); fpml47::FxLeg fxLeg(payment1, payment2, fpml47::ExchangeRate(fpml47::QuotedCurrencyPair(fpml47::Currency("USD"), fpml47::Currency("EUR"), fpml47::QuoteBasisEnum::Currency1PerCurrency2), 0.75)); fpml47::TradeHeader header(fpml47::IdentifiedDate(xml_schema::date(2011, 01, 01))); fpml47::Trade trade(header, fxLeg); doc.trade().push_back(trade); doc.party().push_back(cptyA); doc.party().push_back(cptyB); fpml47::FpML(std::cout, doc); From boris at codesynthesis.com Fri Apr 22 10:30:37 2011 From: boris at codesynthesis.com (Boris Kolpackov) Date: Fri Apr 22 10:34:50 2011 Subject: [xsd-users] CityGML deserialization - tag In-Reply-To: <226262.58612.qm@web45510.mail.sp1.yahoo.com> References: <995783.93915.qm@web45504.mail.sp1.yahoo.com> <399571.66645.qm@web45511.mail.sp1.yahoo.com> <392645.14182.qm@web45503.mail.sp1.yahoo.com> <226262.58612.qm@web45510.mail.sp1.yahoo.com> Message-ID: Hi, Adrian Victor Manoliu writes: > To sum up what I've written below (in case you don't have the time to > read everything), the CityGML serialization works, however one tag is > not generated properly - is always replaced by > , perhaps a problem caused by substitution groups. The solution is described on the CityGML wiki page: http://wiki.codesynthesis.com/Schemas/CityGML Boris From boris at codesynthesis.com Fri Apr 22 10:40:25 2011 From: boris at codesynthesis.com (Boris Kolpackov) Date: Fri Apr 22 10:44:43 2011 Subject: [xsd-users] Re: FpML output is not being produced properly In-Reply-To: <4639C400EF7C314A92C03309C5B021E8038D095B0A@ABMEXCMBCLS1.akbankdmn.akb> References: <4639C400EF7C314A92C03309C5B021E8038CB2B9D9@ABMEXCMBCLS1.akbankdmn.akb> <4639C400EF7C314A92C03309C5B021E8038CBEAF2C@ABMEXCMBCLS1.akbankdmn.akb> <4639C400EF7C314A92C03309C5B021E8038CBEBB4C@ABMEXCMBCLS1.akbankdmn.akb> <4639C400EF7C314A92C03309C5B021E8038CFD96F9@ABMEXCMBCLS1.akbankdmn.akb> <4639C400EF7C314A92C03309C5B021E8038D095B0A@ABMEXCMBCLS1.akbankdmn.akb> Message-ID: Hi Cuneyt, Cuneyt.Karadag@akbank.com writes: > First I have generated my xsd files without giving parameter > "--generate-serialization" and "--type-naming ucc". You need --generate-serialization in order for serialization to work. > .../xsd/cxx/tree/serialization.txx", line 678: Error: The operation > "DOMAttr< > .../xsd/cxx/tree/serialization.txx", line 671: Error: The operation > "DOMElement< References: <4639C400EF7C314A92C03309C5B021E8038CB2B9D9@ABMEXCMBCLS1.akbankdmn.akb> <4639C400EF7C314A92C03309C5B021E8038CBEAF2C@ABMEXCMBCLS1.akbankdmn.akb> <4639C400EF7C314A92C03309C5B021E8038CBEBB4C@ABMEXCMBCLS1.akbankdmn.akb> <4639C400EF7C314A92C03309C5B021E8038CFD96F9@ABMEXCMBCLS1.akbankdmn.akb> <4639C400EF7C314A92C03309C5B021E8038D095B0A@ABMEXCMBCLS1.akbankdmn.akb> Message-ID: <4639C400EF7C314A92C03309C5B021E8038D194886@ABMEXCMBCLS1.akbankdmn.akb> Hi Boris, sumbo@hazdev1% CC -V CC: Sun C++ 5.10 SunOS_sparc 2009/06/03 Usage: CC [ options ] files. Use 'CC -flags' for details sumbo@hazdev1% sumbo@hazdev1% uname -a SunOS hazdev1 5.10 Generic_138888-01 sun4u sparc SUNW,SPARC-Enterprise sumbo@hazdev1% Thanks for your helps. Cuneyt. -----Original Message----- From: Boris Kolpackov [mailto:boris@codesynthesis.com] Sent: Friday, April 22, 2011 5:40 PM To: C?neyt Karada? (BT Uygulama Geli?tirme B?l?m?) Cc: xsd-users@codesynthesis.com; ?enel Hi?y?lmaz (BT Uygulama Geli?tirme B?l?m?) Subject: Re: FpML output is not being produced properly Hi Cuneyt, Cuneyt.Karadag@akbank.com writes: > First I have generated my xsd files without giving parameter > "--generate-serialization" and "--type-naming ucc". You need --generate-serialization in order for serialization to work. > .../xsd/cxx/tree/serialization.txx", line 678: Error: The operation > "DOMAttr< > .../xsd/cxx/tree/serialization.txx", line 671: Error: The operation > "DOMElement< Bu e-posta ve muhtemel eklerinde verilen bilgiler ki?iye ?zel ve gizli olup, yaln?zca mesajda belirlenen al?c? ile ilgilidir. Size yanl??l?kla ula?m??sa l?tfen g?ndericiye bilgi veriniz, mesaj? siliniz ve i?eri?ini ba?ka bir ki?iye a??klamay?n?z, herhangi bir ortama kopyalamay?n?z. Bu mesaj aksi s?zle?me ile belirtilmedik?e herhangi bir finansal i?lem teklifi, al?m?, sat?m? veya herhangi bir havalenin teyidi gibi bankac?l?k i?lemi yap?lmas? amac?n? ta??mamaktad?r. Verilen t?m bilgilerin do?rulu?u ve b?t?nl???n?n garantisi verilmemekte olup, ?nceden bildirilmeksizin de?i?tirilebilecektir. Bu mesaj?n i?eri?i Bankam?z?n resmi g?r??lerini yans?tmayabilece?inden Akbank T.A.?. hi?bir hukuki sorumlulu?u kabul etmez. From mburnham at gblsys.com Tue Apr 26 13:48:02 2011 From: mburnham at gblsys.com (Matt Burnham) Date: Tue Apr 26 13:48:13 2011 Subject: [xsd-users] Element names with invalid C++ preprocessor characters Message-ID: I have a schema that the root element contains invalid C++ preprocessor characters (specifically '-') and can't figure out how to get the parse and serialize functions to get generated. I get the classes OK, but no parse and serialize functions. My schema is something like this: From boris at codesynthesis.com Tue Apr 26 15:03:52 2011 From: boris at codesynthesis.com (Boris Kolpackov) Date: Tue Apr 26 14:46:28 2011 Subject: [xsd-users] Element names with invalid C++ preprocessor characters In-Reply-To: References: Message-ID: Hi Matt, Matt Burnham writes: > I have a schema that the root element contains invalid C++ preprocessor > characters (specifically '-') and can't figure out how to get the parse > and serialize functions to get generated. I get the classes OK, but no > parse and serialize functions. > > My schema is something like this: > > The parsing/serialization functions will be named App_Configuration (or App_Configuration_ if the App-Configuration element is of anonymous type). For example, if I modify the hello.xsd schema from hello example and rename the root element to hell-o, I get hell_o for parsing functions. Boris From Cuneyt.Karadag at akbank.com Wed Apr 27 04:43:36 2011 From: Cuneyt.Karadag at akbank.com (Cuneyt.Karadag@akbank.com) Date: Wed Apr 27 04:43:50 2011 Subject: [xsd-users] RE: FpML output is not being produced properly References: <4639C400EF7C314A92C03309C5B021E8038CB2B9D9@ABMEXCMBCLS1.akbankdmn.akb> <4639C400EF7C314A92C03309C5B021E8038CBEAF2C@ABMEXCMBCLS1.akbankdmn.akb> <4639C400EF7C314A92C03309C5B021E8038CBEBB4C@ABMEXCMBCLS1.akbankdmn.akb> <4639C400EF7C314A92C03309C5B021E8038CFD96F9@ABMEXCMBCLS1.akbankdmn.akb> <4639C400EF7C314A92C03309C5B021E8038D095B0A@ABMEXCMBCLS1.akbankdmn.akb> Message-ID: <4639C400EF7C314A92C03309C5B021E8038D3AAA53@ABMEXCMBCLS1.akbankdmn.akb> Hi Boris, What can my problem be? Do you have any idea? Thanks for your helps. From: C?neyt Karada? (BT Uygulama Geli?tirme B?l?m?) Sent: Friday, April 22, 2011 5:54 PM To: 'Boris Kolpackov' Cc: xsd-users@codesynthesis.com; ?enel Hi?y?lmaz (BT Uygulama Geli?tirme B?l?m?) Subject: RE: FpML output is not being produced properly Hi Boris, sumbo@hazdev1% CC -V CC: Sun C++ 5.10 SunOS_sparc 2009/06/03 Usage: CC [ options ] files. Use 'CC -flags' for details sumbo@hazdev1% sumbo@hazdev1% uname -a SunOS hazdev1 5.10 Generic_138888-01 sun4u sparc SUNW,SPARC-Enterprise sumbo@hazdev1% Thanks for your helps. Cuneyt. -----Original Message----- From: Boris Kolpackov [mailto:boris@codesynthesis.com] Sent: Friday, April 22, 2011 5:40 PM To: C?neyt Karada? (BT Uygulama Geli?tirme B?l?m?) Cc: xsd-users@codesynthesis.com; ?enel Hi?y?lmaz (BT Uygulama Geli?tirme B?l?m?) Subject: Re: FpML output is not being produced properly Hi Cuneyt, Cuneyt.Karadag@akbank.com writes: > First I have generated my xsd files without giving parameter > "--generate-serialization" and "--type-naming ucc". You need --generate-serialization in order for serialization to work. > .../xsd/cxx/tree/serialization.txx", line 678: Error: The operation > "DOMAttr< > .../xsd/cxx/tree/serialization.txx", line 671: Error: The operation > "DOMElement< Bu e-posta ve muhtemel eklerinde verilen bilgiler ki?iye ?zel ve gizli olup, yaln?zca mesajda belirlenen al?c? ile ilgilidir. Size yanl??l?kla ula?m??sa l?tfen g?ndericiye bilgi veriniz, mesaj? siliniz ve i?eri?ini ba?ka bir ki?iye a??klamay?n?z, herhangi bir ortama kopyalamay?n?z. Bu mesaj aksi s?zle?me ile belirtilmedik?e herhangi bir finansal i?lem teklifi, al?m?, sat?m? veya herhangi bir havalenin teyidi gibi bankac?l?k i?lemi yap?lmas? amac?n? ta??mamaktad?r. Verilen t?m bilgilerin do?rulu?u ve b?t?nl???n?n garantisi verilmemekte olup, ?nceden bildirilmeksizin de?i?tirilebilecektir. Bu mesaj?n i?eri?i Bankam?z?n resmi g?r??lerini yans?tmayabilece?inden Akbank T.A.?. hi?bir hukuki sorumlulu?u kabul etmez. From boris at codesynthesis.com Wed Apr 27 05:19:41 2011 From: boris at codesynthesis.com (Boris Kolpackov) Date: Wed Apr 27 05:02:10 2011 Subject: [xsd-users] Re: FpML output is not being produced properly In-Reply-To: <4639C400EF7C314A92C03309C5B021E8038D3AAA53@ABMEXCMBCLS1.akbankdmn.akb> References: <4639C400EF7C314A92C03309C5B021E8038CBEAF2C@ABMEXCMBCLS1.akbankdmn.akb> <4639C400EF7C314A92C03309C5B021E8038CBEBB4C@ABMEXCMBCLS1.akbankdmn.akb> <4639C400EF7C314A92C03309C5B021E8038CFD96F9@ABMEXCMBCLS1.akbankdmn.akb> <4639C400EF7C314A92C03309C5B021E8038D095B0A@ABMEXCMBCLS1.akbankdmn.akb> <4639C400EF7C314A92C03309C5B021E8038D3AAA53@ABMEXCMBCLS1.akbankdmn.akb> Message-ID: Hi Cuneyt, Cuneyt.Karadag@akbank.com writes: > What can my problem be? Do you have any idea? There seems to be a bug in Sun C++ compiler (not really that surprising). I haven't had a chance to look for possible workarounds. Boris From boris at codesynthesis.com Fri Apr 29 06:08:25 2011 From: boris at codesynthesis.com (Boris Kolpackov) Date: Fri Apr 29 05:50:36 2011 Subject: [xsd-users] Re: FpML output is not being produced properly In-Reply-To: References: <4639C400EF7C314A92C03309C5B021E8038CBEAF2C@ABMEXCMBCLS1.akbankdmn.akb> <4639C400EF7C314A92C03309C5B021E8038CBEBB4C@ABMEXCMBCLS1.akbankdmn.akb> <4639C400EF7C314A92C03309C5B021E8038CFD96F9@ABMEXCMBCLS1.akbankdmn.akb> <4639C400EF7C314A92C03309C5B021E8038D095B0A@ABMEXCMBCLS1.akbankdmn.akb> <4639C400EF7C314A92C03309C5B021E8038D3AAA53@ABMEXCMBCLS1.akbankdmn.akb> Message-ID: Hi Cuneyt, I tried to reproduce your error messages using the same compiler version. I assume you are getting them when compiling xmldsig-core-schema.cc. Here is what I tried. I compiled the schema like this: xsd cxx-tree --hxx-suffix .h --cxx-suffix .cc --generate-serialization \ --type-naming ucc --namespace-map http://www.fpml.org/2009/FpML-4-7=fpml47 \ --namespace-map http://www.w3.org/2000/09/xmldsig#=xmldsig \ xmldsig-core-schema.xsd I then compiled the generated source file like this: /opt/studio12u1/sunstudio12.1/bin/CC -Ixsd-3.3.0-i686-solaris/libxsd \ -Ixerces-c_2_8_0-x86-solaris-cc_5_7/include -features=no%conststrings \ -library=no%rwtools7 -erroff=nonewline -g -DSU_FEAT005 -DSU_TTRS \ -DSU_MKV -DSU_SOLARIS_8 -DRELEASE5 -DDEBUG -DRW_NO_OVERLOAD_SCHAR \ -DSUMMITBASE="V51" -c -KPIC -c xmldsig-core-schema.cc I tried to use the same options/defines as you showed in one of your previous emails. However, with all this, I don't get any errors. Everything compiles successfully. If you are still getting the error, I will need the following from you: 0. Confirm that you get the error when compiling xmldsig-core-schema.cc 1. The exact XSD command line used to compile xmldsig-core-schema.xsd 2. The exact CC command line used to compile xmldsig-core-schema.cc Boris From Cuneyt.Karadag at akbank.com Fri Apr 29 10:50:27 2011 From: Cuneyt.Karadag at akbank.com (Cuneyt.Karadag@akbank.com) Date: Fri Apr 29 11:34:05 2011 Subject: [xsd-users] Re: FpML output is not being produced properly In-Reply-To: References: <4639C400EF7C314A92C03309C5B021E8038CBEAF2C@ABMEXCMBCLS1.akbankdmn.akb> <4639C400EF7C314A92C03309C5B021E8038CBEBB4C@ABMEXCMBCLS1.akbankdmn.akb> <4639C400EF7C314A92C03309C5B021E8038CFD96F9@ABMEXCMBCLS1.akbankdmn.akb> <4639C400EF7C314A92C03309C5B021E8038D095B0A@ABMEXCMBCLS1.akbankdmn.akb> <4639C400EF7C314A92C03309C5B021E8038D3AAA53@ABMEXCMBCLS1.akbankdmn.akb> Message-ID: <4639C400EF7C314A92C03309C5B021E8038D580CCA@ABMEXCMBCLS1.akbankdmn.akb> Hi Boris, When I would like to generate the .cc & .h files of the xsd of xmldsig-core-schema.xsd I am getting the messages as below. sumbo@hazdev1% xsd cxx-tree --hxx-suffix .h --cxx-suffix .cc --generate-serialization --type-naming ucc --namespace-map http://www.fpml.org/2009/FpML-4-7=fpml47 --namespace-map http://www.w3.org/2000/09/xmldsig#=xmldsig xmldsig-core-schema.xsd xmldsig-core-schema.xsd: warning T004: generating parsing and serialization functions for 24 global elements xmldsig-core-schema.xsd: info: use --root-element-* options to specify document root(s) sumbo@hazdev1% Is this normal? If it is I am still getting errors sumbo@hazdev1% make /opt/SUNWspro/bin/CC -D_RWCONFIG=12d -features=no%localfor -features=no%conststrings -library=no%rwtools7 -erroff=nonewline -I. -I/export/home/misys/SUMMIT_V531/summit/sumbo_V5_3_1/include -I/export/home/misys/SUMMIT_V531/summit/sumbo_V5_3_1/include/suthreads -I/export/home/misys/SUMMIT_V531/summit/sumbo_V5_3_1/include/sutools -I/export/home/misys/SUMMIT_V531/summit/sumbo_V5_3_1/ie -I/export/home/misys/SUMMIT_V531/summit/CORE_AND_PATCHES_V5_3_1/include -I/export/home/misys/SUMMIT_V531/summit/CORE_AND_PATCHES_V5_3_1/include/suthreads -I/export/home/misys/SUMMIT_V531/summit/CORE_AND_PATCHES_V5_3_1/include/sutools -I/export/home/misys/SUMMIT_V531/summit/CORE_AND_PATCHES_V5_3_1/ie -I/opt/SUNWspro/include/CC -I/export/home/misys/SUMMIT_V531/summit/sumbo_V5_3_1/include/xml -I/export/home/misys/SUMMIT_V531/summit/CORE_AND_PATCHES_V5_3_1/include/xml -I/export/home/misys/SUMMIT_V531/summittools/xercesc-2_8_0-icu3.8.1-Sol10-Studio11/include -I/export/home/misys/SUMMIT_V531/summittools/xercesc-2_8_0-icu3.8.1-Sol10-Studio11/include/xercesc -g -DSU_FEAT005 -DSU_TTRS -DSU_MKV -DSU_SOLARIS_8 -DRELEASE5 -DDEBUG -DRW_NO_OVERLOAD_SCHAR -DSUMMITBASE=\"V51\" -c -KPIC xmldsig-core-schema.cc "xmldsig-core-schema.cc", line 13086: Error: Multiple declaration for b. "xmldsig-core-schema.cc", line 13086: Error: Multiple declaration for n. "xmldsig-core-schema.cc", line 13101: Error: Multiple declaration for b. "xmldsig-core-schema.cc", line 13101: Error: Multiple declaration for n. "xmldsig-core-schema.cc", line 13116: Error: Multiple declaration for b. "xmldsig-core-schema.cc", line 13116: Error: Multiple declaration for n. "xmldsig-core-schema.cc", line 13131: Error: Multiple declaration for b. "xmldsig-core-schema.cc", line 13131: Error: Multiple declaration for n. "xmldsig-core-schema.cc", line 13146: Error: Multiple declaration for b. "xmldsig-core-schema.cc", line 13146: Error: Multiple declaration for n. "xmldsig-core-schema.cc", line 13161: Error: Multiple declaration for b. "xmldsig-core-schema.cc", line 13161: Error: Multiple declaration for n. "xmldsig-core-schema.cc", line 14024: Error: Multiple declaration for b. "xmldsig-core-schema.cc", line 14024: Error: Multiple declaration for n. "xmldsig-core-schema.cc", line 14039: Error: Multiple declaration for b. "xmldsig-core-schema.cc", line 14039: Error: Multiple declaration for n. "xmldsig-core-schema.cc", line 14054: Error: Multiple declaration for b. "xmldsig-core-schema.cc", line 14054: Error: Multiple declaration for n. "xmldsig-core-schema.cc", line 14069: Error: Multiple declaration for b. "xmldsig-core-schema.cc", line 14069: Error: Multiple declaration for n. 20 Error(s) detected. *** Error code 20 make: Fatal error: Command failed for target `xmldsig-core-schema.o' sumbo@hazdev1% I have fixed these errors by changing the latter variables as n1 b1, n2 b2, ... and compiled again. Finally I got the same error as below like my previous error. sumbo@hazdev1% make /opt/SUNWspro/bin/CC -D_RWCONFIG=12d -features=no%localfor -features=no%conststrings -library=no%rwtools7 -erroff=nonewline -I. -I/export/home/misys/SUMMIT_V531/summit/sumbo_V5_3_1/include -I/export/home/misys/SUMMIT_V531/summit/sumbo_V5_3_1/include/suthreads -I/export/home/misys/SUMMIT_V531/summit/sumbo_V5_3_1/include/sutools -I/export/home/misys/SUMMIT_V531/summit/sumbo_V5_3_1/ie -I/export/home/misys/SUMMIT_V531/summit/CORE_AND_PATCHES_V5_3_1/include -I/export/home/misys/SUMMIT_V531/summit/CORE_AND_PATCHES_V5_3_1/include/suthreads -I/export/home/misys/SUMMIT_V531/summit/CORE_AND_PATCHES_V5_3_1/include/sutools -I/export/home/misys/SUMMIT_V531/summit/CORE_AND_PATCHES_V5_3_1/ie -I/opt/SUNWspro/include/CC -I/export/home/misys/SUMMIT_V531/summit/sumbo_V5_3_1/include/xml -I/export/home/misys/SUMMIT_V531/summit/CORE_AND_PATCHES_V5_3_1/include/xml -I/export/home/misys/SUMMIT_V531/summittools/xercesc-2_8_0-icu3.8.1-Sol10-Studio11/include -I/export/home/misys/SUMMIT_V531/summittools/xercesc-2_8_0-icu3.8.1-Sol10-Studio11/include/xercesc -g -DSU_FEAT005 -DSU_TTRS -DSU_MKV -DSU_SOLARIS_8 -DRELEASE5 -DDEBUG -DRW_NO_OVERLOAD_SCHAR -DSUMMITBASE=\"V51\" -c -KPIC xmldsig-core-schema.cc "/export/home/misys/SUMMIT_V531/summit/sumbo_V5_3_1/include/xsd/cxx/tree/serialization.txx", line 678: Error: The operation "DOMAttr< Sent: Friday, April 29, 2011 1:08 PM To: C?neyt Karada? (BT Uygulama Geli?tirme B?l?m?) Cc: ?enel Hi?y?lmaz (BT Uygulama Geli?tirme B?l?m?); xsd-users@codesynthesis.com Subject: Re: [xsd-users] Re: FpML output is not being produced properly Hi Cuneyt, I tried to reproduce your error messages using the same compiler version. I assume you are getting them when compiling xmldsig-core-schema.cc. Here is what I tried. I compiled the schema like this: xsd cxx-tree --hxx-suffix .h --cxx-suffix .cc --generate-serialization \ --type-naming ucc --namespace-map http://www.fpml.org/2009/FpML-4-7=fpml47 \ --namespace-map http://www.w3.org/2000/09/xmldsig#=xmldsig \ xmldsig-core-schema.xsd I then compiled the generated source file like this: /opt/studio12u1/sunstudio12.1/bin/CC -Ixsd-3.3.0-i686-solaris/libxsd \ -Ixerces-c_2_8_0-x86-solaris-cc_5_7/include -features=no%conststrings \ -library=no%rwtools7 -erroff=nonewline -g -DSU_FEAT005 -DSU_TTRS \ -DSU_MKV -DSU_SOLARIS_8 -DRELEASE5 -DDEBUG -DRW_NO_OVERLOAD_SCHAR \ -DSUMMITBASE="V51" -c -KPIC -c xmldsig-core-schema.cc I tried to use the same options/defines as you showed in one of your previous emails. However, with all this, I don't get any errors. Everything compiles successfully. If you are still getting the error, I will need the following from you: 0. Confirm that you get the error when compiling xmldsig-core-schema.cc 1. The exact XSD command line used to compile xmldsig-core-schema.xsd 2. The exact CC command line used to compile xmldsig-core-schema.cc Boris ________________________________ [http://www.akbank.com/images/disclaimer.jpg] Bu e-posta ve muhtemel eklerinde verilen bilgiler ki?iye ?zel ve gizli olup, yaln?zca mesajda belirlenen al?c? ile ilgilidir. Size yanl??l?kla ula?m??sa l?tfen g?ndericiye bilgi veriniz, mesaj? siliniz ve i?eri?ini ba?ka bir ki?iye a??klamay?n?z, herhangi bir ortama kopyalamay?n?z. Bu mesaj aksi s?zle?me ile belirtilmedik?e herhangi bir finansal i?lem teklifi, al?m?, sat?m? veya herhangi bir havalenin teyidi gibi bankac?l?k i?lemi yap?lmas? amac?n? ta??mamaktad?r. Verilen t?m bilgilerin do?rulu?u ve b?t?nl???n?n garantisi verilmemekte olup, ?nceden bildirilmeksizin de?i?tirilebilecektir. Bu mesaj?n i?eri?i Bankam?z?n resmi g?r??lerini yans?tmayabilece?inden Akbank T.A.?. hi?bir hukuki sorumlulu?u kabul etmez. -------------- next part -------------- A non-text attachment was scrubbed... Name: xmldsig-core-schema.xsd Type: text/xml Size: 10779 bytes Desc: xmldsig-core-schema.xsd Url : http://codesynthesis.com/pipermail/xsd-users/attachments/20110429/178252c3/xmldsig-core-schema-0001.bin -------------- next part -------------- A non-text attachment was scrubbed... Name: xmldsig-core-schema.cc Type: application/octet-stream Size: 429334 bytes Desc: xmldsig-core-schema.cc Url : http://codesynthesis.com/pipermail/xsd-users/attachments/20110429/178252c3/xmldsig-core-schema-0001.obj -------------- next part -------------- // Copyright (C) 2005-2010 Code Synthesis Tools CC // // This program was generated by CodeSynthesis XSD, an XML Schema to // C++ data binding compiler. // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License version 2 as // published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // // You should have received a copy of the GNU General Public License // along with this program; if not, write to the Free Software // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA // // In addition, as a special exception, Code Synthesis Tools CC gives // permission to link this program with the Xerces-C++ library (or with // modified versions of Xerces-C++ that use the same license as Xerces-C++), // and distribute linked combinations including the two. You must obey // the GNU General Public License version 2 in all respects for all of // the code used other than Xerces-C++. If you modify this copy of the // program, you may extend this exception to your version of the program, // but you are not obligated to do so. If you do not wish to do so, delete // this exception statement from your version. // // Furthermore, Code Synthesis Tools CC makes a special exception for // the Free/Libre and Open Source Software (FLOSS) which is described // in the accompanying FLOSSE file. // #ifndef XMLDSIG_CORE_SCHEMA_H #define XMLDSIG_CORE_SCHEMA_H // Begin prologue. // // // End prologue. #include #if (XSD_INT_VERSION != 3030000L) #error XSD runtime version mismatch #endif #include #ifndef XSD_USE_CHAR #define XSD_USE_CHAR #endif #ifndef XSD_CXX_TREE_USE_CHAR #define XSD_CXX_TREE_USE_CHAR #endif #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include namespace xml_schema { // anyType and anySimpleType. // typedef ::xsd::cxx::tree::type Type; typedef ::xsd::cxx::tree::simple_type< Type > SimpleType; typedef ::xsd::cxx::tree::type Container; // 8-bit // typedef signed char Byte; typedef unsigned char UnsignedByte; // 16-bit // typedef short Short; typedef unsigned short UnsignedShort; // 32-bit // typedef int Int; typedef unsigned int UnsignedInt; // 64-bit // typedef long long Long; typedef unsigned long long UnsignedLong; // Supposed to be arbitrary-length integral types. // typedef long long Integer; typedef long long NonPositiveInteger; typedef unsigned long long NonNegativeInteger; typedef unsigned long long PositiveInteger; typedef long long NegativeInteger; // Boolean. // typedef bool Boolean; // Floating-point types. // typedef float Float; typedef double Double; typedef double Decimal; // String types. // typedef ::xsd::cxx::tree::string< char, SimpleType > String; typedef ::xsd::cxx::tree::normalized_string< char, String > NormalizedString; typedef ::xsd::cxx::tree::token< char, NormalizedString > Token; typedef ::xsd::cxx::tree::name< char, Token > Name; typedef ::xsd::cxx::tree::nmtoken< char, Token > Nmtoken; typedef ::xsd::cxx::tree::nmtokens< char, SimpleType, Nmtoken > Nmtokens; typedef ::xsd::cxx::tree::ncname< char, Name > Ncname; typedef ::xsd::cxx::tree::language< char, Token > Language; // ID/IDREF. // typedef ::xsd::cxx::tree::id< char, Ncname > Id; typedef ::xsd::cxx::tree::idref< char, Ncname, Type > Idref; typedef ::xsd::cxx::tree::idrefs< char, SimpleType, Idref > Idrefs; // URI. // typedef ::xsd::cxx::tree::uri< char, SimpleType > Uri; // Qualified name. // typedef ::xsd::cxx::tree::qname< char, SimpleType, Uri, Ncname > Qname; // Binary. // typedef ::xsd::cxx::tree::buffer< char > Buffer; typedef ::xsd::cxx::tree::base64_binary< char, SimpleType > Base64Binary; typedef ::xsd::cxx::tree::hex_binary< char, SimpleType > HexBinary; // Date/time. // typedef ::xsd::cxx::tree::time_zone TimeZone; typedef ::xsd::cxx::tree::date< char, SimpleType > Date; typedef ::xsd::cxx::tree::date_time< char, SimpleType > DateTime; typedef ::xsd::cxx::tree::duration< char, SimpleType > Duration; typedef ::xsd::cxx::tree::gday< char, SimpleType > Gday; typedef ::xsd::cxx::tree::gmonth< char, SimpleType > Gmonth; typedef ::xsd::cxx::tree::gmonth_day< char, SimpleType > GmonthDay; typedef ::xsd::cxx::tree::gyear< char, SimpleType > Gyear; typedef ::xsd::cxx::tree::gyear_month< char, SimpleType > GyearMonth; typedef ::xsd::cxx::tree::time< char, SimpleType > Time; // Entity. // typedef ::xsd::cxx::tree::entity< char, Ncname > Entity; typedef ::xsd::cxx::tree::entities< char, SimpleType, Entity > Entities; // Namespace information and list stream. Used in // serialization functions. // typedef ::xsd::cxx::xml::dom::namespace_info< char > NamespaceInfo; typedef ::xsd::cxx::xml::dom::namespace_infomap< char > NamespaceInfomap; typedef ::xsd::cxx::tree::list_stream< char > ListStream; typedef ::xsd::cxx::tree::as_double< Double > AsDouble; typedef ::xsd::cxx::tree::as_decimal< Decimal > AsDecimal; typedef ::xsd::cxx::tree::facet Facet; // Flags and properties. // typedef ::xsd::cxx::tree::flags Flags; typedef ::xsd::cxx::tree::properties< char > Properties; // Parsing/serialization diagnostics. // typedef ::xsd::cxx::tree::severity Severity; typedef ::xsd::cxx::tree::error< char > Error; typedef ::xsd::cxx::tree::diagnostics< char > Diagnostics; // Exceptions. // typedef ::xsd::cxx::tree::exception< char > Exception; typedef ::xsd::cxx::tree::bounds< char > Bounds; typedef ::xsd::cxx::tree::duplicate_id< char > DuplicateId; typedef ::xsd::cxx::tree::parsing< char > Parsing; typedef ::xsd::cxx::tree::expected_element< char > ExpectedElement; typedef ::xsd::cxx::tree::unexpected_element< char > UnexpectedElement; typedef ::xsd::cxx::tree::expected_attribute< char > ExpectedAttribute; typedef ::xsd::cxx::tree::unexpected_enumerator< char > UnexpectedEnumerator; typedef ::xsd::cxx::tree::expected_text_content< char > ExpectedTextContent; typedef ::xsd::cxx::tree::no_prefix_mapping< char > NoPrefixMapping; typedef ::xsd::cxx::tree::serialization< char > Serialization; // Error handler callback interface. // typedef ::xsd::cxx::xml::error_handler< char > ErrorHandler; // DOM interaction. // namespace dom { // Automatic pointer for DOMDocument. // using ::xsd::cxx::xml::dom::auto_ptr; #ifndef XSD_CXX_TREE_TREE_NODE_KEY__XML_SCHEMA #define XSD_CXX_TREE_TREE_NODE_KEY__XML_SCHEMA // DOM user data key for back pointers to tree nodes. // const XMLCh* const tree_node_key = ::xsd::cxx::tree::user_data_keys::node; #endif } } // Forward declarations. // namespace xmldsig { class CryptoBinary; class SignatureType; class SignatureValueType; class SignedInfoType; class CanonicalizationMethodType; class SignatureMethodType; class ReferenceType; class TransformsType; class TransformType; class DigestMethodType; class DigestValueType; class KeyInfoType; class KeyValueType; class RetrievalMethodType; class X509DataType; class X509IssuerSerialType; class PGPDataType; class SPKIDataType; class ObjectType; class ManifestType; class SignaturePropertiesType; class SignaturePropertyType; class HMACOutputLengthType; class DSAKeyValueType; class RSAKeyValueType; } #include // std::auto_ptr #include // std::numeric_limits #include // std::binary_search #include #include #include #include #include #include namespace xmldsig { class CryptoBinary: public ::xml_schema::Base64Binary { public: // Constructors. // CryptoBinary (); CryptoBinary (const ::xml_schema::Base64Binary&); CryptoBinary (const ::DOMElement& e, ::xml_schema::Flags f = 0, ::xml_schema::Container* c = 0); CryptoBinary (const ::DOMAttr& a, ::xml_schema::Flags f = 0, ::xml_schema::Container* c = 0); CryptoBinary (const ::std::string& s, const ::DOMElement* e, ::xml_schema::Flags f = 0, ::xml_schema::Container* c = 0); CryptoBinary (const CryptoBinary& x, ::xml_schema::Flags f = 0, ::xml_schema::Container* c = 0); virtual CryptoBinary* _clone (::xml_schema::Flags f = 0, ::xml_schema::Container* c = 0) const; virtual ~CryptoBinary (); }; class SignatureType: public ::xml_schema::Type { public: // SignedInfo // typedef ::xmldsig::SignedInfoType SignedInfoType; typedef ::xsd::cxx::tree::traits< SignedInfoType, char > SignedInfoTraits; const SignedInfoType& SignedInfo () const; SignedInfoType& SignedInfo (); void SignedInfo (const SignedInfoType& x); void SignedInfo (::std::auto_ptr< SignedInfoType > p); // SignatureValue // typedef ::xmldsig::SignatureValueType SignatureValueType; typedef ::xsd::cxx::tree::traits< SignatureValueType, char > SignatureValueTraits; const SignatureValueType& SignatureValue () const; SignatureValueType& SignatureValue (); void SignatureValue (const SignatureValueType& x); void SignatureValue (::std::auto_ptr< SignatureValueType > p); // KeyInfo // typedef ::xmldsig::KeyInfoType KeyInfoType; typedef ::xsd::cxx::tree::optional< KeyInfoType > KeyInfoOptional; typedef ::xsd::cxx::tree::traits< KeyInfoType, char > KeyInfoTraits; const KeyInfoOptional& KeyInfo () const; KeyInfoOptional& KeyInfo (); void KeyInfo (const KeyInfoType& x); void KeyInfo (const KeyInfoOptional& x); void KeyInfo (::std::auto_ptr< KeyInfoType > p); // Object // typedef ::xmldsig::ObjectType ObjectType; typedef ::xsd::cxx::tree::sequence< ObjectType > ObjectSequence; typedef ObjectSequence::iterator ObjectIterator; typedef ObjectSequence::const_iterator ObjectConstIterator; typedef ::xsd::cxx::tree::traits< ObjectType, char > ObjectTraits; const ObjectSequence& Object () const; ObjectSequence& Object (); void Object (const ObjectSequence& s); // Id // typedef ::xml_schema::Id IdType; typedef ::xsd::cxx::tree::optional< IdType > IdOptional; typedef ::xsd::cxx::tree::traits< IdType, char > IdTraits; const IdOptional& Id () const; IdOptional& Id (); void Id (const IdType& x); void Id (const IdOptional& x); void Id (::std::auto_ptr< IdType > p); // Constructors. // SignatureType (const SignedInfoType&, const SignatureValueType&); SignatureType (::std::auto_ptr< SignedInfoType >&, ::std::auto_ptr< SignatureValueType >&); SignatureType (const ::DOMElement& e, ::xml_schema::Flags f = 0, ::xml_schema::Container* c = 0); SignatureType (const SignatureType& x, ::xml_schema::Flags f = 0, ::xml_schema::Container* c = 0); virtual SignatureType* _clone (::xml_schema::Flags f = 0, ::xml_schema::Container* c = 0) const; virtual ~SignatureType (); // Implementation. // protected: void parse (::xsd::cxx::xml::dom::parser< char >&, ::xml_schema::Flags); protected: ::xsd::cxx::tree::one< SignedInfoType > SignedInfo_; ::xsd::cxx::tree::one< SignatureValueType > SignatureValue_; KeyInfoOptional KeyInfo_; ObjectSequence Object_; IdOptional Id_; }; class SignatureValueType: public ::xml_schema::Base64Binary { public: // Id // typedef ::xml_schema::Id IdType; typedef ::xsd::cxx::tree::optional< IdType > IdOptional; typedef ::xsd::cxx::tree::traits< IdType, char > IdTraits; const IdOptional& Id () const; IdOptional& Id (); void Id (const IdType& x); void Id (const IdOptional& x); void Id (::std::auto_ptr< IdType > p); // Constructors. // SignatureValueType (); SignatureValueType (const ::xml_schema::Base64Binary&); SignatureValueType (const ::DOMElement& e, ::xml_schema::Flags f = 0, ::xml_schema::Container* c = 0); SignatureValueType (const SignatureValueType& x, ::xml_schema::Flags f = 0, ::xml_schema::Container* c = 0); virtual SignatureValueType* _clone (::xml_schema::Flags f = 0, ::xml_schema::Container* c = 0) const; virtual ~SignatureValueType (); // Implementation. // protected: void parse (::xsd::cxx::xml::dom::parser< char >&, ::xml_schema::Flags); protected: IdOptional Id_; }; class SignedInfoType: public ::xml_schema::Type { public: // CanonicalizationMethod // typedef ::xmldsig::CanonicalizationMethodType CanonicalizationMethodType; typedef ::xsd::cxx::tree::traits< CanonicalizationMethodType, char > CanonicalizationMethodTraits; const CanonicalizationMethodType& CanonicalizationMethod () const; CanonicalizationMethodType& CanonicalizationMethod (); void CanonicalizationMethod (const CanonicalizationMethodType& x); void CanonicalizationMethod (::std::auto_ptr< CanonicalizationMethodType > p); // SignatureMethod // typedef ::xmldsig::SignatureMethodType SignatureMethodType; typedef ::xsd::cxx::tree::traits< SignatureMethodType, char > SignatureMethodTraits; const SignatureMethodType& SignatureMethod () const; SignatureMethodType& SignatureMethod (); void SignatureMethod (const SignatureMethodType& x); void SignatureMethod (::std::auto_ptr< SignatureMethodType > p); // Reference // typedef ::xmldsig::ReferenceType ReferenceType; typedef ::xsd::cxx::tree::sequence< ReferenceType > ReferenceSequence; typedef ReferenceSequence::iterator ReferenceIterator; typedef ReferenceSequence::const_iterator ReferenceConstIterator; typedef ::xsd::cxx::tree::traits< ReferenceType, char > ReferenceTraits; const ReferenceSequence& Reference () const; ReferenceSequence& Reference (); void Reference (const ReferenceSequence& s); // Id // typedef ::xml_schema::Id IdType; typedef ::xsd::cxx::tree::optional< IdType > IdOptional; typedef ::xsd::cxx::tree::traits< IdType, char > IdTraits; const IdOptional& Id () const; IdOptional& Id (); void Id (const IdType& x); void Id (const IdOptional& x); void Id (::std::auto_ptr< IdType > p); // Constructors. // SignedInfoType (const CanonicalizationMethodType&, const SignatureMethodType&); SignedInfoType (::std::auto_ptr< CanonicalizationMethodType >&, ::std::auto_ptr< SignatureMethodType >&); SignedInfoType (const ::DOMElement& e, ::xml_schema::Flags f = 0, ::xml_schema::Container* c = 0); SignedInfoType (const SignedInfoType& x, ::xml_schema::Flags f = 0, ::xml_schema::Container* c = 0); virtual SignedInfoType* _clone (::xml_schema::Flags f = 0, ::xml_schema::Container* c = 0) const; virtual ~SignedInfoType (); // Implementation. // protected: void parse (::xsd::cxx::xml::dom::parser< char >&, ::xml_schema::Flags); protected: ::xsd::cxx::tree::one< CanonicalizationMethodType > CanonicalizationMethod_; ::xsd::cxx::tree::one< SignatureMethodType > SignatureMethod_; ReferenceSequence Reference_; IdOptional Id_; }; class CanonicalizationMethodType: public ::xml_schema::Type { public: // Algorithm // typedef ::xml_schema::Uri AlgorithmType; typedef ::xsd::cxx::tree::traits< AlgorithmType, char > AlgorithmTraits; const AlgorithmType& Algorithm () const; AlgorithmType& Algorithm (); void Algorithm (const AlgorithmType& x); void Algorithm (::std::auto_ptr< AlgorithmType > p); // Constructors. // CanonicalizationMethodType (const AlgorithmType&); CanonicalizationMethodType (const ::DOMElement& e, ::xml_schema::Flags f = 0, ::xml_schema::Container* c = 0); CanonicalizationMethodType (const CanonicalizationMethodType& x, ::xml_schema::Flags f = 0, ::xml_schema::Container* c = 0); virtual CanonicalizationMethodType* _clone (::xml_schema::Flags f = 0, ::xml_schema::Container* c = 0) const; virtual ~CanonicalizationMethodType (); // Implementation. // protected: void parse (::xsd::cxx::xml::dom::parser< char >&, ::xml_schema::Flags); protected: ::xsd::cxx::tree::one< AlgorithmType > Algorithm_; }; class SignatureMethodType: public ::xml_schema::Type { public: // HMACOutputLength // typedef ::xmldsig::HMACOutputLengthType HMACOutputLengthType; typedef ::xsd::cxx::tree::optional< HMACOutputLengthType > HMACOutputLengthOptional; typedef ::xsd::cxx::tree::traits< HMACOutputLengthType, char > HMACOutputLengthTraits; const HMACOutputLengthOptional& HMACOutputLength () const; HMACOutputLengthOptional& HMACOutputLength (); void HMACOutputLength (const HMACOutputLengthType& x); void HMACOutputLength (const HMACOutputLengthOptional& x); void HMACOutputLength (::std::auto_ptr< HMACOutputLengthType > p); // Algorithm // typedef ::xml_schema::Uri AlgorithmType; typedef ::xsd::cxx::tree::traits< AlgorithmType, char > AlgorithmTraits; const AlgorithmType& Algorithm () const; AlgorithmType& Algorithm (); void Algorithm (const AlgorithmType& x); void Algorithm (::std::auto_ptr< AlgorithmType > p); // Constructors. // SignatureMethodType (const AlgorithmType&); SignatureMethodType (const ::DOMElement& e, ::xml_schema::Flags f = 0, ::xml_schema::Container* c = 0); SignatureMethodType (const SignatureMethodType& x, ::xml_schema::Flags f = 0, ::xml_schema::Container* c = 0); virtual SignatureMethodType* _clone (::xml_schema::Flags f = 0, ::xml_schema::Container* c = 0) const; virtual ~SignatureMethodType (); // Implementation. // protected: void parse (::xsd::cxx::xml::dom::parser< char >&, ::xml_schema::Flags); protected: HMACOutputLengthOptional HMACOutputLength_; ::xsd::cxx::tree::one< AlgorithmType > Algorithm_; }; class ReferenceType: public ::xml_schema::Type { public: // Transforms // typedef ::xmldsig::TransformsType TransformsType; typedef ::xsd::cxx::tree::optional< TransformsType > TransformsOptional; typedef ::xsd::cxx::tree::traits< TransformsType, char > TransformsTraits; const TransformsOptional& Transforms () const; TransformsOptional& Transforms (); void Transforms (const TransformsType& x); void Transforms (const TransformsOptional& x); void Transforms (::std::auto_ptr< TransformsType > p); // DigestMethod // typedef ::xmldsig::DigestMethodType DigestMethodType; typedef ::xsd::cxx::tree::traits< DigestMethodType, char > DigestMethodTraits; const DigestMethodType& DigestMethod () const; DigestMethodType& DigestMethod (); void DigestMethod (const DigestMethodType& x); void DigestMethod (::std::auto_ptr< DigestMethodType > p); // DigestValue // typedef ::xmldsig::DigestValueType DigestValueType; typedef ::xsd::cxx::tree::traits< DigestValueType, char > DigestValueTraits; const DigestValueType& DigestValue () const; DigestValueType& DigestValue (); void DigestValue (const DigestValueType& x); void DigestValue (::std::auto_ptr< DigestValueType > p); // Id // typedef ::xml_schema::Id IdType; typedef ::xsd::cxx::tree::optional< IdType > IdOptional; typedef ::xsd::cxx::tree::traits< IdType, char > IdTraits; const IdOptional& Id () const; IdOptional& Id (); void Id (const IdType& x); void Id (const IdOptional& x); void Id (::std::auto_ptr< IdType > p); // URI // typedef ::xml_schema::Uri URIType; typedef ::xsd::cxx::tree::optional< URIType > URIOptional; typedef ::xsd::cxx::tree::traits< URIType, char > URITraits; const URIOptional& URI () const; URIOptional& URI (); void URI (const URIType& x); void URI (const URIOptional& x); void URI (::std::auto_ptr< URIType > p); // Type // typedef ::xml_schema::Uri TypeType; typedef ::xsd::cxx::tree::optional< TypeType > TypeOptional; typedef ::xsd::cxx::tree::traits< TypeType, char > TypeTraits; const TypeOptional& Type () const; TypeOptional& Type (); void Type (const TypeType& x); void Type (const TypeOptional& x); void Type (::std::auto_ptr< TypeType > p); // Constructors. // ReferenceType (const DigestMethodType&, const DigestValueType&); ReferenceType (::std::auto_ptr< DigestMethodType >&, const DigestValueType&); ReferenceType (const ::DOMElement& e, ::xml_schema::Flags f = 0, ::xml_schema::Container* c = 0); ReferenceType (const ReferenceType& x, ::xml_schema::Flags f = 0, ::xml_schema::Container* c = 0); virtual ReferenceType* _clone (::xml_schema::Flags f = 0, ::xml_schema::Container* c = 0) const; virtual ~ReferenceType (); // Implementation. // protected: void parse (::xsd::cxx::xml::dom::parser< char >&, ::xml_schema::Flags); protected: TransformsOptional Transforms_; ::xsd::cxx::tree::one< DigestMethodType > DigestMethod_; ::xsd::cxx::tree::one< DigestValueType > DigestValue_; IdOptional Id_; URIOptional URI_; TypeOptional Type_; }; class TransformsType: public ::xml_schema::Type { public: // Transform // typedef ::xmldsig::TransformType TransformType; typedef ::xsd::cxx::tree::sequence< TransformType > TransformSequence; typedef TransformSequence::iterator TransformIterator; typedef TransformSequence::const_iterator TransformConstIterator; typedef ::xsd::cxx::tree::traits< TransformType, char > TransformTraits; const TransformSequence& Transform () const; TransformSequence& Transform (); void Transform (const TransformSequence& s); // Constructors. // TransformsType (); TransformsType (const ::DOMElement& e, ::xml_schema::Flags f = 0, ::xml_schema::Container* c = 0); TransformsType (const TransformsType& x, ::xml_schema::Flags f = 0, ::xml_schema::Container* c = 0); virtual TransformsType* _clone (::xml_schema::Flags f = 0, ::xml_schema::Container* c = 0) const; virtual ~TransformsType (); // Implementation. // protected: void parse (::xsd::cxx::xml::dom::parser< char >&, ::xml_schema::Flags); protected: TransformSequence Transform_; }; class TransformType: public ::xml_schema::Type { public: // XPath // typedef ::xml_schema::String XPathType; typedef ::xsd::cxx::tree::sequence< XPathType > XPathSequence; typedef XPathSequence::iterator XPathIterator; typedef XPathSequence::const_iterator XPathConstIterator; typedef ::xsd::cxx::tree::traits< XPathType, char > XPathTraits; const XPathSequence& XPath () const; XPathSequence& XPath (); void XPath (const XPathSequence& s); // Algorithm // typedef ::xml_schema::Uri AlgorithmType; typedef ::xsd::cxx::tree::traits< AlgorithmType, char > AlgorithmTraits; const AlgorithmType& Algorithm () const; AlgorithmType& Algorithm (); void Algorithm (const AlgorithmType& x); void Algorithm (::std::auto_ptr< AlgorithmType > p); // Constructors. // TransformType (const AlgorithmType&); TransformType (const ::DOMElement& e, ::xml_schema::Flags f = 0, ::xml_schema::Container* c = 0); TransformType (const TransformType& x, ::xml_schema::Flags f = 0, ::xml_schema::Container* c = 0); virtual TransformType* _clone (::xml_schema::Flags f = 0, ::xml_schema::Container* c = 0) const; virtual ~TransformType (); // Implementation. // protected: void parse (::xsd::cxx::xml::dom::parser< char >&, ::xml_schema::Flags); protected: XPathSequence XPath_; ::xsd::cxx::tree::one< AlgorithmType > Algorithm_; }; class DigestMethodType: public ::xml_schema::Type { public: // Algorithm // typedef ::xml_schema::Uri AlgorithmType; typedef ::xsd::cxx::tree::traits< AlgorithmType, char > AlgorithmTraits; const AlgorithmType& Algorithm () const; AlgorithmType& Algorithm (); void Algorithm (const AlgorithmType& x); void Algorithm (::std::auto_ptr< AlgorithmType > p); // Constructors. // DigestMethodType (const AlgorithmType&); DigestMethodType (const ::DOMElement& e, ::xml_schema::Flags f = 0, ::xml_schema::Container* c = 0); DigestMethodType (const DigestMethodType& x, ::xml_schema::Flags f = 0, ::xml_schema::Container* c = 0); virtual DigestMethodType* _clone (::xml_schema::Flags f = 0, ::xml_schema::Container* c = 0) const; virtual ~DigestMethodType (); // Implementation. // protected: void parse (::xsd::cxx::xml::dom::parser< char >&, ::xml_schema::Flags); protected: ::xsd::cxx::tree::one< AlgorithmType > Algorithm_; }; class DigestValueType: public ::xml_schema::Base64Binary { public: // Constructors. // DigestValueType (); DigestValueType (const ::xml_schema::Base64Binary&); DigestValueType (const ::DOMElement& e, ::xml_schema::Flags f = 0, ::xml_schema::Container* c = 0); DigestValueType (const ::DOMAttr& a, ::xml_schema::Flags f = 0, ::xml_schema::Container* c = 0); DigestValueType (const ::std::string& s, const ::DOMElement* e, ::xml_schema::Flags f = 0, ::xml_schema::Container* c = 0); DigestValueType (const DigestValueType& x, ::xml_schema::Flags f = 0, ::xml_schema::Container* c = 0); virtual DigestValueType* _clone (::xml_schema::Flags f = 0, ::xml_schema::Container* c = 0) const; virtual ~DigestValueType (); }; class KeyInfoType: public ::xml_schema::Type { public: // KeyName // typedef ::xml_schema::String KeyNameType; typedef ::xsd::cxx::tree::sequence< KeyNameType > KeyNameSequence; typedef KeyNameSequence::iterator KeyNameIterator; typedef KeyNameSequence::const_iterator KeyNameConstIterator; typedef ::xsd::cxx::tree::traits< KeyNameType, char > KeyNameTraits; const KeyNameSequence& KeyName () const; KeyNameSequence& KeyName (); void KeyName (const KeyNameSequence& s); // KeyValue // typedef ::xmldsig::KeyValueType KeyValueType; typedef ::xsd::cxx::tree::sequence< KeyValueType > KeyValueSequence; typedef KeyValueSequence::iterator KeyValueIterator; typedef KeyValueSequence::const_iterator KeyValueConstIterator; typedef ::xsd::cxx::tree::traits< KeyValueType, char > KeyValueTraits; const KeyValueSequence& KeyValue () const; KeyValueSequence& KeyValue (); void KeyValue (const KeyValueSequence& s); // RetrievalMethod // typedef ::xmldsig::RetrievalMethodType RetrievalMethodType; typedef ::xsd::cxx::tree::sequence< RetrievalMethodType > RetrievalMethodSequence; typedef RetrievalMethodSequence::iterator RetrievalMethodIterator; typedef RetrievalMethodSequence::const_iterator RetrievalMethodConstIterator; typedef ::xsd::cxx::tree::traits< RetrievalMethodType, char > RetrievalMethodTraits; const RetrievalMethodSequence& RetrievalMethod () const; RetrievalMethodSequence& RetrievalMethod (); void RetrievalMethod (const RetrievalMethodSequence& s); // X509Data // typedef ::xmldsig::X509DataType X509DataType; typedef ::xsd::cxx::tree::sequence< X509DataType > X509DataSequence; typedef X509DataSequence::iterator X509DataIterator; typedef X509DataSequence::const_iterator X509DataConstIterator; typedef ::xsd::cxx::tree::traits< X509DataType, char > X509DataTraits; const X509DataSequence& X509Data () const; X509DataSequence& X509Data (); void X509Data (const X509DataSequence& s); // PGPData // typedef ::xmldsig::PGPDataType PGPDataType; typedef ::xsd::cxx::tree::sequence< PGPDataType > PGPDataSequence; typedef PGPDataSequence::iterator PGPDataIterator; typedef PGPDataSequence::const_iterator PGPDataConstIterator; typedef ::xsd::cxx::tree::traits< PGPDataType, char > PGPDataTraits; const PGPDataSequence& PGPData () const; PGPDataSequence& PGPData (); void PGPData (const PGPDataSequence& s); // SPKIData // typedef ::xmldsig::SPKIDataType SPKIDataType; typedef ::xsd::cxx::tree::sequence< SPKIDataType > SPKIDataSequence; typedef SPKIDataSequence::iterator SPKIDataIterator; typedef SPKIDataSequence::const_iterator SPKIDataConstIterator; typedef ::xsd::cxx::tree::traits< SPKIDataType, char > SPKIDataTraits; const SPKIDataSequence& SPKIData () const; SPKIDataSequence& SPKIData (); void SPKIData (const SPKIDataSequence& s); // MgmtData // typedef ::xml_schema::String MgmtDataType; typedef ::xsd::cxx::tree::sequence< MgmtDataType > MgmtDataSequence; typedef MgmtDataSequence::iterator MgmtDataIterator; typedef MgmtDataSequence::const_iterator MgmtDataConstIterator; typedef ::xsd::cxx::tree::traits< MgmtDataType, char > MgmtDataTraits; const MgmtDataSequence& MgmtData () const; MgmtDataSequence& MgmtData (); void MgmtData (const MgmtDataSequence& s); // Id // typedef ::xml_schema::Id IdType; typedef ::xsd::cxx::tree::optional< IdType > IdOptional; typedef ::xsd::cxx::tree::traits< IdType, char > IdTraits; const IdOptional& Id () const; IdOptional& Id (); void Id (const IdType& x); void Id (const IdOptional& x); void Id (::std::auto_ptr< IdType > p); // Constructors. // KeyInfoType (); KeyInfoType (const ::DOMElement& e, ::xml_schema::Flags f = 0, ::xml_schema::Container* c = 0); KeyInfoType (const KeyInfoType& x, ::xml_schema::Flags f = 0, ::xml_schema::Container* c = 0); virtual KeyInfoType* _clone (::xml_schema::Flags f = 0, ::xml_schema::Container* c = 0) const; virtual ~KeyInfoType (); // Implementation. // protected: void parse (::xsd::cxx::xml::dom::parser< char >&, ::xml_schema::Flags); protected: KeyNameSequence KeyName_; KeyValueSequence KeyValue_; RetrievalMethodSequence RetrievalMethod_; X509DataSequence X509Data_; PGPDataSequence PGPData_; SPKIDataSequence SPKIData_; MgmtDataSequence MgmtData_; IdOptional Id_; }; class KeyValueType: public ::xml_schema::Type { public: // DSAKeyValue // typedef ::xmldsig::DSAKeyValueType DSAKeyValueType; typedef ::xsd::cxx::tree::optional< DSAKeyValueType > DSAKeyValueOptional; typedef ::xsd::cxx::tree::traits< DSAKeyValueType, char > DSAKeyValueTraits; const DSAKeyValueOptional& DSAKeyValue () const; DSAKeyValueOptional& DSAKeyValue (); void DSAKeyValue (const DSAKeyValueType& x); void DSAKeyValue (const DSAKeyValueOptional& x); void DSAKeyValue (::std::auto_ptr< DSAKeyValueType > p); // RSAKeyValue // typedef ::xmldsig::RSAKeyValueType RSAKeyValueType; typedef ::xsd::cxx::tree::optional< RSAKeyValueType > RSAKeyValueOptional; typedef ::xsd::cxx::tree::traits< RSAKeyValueType, char > RSAKeyValueTraits; const RSAKeyValueOptional& RSAKeyValue () const; RSAKeyValueOptional& RSAKeyValue (); void RSAKeyValue (const RSAKeyValueType& x); void RSAKeyValue (const RSAKeyValueOptional& x); void RSAKeyValue (::std::auto_ptr< RSAKeyValueType > p); // Constructors. // KeyValueType (); KeyValueType (const ::DOMElement& e, ::xml_schema::Flags f = 0, ::xml_schema::Container* c = 0); KeyValueType (const KeyValueType& x, ::xml_schema::Flags f = 0, ::xml_schema::Container* c = 0); virtual KeyValueType* _clone (::xml_schema::Flags f = 0, ::xml_schema::Container* c = 0) const; virtual ~KeyValueType (); // Implementation. // protected: void parse (::xsd::cxx::xml::dom::parser< char >&, ::xml_schema::Flags); protected: DSAKeyValueOptional DSAKeyValue_; RSAKeyValueOptional RSAKeyValue_; }; class RetrievalMethodType: public ::xml_schema::Type { public: // Transforms // typedef ::xmldsig::TransformsType TransformsType; typedef ::xsd::cxx::tree::optional< TransformsType > TransformsOptional; typedef ::xsd::cxx::tree::traits< TransformsType, char > TransformsTraits; const TransformsOptional& Transforms () const; TransformsOptional& Transforms (); void Transforms (const TransformsType& x); void Transforms (const TransformsOptional& x); void Transforms (::std::auto_ptr< TransformsType > p); // URI // typedef ::xml_schema::Uri URIType; typedef ::xsd::cxx::tree::optional< URIType > URIOptional; typedef ::xsd::cxx::tree::traits< URIType, char > URITraits; const URIOptional& URI () const; URIOptional& URI (); void URI (const URIType& x); void URI (const URIOptional& x); void URI (::std::auto_ptr< URIType > p); // Type // typedef ::xml_schema::Uri TypeType; typedef ::xsd::cxx::tree::optional< TypeType > TypeOptional; typedef ::xsd::cxx::tree::traits< TypeType, char > TypeTraits; const TypeOptional& Type () const; TypeOptional& Type (); void Type (const TypeType& x); void Type (const TypeOptional& x); void Type (::std::auto_ptr< TypeType > p); // Constructors. // RetrievalMethodType (); RetrievalMethodType (const ::DOMElement& e, ::xml_schema::Flags f = 0, ::xml_schema::Container* c = 0); RetrievalMethodType (const RetrievalMethodType& x, ::xml_schema::Flags f = 0, ::xml_schema::Container* c = 0); virtual RetrievalMethodType* _clone (::xml_schema::Flags f = 0, ::xml_schema::Container* c = 0) const; virtual ~RetrievalMethodType (); // Implementation. // protected: void parse (::xsd::cxx::xml::dom::parser< char >&, ::xml_schema::Flags); protected: TransformsOptional Transforms_; URIOptional URI_; TypeOptional Type_; }; class X509DataType: public ::xml_schema::Type { public: // X509IssuerSerial // typedef ::xmldsig::X509IssuerSerialType X509IssuerSerialType; typedef ::xsd::cxx::tree::sequence< X509IssuerSerialType > X509IssuerSerialSequence; typedef X509IssuerSerialSequence::iterator X509IssuerSerialIterator; typedef X509IssuerSerialSequence::const_iterator X509IssuerSerialConstIterator; typedef ::xsd::cxx::tree::traits< X509IssuerSerialType, char > X509IssuerSerialTraits; const X509IssuerSerialSequence& X509IssuerSerial () const; X509IssuerSerialSequence& X509IssuerSerial (); void X509IssuerSerial (const X509IssuerSerialSequence& s); // X509SKI // typedef ::xml_schema::Base64Binary X509SKIType; typedef ::xsd::cxx::tree::sequence< X509SKIType > X509SKISequence; typedef X509SKISequence::iterator X509SKIIterator; typedef X509SKISequence::const_iterator X509SKIConstIterator; typedef ::xsd::cxx::tree::traits< X509SKIType, char > X509SKITraits; const X509SKISequence& X509SKI () const; X509SKISequence& X509SKI (); void X509SKI (const X509SKISequence& s); // X509SubjectName // typedef ::xml_schema::String X509SubjectNameType; typedef ::xsd::cxx::tree::sequence< X509SubjectNameType > X509SubjectNameSequence; typedef X509SubjectNameSequence::iterator X509SubjectNameIterator; typedef X509SubjectNameSequence::const_iterator X509SubjectNameConstIterator; typedef ::xsd::cxx::tree::traits< X509SubjectNameType, char > X509SubjectNameTraits; const X509SubjectNameSequence& X509SubjectName () const; X509SubjectNameSequence& X509SubjectName (); void X509SubjectName (const X509SubjectNameSequence& s); // X509Certificate // typedef ::xml_schema::Base64Binary X509CertificateType; typedef ::xsd::cxx::tree::sequence< X509CertificateType > X509CertificateSequence; typedef X509CertificateSequence::iterator X509CertificateIterator; typedef X509CertificateSequence::const_iterator X509CertificateConstIterator; typedef ::xsd::cxx::tree::traits< X509CertificateType, char > X509CertificateTraits; const X509CertificateSequence& X509Certificate () const; X509CertificateSequence& X509Certificate (); void X509Certificate (const X509CertificateSequence& s); // X509CRL // typedef ::xml_schema::Base64Binary X509CRLType; typedef ::xsd::cxx::tree::sequence< X509CRLType > X509CRLSequence; typedef X509CRLSequence::iterator X509CRLIterator; typedef X509CRLSequence::const_iterator X509CRLConstIterator; typedef ::xsd::cxx::tree::traits< X509CRLType, char > X509CRLTraits; const X509CRLSequence& X509CRL () const; X509CRLSequence& X509CRL (); void X509CRL (const X509CRLSequence& s); // Constructors. // X509DataType (); X509DataType (const ::DOMElement& e, ::xml_schema::Flags f = 0, ::xml_schema::Container* c = 0); X509DataType (const X509DataType& x, ::xml_schema::Flags f = 0, ::xml_schema::Container* c = 0); virtual X509DataType* _clone (::xml_schema::Flags f = 0, ::xml_schema::Container* c = 0) const; virtual ~X509DataType (); // Implementation. // protected: void parse (::xsd::cxx::xml::dom::parser< char >&, ::xml_schema::Flags); protected: X509IssuerSerialSequence X509IssuerSerial_; X509SKISequence X509SKI_; X509SubjectNameSequence X509SubjectName_; X509CertificateSequence X509Certificate_; X509CRLSequence X509CRL_; }; class X509IssuerSerialType: public ::xml_schema::Type { public: // X509IssuerName // typedef ::xml_schema::String X509IssuerNameType; typedef ::xsd::cxx::tree::traits< X509IssuerNameType, char > X509IssuerNameTraits; const X509IssuerNameType& X509IssuerName () const; X509IssuerNameType& X509IssuerName (); void X509IssuerName (const X509IssuerNameType& x); void X509IssuerName (::std::auto_ptr< X509IssuerNameType > p); // X509SerialNumber // typedef ::xml_schema::Integer X509SerialNumberType; typedef ::xsd::cxx::tree::traits< X509SerialNumberType, char > X509SerialNumberTraits; const X509SerialNumberType& X509SerialNumber () const; X509SerialNumberType& X509SerialNumber (); void X509SerialNumber (const X509SerialNumberType& x); // Constructors. // X509IssuerSerialType (const X509IssuerNameType&, const X509SerialNumberType&); X509IssuerSerialType (const ::DOMElement& e, ::xml_schema::Flags f = 0, ::xml_schema::Container* c = 0); X509IssuerSerialType (const X509IssuerSerialType& x, ::xml_schema::Flags f = 0, ::xml_schema::Container* c = 0); virtual X509IssuerSerialType* _clone (::xml_schema::Flags f = 0, ::xml_schema::Container* c = 0) const; virtual ~X509IssuerSerialType (); // Implementation. // protected: void parse (::xsd::cxx::xml::dom::parser< char >&, ::xml_schema::Flags); protected: ::xsd::cxx::tree::one< X509IssuerNameType > X509IssuerName_; ::xsd::cxx::tree::one< X509SerialNumberType > X509SerialNumber_; }; class PGPDataType: public ::xml_schema::Type { public: // PGPKeyID // typedef ::xml_schema::Base64Binary PGPKeyIDType; typedef ::xsd::cxx::tree::optional< PGPKeyIDType > PGPKeyIDOptional; typedef ::xsd::cxx::tree::traits< PGPKeyIDType, char > PGPKeyIDTraits; const PGPKeyIDOptional& PGPKeyID () const; PGPKeyIDOptional& PGPKeyID (); void PGPKeyID (const PGPKeyIDType& x); void PGPKeyID (const PGPKeyIDOptional& x); void PGPKeyID (::std::auto_ptr< PGPKeyIDType > p); // PGPKeyPacket // typedef ::xml_schema::Base64Binary PGPKeyPacketType; typedef ::xsd::cxx::tree::optional< PGPKeyPacketType > PGPKeyPacketOptional; typedef ::xsd::cxx::tree::traits< PGPKeyPacketType, char > PGPKeyPacketTraits; const PGPKeyPacketOptional& PGPKeyPacket () const; PGPKeyPacketOptional& PGPKeyPacket (); void PGPKeyPacket (const PGPKeyPacketType& x); void PGPKeyPacket (const PGPKeyPacketOptional& x); void PGPKeyPacket (::std::auto_ptr< PGPKeyPacketType > p); // Constructors. // PGPDataType (); PGPDataType (const ::DOMElement& e, ::xml_schema::Flags f = 0, ::xml_schema::Container* c = 0); PGPDataType (const PGPDataType& x, ::xml_schema::Flags f = 0, ::xml_schema::Container* c = 0); virtual PGPDataType* _clone (::xml_schema::Flags f = 0, ::xml_schema::Container* c = 0) const; virtual ~PGPDataType (); // Implementation. // protected: void parse (::xsd::cxx::xml::dom::parser< char >&, ::xml_schema::Flags); protected: PGPKeyIDOptional PGPKeyID_; PGPKeyPacketOptional PGPKeyPacket_; }; class SPKIDataType: public ::xml_schema::Type { public: // SPKISexp // typedef ::xml_schema::Base64Binary SPKISexpType; typedef ::xsd::cxx::tree::sequence< SPKISexpType > SPKISexpSequence; typedef SPKISexpSequence::iterator SPKISexpIterator; typedef SPKISexpSequence::const_iterator SPKISexpConstIterator; typedef ::xsd::cxx::tree::traits< SPKISexpType, char > SPKISexpTraits; const SPKISexpSequence& SPKISexp () const; SPKISexpSequence& SPKISexp (); void SPKISexp (const SPKISexpSequence& s); // Constructors. // SPKIDataType (); SPKIDataType (const ::DOMElement& e, ::xml_schema::Flags f = 0, ::xml_schema::Container* c = 0); SPKIDataType (const SPKIDataType& x, ::xml_schema::Flags f = 0, ::xml_schema::Container* c = 0); virtual SPKIDataType* _clone (::xml_schema::Flags f = 0, ::xml_schema::Container* c = 0) const; virtual ~SPKIDataType (); // Implementation. // protected: void parse (::xsd::cxx::xml::dom::parser< char >&, ::xml_schema::Flags); protected: SPKISexpSequence SPKISexp_; }; class ObjectType: public ::xml_schema::Type { public: // Id // typedef ::xml_schema::Id IdType; typedef ::xsd::cxx::tree::optional< IdType > IdOptional; typedef ::xsd::cxx::tree::traits< IdType, char > IdTraits; const IdOptional& Id () const; IdOptional& Id (); void Id (const IdType& x); void Id (const IdOptional& x); void Id (::std::auto_ptr< IdType > p); // MimeType // typedef ::xml_schema::String MimeTypeType; typedef ::xsd::cxx::tree::optional< MimeTypeType > MimeTypeOptional; typedef ::xsd::cxx::tree::traits< MimeTypeType, char > MimeTypeTraits; const MimeTypeOptional& MimeType () const; MimeTypeOptional& MimeType (); void MimeType (const MimeTypeType& x); void MimeType (const MimeTypeOptional& x); void MimeType (::std::auto_ptr< MimeTypeType > p); // Encoding // typedef ::xml_schema::Uri EncodingType; typedef ::xsd::cxx::tree::optional< EncodingType > EncodingOptional; typedef ::xsd::cxx::tree::traits< EncodingType, char > EncodingTraits; const EncodingOptional& Encoding () const; EncodingOptional& Encoding (); void Encoding (const EncodingType& x); void Encoding (const EncodingOptional& x); void Encoding (::std::auto_ptr< EncodingType > p); // Constructors. // ObjectType (); ObjectType (const ::DOMElement& e, ::xml_schema::Flags f = 0, ::xml_schema::Container* c = 0); ObjectType (const ObjectType& x, ::xml_schema::Flags f = 0, ::xml_schema::Container* c = 0); virtual ObjectType* _clone (::xml_schema::Flags f = 0, ::xml_schema::Container* c = 0) const; virtual ~ObjectType (); // Implementation. // protected: void parse (::xsd::cxx::xml::dom::parser< char >&, ::xml_schema::Flags); protected: IdOptional Id_; MimeTypeOptional MimeType_; EncodingOptional Encoding_; }; class ManifestType: public ::xml_schema::Type { public: // Reference // typedef ::xmldsig::ReferenceType ReferenceType; typedef ::xsd::cxx::tree::sequence< ReferenceType > ReferenceSequence; typedef ReferenceSequence::iterator ReferenceIterator; typedef ReferenceSequence::const_iterator ReferenceConstIterator; typedef ::xsd::cxx::tree::traits< ReferenceType, char > ReferenceTraits; const ReferenceSequence& Reference () const; ReferenceSequence& Reference (); void Reference (const ReferenceSequence& s); // Id // typedef ::xml_schema::Id IdType; typedef ::xsd::cxx::tree::optional< IdType > IdOptional; typedef ::xsd::cxx::tree::traits< IdType, char > IdTraits; const IdOptional& Id () const; IdOptional& Id (); void Id (const IdType& x); void Id (const IdOptional& x); void Id (::std::auto_ptr< IdType > p); // Constructors. // ManifestType (); ManifestType (const ::DOMElement& e, ::xml_schema::Flags f = 0, ::xml_schema::Container* c = 0); ManifestType (const ManifestType& x, ::xml_schema::Flags f = 0, ::xml_schema::Container* c = 0); virtual ManifestType* _clone (::xml_schema::Flags f = 0, ::xml_schema::Container* c = 0) const; virtual ~ManifestType (); // Implementation. // protected: void parse (::xsd::cxx::xml::dom::parser< char >&, ::xml_schema::Flags); protected: ReferenceSequence Reference_; IdOptional Id_; }; class SignaturePropertiesType: public ::xml_schema::Type { public: // SignatureProperty // typedef ::xmldsig::SignaturePropertyType SignaturePropertyType; typedef ::xsd::cxx::tree::sequence< SignaturePropertyType > SignaturePropertySequence; typedef SignaturePropertySequence::iterator SignaturePropertyIterator; typedef SignaturePropertySequence::const_iterator SignaturePropertyConstIterator; typedef ::xsd::cxx::tree::traits< SignaturePropertyType, char > SignaturePropertyTraits; const SignaturePropertySequence& SignatureProperty () const; SignaturePropertySequence& SignatureProperty (); void SignatureProperty (const SignaturePropertySequence& s); // Id // typedef ::xml_schema::Id IdType; typedef ::xsd::cxx::tree::optional< IdType > IdOptional; typedef ::xsd::cxx::tree::traits< IdType, char > IdTraits; const IdOptional& Id () const; IdOptional& Id (); void Id (const IdType& x); void Id (const IdOptional& x); void Id (::std::auto_ptr< IdType > p); // Constructors. // SignaturePropertiesType (); SignaturePropertiesType (const ::DOMElement& e, ::xml_schema::Flags f = 0, ::xml_schema::Container* c = 0); SignaturePropertiesType (const SignaturePropertiesType& x, ::xml_schema::Flags f = 0, ::xml_schema::Container* c = 0); virtual SignaturePropertiesType* _clone (::xml_schema::Flags f = 0, ::xml_schema::Container* c = 0) const; virtual ~SignaturePropertiesType (); // Implementation. // protected: void parse (::xsd::cxx::xml::dom::parser< char >&, ::xml_schema::Flags); protected: SignaturePropertySequence SignatureProperty_; IdOptional Id_; }; class SignaturePropertyType: public ::xml_schema::Type { public: // Target // typedef ::xml_schema::Uri TargetType; typedef ::xsd::cxx::tree::traits< TargetType, char > TargetTraits; const TargetType& Target () const; TargetType& Target (); void Target (const TargetType& x); void Target (::std::auto_ptr< TargetType > p); // Id // typedef ::xml_schema::Id IdType; typedef ::xsd::cxx::tree::optional< IdType > IdOptional; typedef ::xsd::cxx::tree::traits< IdType, char > IdTraits; const IdOptional& Id () const; IdOptional& Id (); void Id (const IdType& x); void Id (const IdOptional& x); void Id (::std::auto_ptr< IdType > p); // Constructors. // SignaturePropertyType (const TargetType&); SignaturePropertyType (const ::DOMElement& e, ::xml_schema::Flags f = 0, ::xml_schema::Container* c = 0); SignaturePropertyType (const SignaturePropertyType& x, ::xml_schema::Flags f = 0, ::xml_schema::Container* c = 0); virtual SignaturePropertyType* _clone (::xml_schema::Flags f = 0, ::xml_schema::Container* c = 0) const; virtual ~SignaturePropertyType (); // Implementation. // protected: void parse (::xsd::cxx::xml::dom::parser< char >&, ::xml_schema::Flags); protected: ::xsd::cxx::tree::one< TargetType > Target_; IdOptional Id_; }; class HMACOutputLengthType: public ::xsd::cxx::tree::fundamental_base< ::xml_schema::Integer, char, ::xml_schema::SimpleType > { public: // Constructors. // HMACOutputLengthType (const ::xml_schema::Integer&); HMACOutputLengthType (const ::DOMElement& e, ::xml_schema::Flags f = 0, ::xml_schema::Container* c = 0); HMACOutputLengthType (const ::DOMAttr& a, ::xml_schema::Flags f = 0, ::xml_schema::Container* c = 0); HMACOutputLengthType (const ::std::string& s, const ::DOMElement* e, ::xml_schema::Flags f = 0, ::xml_schema::Container* c = 0); HMACOutputLengthType (const HMACOutputLengthType& x, ::xml_schema::Flags f = 0, ::xml_schema::Container* c = 0); virtual HMACOutputLengthType* _clone (::xml_schema::Flags f = 0, ::xml_schema::Container* c = 0) const; virtual ~HMACOutputLengthType (); }; class DSAKeyValueType: public ::xml_schema::Type { public: // P // typedef ::xmldsig::CryptoBinary PType; typedef ::xsd::cxx::tree::optional< PType > POptional; typedef ::xsd::cxx::tree::traits< PType, char > PTraits; const POptional& P () const; POptional& P (); void P (const PType& x); void P (const POptional& x); void P (::std::auto_ptr< PType > p); // Q // typedef ::xmldsig::CryptoBinary QType; typedef ::xsd::cxx::tree::optional< QType > QOptional; typedef ::xsd::cxx::tree::traits< QType, char > QTraits; const QOptional& Q () const; QOptional& Q (); void Q (const QType& x); void Q (const QOptional& x); void Q (::std::auto_ptr< QType > p); // G // typedef ::xmldsig::CryptoBinary GType; typedef ::xsd::cxx::tree::optional< GType > GOptional; typedef ::xsd::cxx::tree::traits< GType, char > GTraits; const GOptional& G () const; GOptional& G (); void G (const GType& x); void G (const GOptional& x); void G (::std::auto_ptr< GType > p); // Y // typedef ::xmldsig::CryptoBinary YType; typedef ::xsd::cxx::tree::traits< YType, char > YTraits; const YType& Y () const; YType& Y (); void Y (const YType& x); void Y (::std::auto_ptr< YType > p); // J // typedef ::xmldsig::CryptoBinary JType; typedef ::xsd::cxx::tree::optional< JType > JOptional; typedef ::xsd::cxx::tree::traits< JType, char > JTraits; const JOptional& J () const; JOptional& J (); void J (const JType& x); void J (const JOptional& x); void J (::std::auto_ptr< JType > p); // Seed // typedef ::xmldsig::CryptoBinary SeedType; typedef ::xsd::cxx::tree::optional< SeedType > SeedOptional; typedef ::xsd::cxx::tree::traits< SeedType, char > SeedTraits; const SeedOptional& Seed () const; SeedOptional& Seed (); void Seed (const SeedType& x); void Seed (const SeedOptional& x); void Seed (::std::auto_ptr< SeedType > p); // PgenCounter // typedef ::xmldsig::CryptoBinary PgenCounterType; typedef ::xsd::cxx::tree::optional< PgenCounterType > PgenCounterOptional; typedef ::xsd::cxx::tree::traits< PgenCounterType, char > PgenCounterTraits; const PgenCounterOptional& PgenCounter () const; PgenCounterOptional& PgenCounter (); void PgenCounter (const PgenCounterType& x); void PgenCounter (const PgenCounterOptional& x); void PgenCounter (::std::auto_ptr< PgenCounterType > p); // Constructors. // DSAKeyValueType (const YType&); DSAKeyValueType (const ::DOMElement& e, ::xml_schema::Flags f = 0, ::xml_schema::Container* c = 0); DSAKeyValueType (const DSAKeyValueType& x, ::xml_schema::Flags f = 0, ::xml_schema::Container* c = 0); virtual DSAKeyValueType* _clone (::xml_schema::Flags f = 0, ::xml_schema::Container* c = 0) const; virtual ~DSAKeyValueType (); // Implementation. // protected: void parse (::xsd::cxx::xml::dom::parser< char >&, ::xml_schema::Flags); protected: POptional P_; QOptional Q_; GOptional G_; ::xsd::cxx::tree::one< YType > Y_; JOptional J_; SeedOptional Seed_; PgenCounterOptional PgenCounter_; }; class RSAKeyValueType: public ::xml_schema::Type { public: // Modulus // typedef ::xmldsig::CryptoBinary ModulusType; typedef ::xsd::cxx::tree::traits< ModulusType, char > ModulusTraits; const ModulusType& Modulus () const; ModulusType& Modulus (); void Modulus (const ModulusType& x); void Modulus (::std::auto_ptr< ModulusType > p); // Exponent // typedef ::xmldsig::CryptoBinary ExponentType; typedef ::xsd::cxx::tree::traits< ExponentType, char > ExponentTraits; const ExponentType& Exponent () const; ExponentType& Exponent (); void Exponent (const ExponentType& x); void Exponent (::std::auto_ptr< ExponentType > p); // Constructors. // RSAKeyValueType (const ModulusType&, const ExponentType&); RSAKeyValueType (const ::DOMElement& e, ::xml_schema::Flags f = 0, ::xml_schema::Container* c = 0); RSAKeyValueType (const RSAKeyValueType& x, ::xml_schema::Flags f = 0, ::xml_schema::Container* c = 0); virtual RSAKeyValueType* _clone (::xml_schema::Flags f = 0, ::xml_schema::Container* c = 0) const; virtual ~RSAKeyValueType (); // Implementation. // protected: void parse (::xsd::cxx::xml::dom::parser< char >&, ::xml_schema::Flags); protected: ::xsd::cxx::tree::one< ModulusType > Modulus_; ::xsd::cxx::tree::one< ExponentType > Exponent_; }; } #include #include #include #include namespace xmldsig { // Parse a URI or a local file. // ::std::auto_ptr< ::xmldsig::SignatureType > Signature (const ::std::string& uri, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::SignatureType > Signature (const ::std::string& uri, ::xml_schema::ErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::SignatureType > Signature (const ::std::string& uri, ::DOMErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); // Parse std::istream. // ::std::auto_ptr< ::xmldsig::SignatureType > Signature (::std::istream& is, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::SignatureType > Signature (::std::istream& is, ::xml_schema::ErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::SignatureType > Signature (::std::istream& is, ::DOMErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::SignatureType > Signature (::std::istream& is, const ::std::string& id, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::SignatureType > Signature (::std::istream& is, const ::std::string& id, ::xml_schema::ErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::SignatureType > Signature (::std::istream& is, const ::std::string& id, ::DOMErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); // Parse InputSource. // ::std::auto_ptr< ::xmldsig::SignatureType > Signature (::InputSource& is, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::SignatureType > Signature (::InputSource& is, ::xml_schema::ErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::SignatureType > Signature (::InputSource& is, ::DOMErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); // Parse DOMDocument. // ::std::auto_ptr< ::xmldsig::SignatureType > Signature (const ::DOMDocument& d, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::SignatureType > Signature (::xml_schema::dom::auto_ptr< ::DOMDocument >& d, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); // Parse a URI or a local file. // ::std::auto_ptr< ::xmldsig::SignatureValueType > SignatureValue (const ::std::string& uri, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::SignatureValueType > SignatureValue (const ::std::string& uri, ::xml_schema::ErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::SignatureValueType > SignatureValue (const ::std::string& uri, ::DOMErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); // Parse std::istream. // ::std::auto_ptr< ::xmldsig::SignatureValueType > SignatureValue (::std::istream& is, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::SignatureValueType > SignatureValue (::std::istream& is, ::xml_schema::ErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::SignatureValueType > SignatureValue (::std::istream& is, ::DOMErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::SignatureValueType > SignatureValue (::std::istream& is, const ::std::string& id, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::SignatureValueType > SignatureValue (::std::istream& is, const ::std::string& id, ::xml_schema::ErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::SignatureValueType > SignatureValue (::std::istream& is, const ::std::string& id, ::DOMErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); // Parse InputSource. // ::std::auto_ptr< ::xmldsig::SignatureValueType > SignatureValue (::InputSource& is, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::SignatureValueType > SignatureValue (::InputSource& is, ::xml_schema::ErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::SignatureValueType > SignatureValue (::InputSource& is, ::DOMErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); // Parse DOMDocument. // ::std::auto_ptr< ::xmldsig::SignatureValueType > SignatureValue (const ::DOMDocument& d, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::SignatureValueType > SignatureValue (::xml_schema::dom::auto_ptr< ::DOMDocument >& d, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); // Parse a URI or a local file. // ::std::auto_ptr< ::xmldsig::SignedInfoType > SignedInfo (const ::std::string& uri, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::SignedInfoType > SignedInfo (const ::std::string& uri, ::xml_schema::ErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::SignedInfoType > SignedInfo (const ::std::string& uri, ::DOMErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); // Parse std::istream. // ::std::auto_ptr< ::xmldsig::SignedInfoType > SignedInfo (::std::istream& is, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::SignedInfoType > SignedInfo (::std::istream& is, ::xml_schema::ErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::SignedInfoType > SignedInfo (::std::istream& is, ::DOMErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::SignedInfoType > SignedInfo (::std::istream& is, const ::std::string& id, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::SignedInfoType > SignedInfo (::std::istream& is, const ::std::string& id, ::xml_schema::ErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::SignedInfoType > SignedInfo (::std::istream& is, const ::std::string& id, ::DOMErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); // Parse InputSource. // ::std::auto_ptr< ::xmldsig::SignedInfoType > SignedInfo (::InputSource& is, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::SignedInfoType > SignedInfo (::InputSource& is, ::xml_schema::ErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::SignedInfoType > SignedInfo (::InputSource& is, ::DOMErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); // Parse DOMDocument. // ::std::auto_ptr< ::xmldsig::SignedInfoType > SignedInfo (const ::DOMDocument& d, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::SignedInfoType > SignedInfo (::xml_schema::dom::auto_ptr< ::DOMDocument >& d, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); // Parse a URI or a local file. // ::std::auto_ptr< ::xmldsig::CanonicalizationMethodType > CanonicalizationMethod (const ::std::string& uri, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::CanonicalizationMethodType > CanonicalizationMethod (const ::std::string& uri, ::xml_schema::ErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::CanonicalizationMethodType > CanonicalizationMethod (const ::std::string& uri, ::DOMErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); // Parse std::istream. // ::std::auto_ptr< ::xmldsig::CanonicalizationMethodType > CanonicalizationMethod (::std::istream& is, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::CanonicalizationMethodType > CanonicalizationMethod (::std::istream& is, ::xml_schema::ErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::CanonicalizationMethodType > CanonicalizationMethod (::std::istream& is, ::DOMErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::CanonicalizationMethodType > CanonicalizationMethod (::std::istream& is, const ::std::string& id, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::CanonicalizationMethodType > CanonicalizationMethod (::std::istream& is, const ::std::string& id, ::xml_schema::ErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::CanonicalizationMethodType > CanonicalizationMethod (::std::istream& is, const ::std::string& id, ::DOMErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); // Parse InputSource. // ::std::auto_ptr< ::xmldsig::CanonicalizationMethodType > CanonicalizationMethod (::InputSource& is, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::CanonicalizationMethodType > CanonicalizationMethod (::InputSource& is, ::xml_schema::ErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::CanonicalizationMethodType > CanonicalizationMethod (::InputSource& is, ::DOMErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); // Parse DOMDocument. // ::std::auto_ptr< ::xmldsig::CanonicalizationMethodType > CanonicalizationMethod (const ::DOMDocument& d, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::CanonicalizationMethodType > CanonicalizationMethod (::xml_schema::dom::auto_ptr< ::DOMDocument >& d, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); // Parse a URI or a local file. // ::std::auto_ptr< ::xmldsig::SignatureMethodType > SignatureMethod (const ::std::string& uri, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::SignatureMethodType > SignatureMethod (const ::std::string& uri, ::xml_schema::ErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::SignatureMethodType > SignatureMethod (const ::std::string& uri, ::DOMErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); // Parse std::istream. // ::std::auto_ptr< ::xmldsig::SignatureMethodType > SignatureMethod (::std::istream& is, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::SignatureMethodType > SignatureMethod (::std::istream& is, ::xml_schema::ErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::SignatureMethodType > SignatureMethod (::std::istream& is, ::DOMErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::SignatureMethodType > SignatureMethod (::std::istream& is, const ::std::string& id, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::SignatureMethodType > SignatureMethod (::std::istream& is, const ::std::string& id, ::xml_schema::ErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::SignatureMethodType > SignatureMethod (::std::istream& is, const ::std::string& id, ::DOMErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); // Parse InputSource. // ::std::auto_ptr< ::xmldsig::SignatureMethodType > SignatureMethod (::InputSource& is, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::SignatureMethodType > SignatureMethod (::InputSource& is, ::xml_schema::ErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::SignatureMethodType > SignatureMethod (::InputSource& is, ::DOMErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); // Parse DOMDocument. // ::std::auto_ptr< ::xmldsig::SignatureMethodType > SignatureMethod (const ::DOMDocument& d, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::SignatureMethodType > SignatureMethod (::xml_schema::dom::auto_ptr< ::DOMDocument >& d, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); // Parse a URI or a local file. // ::std::auto_ptr< ::xmldsig::ReferenceType > Reference (const ::std::string& uri, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::ReferenceType > Reference (const ::std::string& uri, ::xml_schema::ErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::ReferenceType > Reference (const ::std::string& uri, ::DOMErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); // Parse std::istream. // ::std::auto_ptr< ::xmldsig::ReferenceType > Reference (::std::istream& is, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::ReferenceType > Reference (::std::istream& is, ::xml_schema::ErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::ReferenceType > Reference (::std::istream& is, ::DOMErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::ReferenceType > Reference (::std::istream& is, const ::std::string& id, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::ReferenceType > Reference (::std::istream& is, const ::std::string& id, ::xml_schema::ErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::ReferenceType > Reference (::std::istream& is, const ::std::string& id, ::DOMErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); // Parse InputSource. // ::std::auto_ptr< ::xmldsig::ReferenceType > Reference (::InputSource& is, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::ReferenceType > Reference (::InputSource& is, ::xml_schema::ErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::ReferenceType > Reference (::InputSource& is, ::DOMErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); // Parse DOMDocument. // ::std::auto_ptr< ::xmldsig::ReferenceType > Reference (const ::DOMDocument& d, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::ReferenceType > Reference (::xml_schema::dom::auto_ptr< ::DOMDocument >& d, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); // Parse a URI or a local file. // ::std::auto_ptr< ::xmldsig::TransformsType > Transforms (const ::std::string& uri, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::TransformsType > Transforms (const ::std::string& uri, ::xml_schema::ErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::TransformsType > Transforms (const ::std::string& uri, ::DOMErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); // Parse std::istream. // ::std::auto_ptr< ::xmldsig::TransformsType > Transforms (::std::istream& is, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::TransformsType > Transforms (::std::istream& is, ::xml_schema::ErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::TransformsType > Transforms (::std::istream& is, ::DOMErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::TransformsType > Transforms (::std::istream& is, const ::std::string& id, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::TransformsType > Transforms (::std::istream& is, const ::std::string& id, ::xml_schema::ErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::TransformsType > Transforms (::std::istream& is, const ::std::string& id, ::DOMErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); // Parse InputSource. // ::std::auto_ptr< ::xmldsig::TransformsType > Transforms (::InputSource& is, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::TransformsType > Transforms (::InputSource& is, ::xml_schema::ErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::TransformsType > Transforms (::InputSource& is, ::DOMErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); // Parse DOMDocument. // ::std::auto_ptr< ::xmldsig::TransformsType > Transforms (const ::DOMDocument& d, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::TransformsType > Transforms (::xml_schema::dom::auto_ptr< ::DOMDocument >& d, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); // Parse a URI or a local file. // ::std::auto_ptr< ::xmldsig::TransformType > Transform (const ::std::string& uri, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::TransformType > Transform (const ::std::string& uri, ::xml_schema::ErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::TransformType > Transform (const ::std::string& uri, ::DOMErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); // Parse std::istream. // ::std::auto_ptr< ::xmldsig::TransformType > Transform (::std::istream& is, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::TransformType > Transform (::std::istream& is, ::xml_schema::ErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::TransformType > Transform (::std::istream& is, ::DOMErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::TransformType > Transform (::std::istream& is, const ::std::string& id, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::TransformType > Transform (::std::istream& is, const ::std::string& id, ::xml_schema::ErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::TransformType > Transform (::std::istream& is, const ::std::string& id, ::DOMErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); // Parse InputSource. // ::std::auto_ptr< ::xmldsig::TransformType > Transform (::InputSource& is, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::TransformType > Transform (::InputSource& is, ::xml_schema::ErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::TransformType > Transform (::InputSource& is, ::DOMErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); // Parse DOMDocument. // ::std::auto_ptr< ::xmldsig::TransformType > Transform (const ::DOMDocument& d, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::TransformType > Transform (::xml_schema::dom::auto_ptr< ::DOMDocument >& d, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); // Parse a URI or a local file. // ::std::auto_ptr< ::xmldsig::DigestMethodType > DigestMethod (const ::std::string& uri, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::DigestMethodType > DigestMethod (const ::std::string& uri, ::xml_schema::ErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::DigestMethodType > DigestMethod (const ::std::string& uri, ::DOMErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); // Parse std::istream. // ::std::auto_ptr< ::xmldsig::DigestMethodType > DigestMethod (::std::istream& is, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::DigestMethodType > DigestMethod (::std::istream& is, ::xml_schema::ErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::DigestMethodType > DigestMethod (::std::istream& is, ::DOMErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::DigestMethodType > DigestMethod (::std::istream& is, const ::std::string& id, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::DigestMethodType > DigestMethod (::std::istream& is, const ::std::string& id, ::xml_schema::ErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::DigestMethodType > DigestMethod (::std::istream& is, const ::std::string& id, ::DOMErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); // Parse InputSource. // ::std::auto_ptr< ::xmldsig::DigestMethodType > DigestMethod (::InputSource& is, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::DigestMethodType > DigestMethod (::InputSource& is, ::xml_schema::ErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::DigestMethodType > DigestMethod (::InputSource& is, ::DOMErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); // Parse DOMDocument. // ::std::auto_ptr< ::xmldsig::DigestMethodType > DigestMethod (const ::DOMDocument& d, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::DigestMethodType > DigestMethod (::xml_schema::dom::auto_ptr< ::DOMDocument >& d, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); // Parse a URI or a local file. // ::std::auto_ptr< ::xmldsig::DigestValueType > DigestValue (const ::std::string& uri, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::DigestValueType > DigestValue (const ::std::string& uri, ::xml_schema::ErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::DigestValueType > DigestValue (const ::std::string& uri, ::DOMErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); // Parse std::istream. // ::std::auto_ptr< ::xmldsig::DigestValueType > DigestValue (::std::istream& is, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::DigestValueType > DigestValue (::std::istream& is, ::xml_schema::ErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::DigestValueType > DigestValue (::std::istream& is, ::DOMErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::DigestValueType > DigestValue (::std::istream& is, const ::std::string& id, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::DigestValueType > DigestValue (::std::istream& is, const ::std::string& id, ::xml_schema::ErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::DigestValueType > DigestValue (::std::istream& is, const ::std::string& id, ::DOMErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); // Parse InputSource. // ::std::auto_ptr< ::xmldsig::DigestValueType > DigestValue (::InputSource& is, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::DigestValueType > DigestValue (::InputSource& is, ::xml_schema::ErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::DigestValueType > DigestValue (::InputSource& is, ::DOMErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); // Parse DOMDocument. // ::std::auto_ptr< ::xmldsig::DigestValueType > DigestValue (const ::DOMDocument& d, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::DigestValueType > DigestValue (::xml_schema::dom::auto_ptr< ::DOMDocument >& d, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); // Parse a URI or a local file. // ::std::auto_ptr< ::xmldsig::KeyInfoType > KeyInfo (const ::std::string& uri, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::KeyInfoType > KeyInfo (const ::std::string& uri, ::xml_schema::ErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::KeyInfoType > KeyInfo (const ::std::string& uri, ::DOMErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); // Parse std::istream. // ::std::auto_ptr< ::xmldsig::KeyInfoType > KeyInfo (::std::istream& is, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::KeyInfoType > KeyInfo (::std::istream& is, ::xml_schema::ErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::KeyInfoType > KeyInfo (::std::istream& is, ::DOMErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::KeyInfoType > KeyInfo (::std::istream& is, const ::std::string& id, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::KeyInfoType > KeyInfo (::std::istream& is, const ::std::string& id, ::xml_schema::ErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::KeyInfoType > KeyInfo (::std::istream& is, const ::std::string& id, ::DOMErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); // Parse InputSource. // ::std::auto_ptr< ::xmldsig::KeyInfoType > KeyInfo (::InputSource& is, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::KeyInfoType > KeyInfo (::InputSource& is, ::xml_schema::ErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::KeyInfoType > KeyInfo (::InputSource& is, ::DOMErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); // Parse DOMDocument. // ::std::auto_ptr< ::xmldsig::KeyInfoType > KeyInfo (const ::DOMDocument& d, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::KeyInfoType > KeyInfo (::xml_schema::dom::auto_ptr< ::DOMDocument >& d, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); // Parse a URI or a local file. // ::std::auto_ptr< ::xml_schema::String > KeyName (const ::std::string& uri, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xml_schema::String > KeyName (const ::std::string& uri, ::xml_schema::ErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xml_schema::String > KeyName (const ::std::string& uri, ::DOMErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); // Parse std::istream. // ::std::auto_ptr< ::xml_schema::String > KeyName (::std::istream& is, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xml_schema::String > KeyName (::std::istream& is, ::xml_schema::ErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xml_schema::String > KeyName (::std::istream& is, ::DOMErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xml_schema::String > KeyName (::std::istream& is, const ::std::string& id, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xml_schema::String > KeyName (::std::istream& is, const ::std::string& id, ::xml_schema::ErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xml_schema::String > KeyName (::std::istream& is, const ::std::string& id, ::DOMErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); // Parse InputSource. // ::std::auto_ptr< ::xml_schema::String > KeyName (::InputSource& is, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xml_schema::String > KeyName (::InputSource& is, ::xml_schema::ErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xml_schema::String > KeyName (::InputSource& is, ::DOMErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); // Parse DOMDocument. // ::std::auto_ptr< ::xml_schema::String > KeyName (const ::DOMDocument& d, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xml_schema::String > KeyName (::xml_schema::dom::auto_ptr< ::DOMDocument >& d, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); // Parse a URI or a local file. // ::std::auto_ptr< ::xml_schema::String > MgmtData (const ::std::string& uri, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xml_schema::String > MgmtData (const ::std::string& uri, ::xml_schema::ErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xml_schema::String > MgmtData (const ::std::string& uri, ::DOMErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); // Parse std::istream. // ::std::auto_ptr< ::xml_schema::String > MgmtData (::std::istream& is, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xml_schema::String > MgmtData (::std::istream& is, ::xml_schema::ErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xml_schema::String > MgmtData (::std::istream& is, ::DOMErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xml_schema::String > MgmtData (::std::istream& is, const ::std::string& id, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xml_schema::String > MgmtData (::std::istream& is, const ::std::string& id, ::xml_schema::ErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xml_schema::String > MgmtData (::std::istream& is, const ::std::string& id, ::DOMErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); // Parse InputSource. // ::std::auto_ptr< ::xml_schema::String > MgmtData (::InputSource& is, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xml_schema::String > MgmtData (::InputSource& is, ::xml_schema::ErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xml_schema::String > MgmtData (::InputSource& is, ::DOMErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); // Parse DOMDocument. // ::std::auto_ptr< ::xml_schema::String > MgmtData (const ::DOMDocument& d, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xml_schema::String > MgmtData (::xml_schema::dom::auto_ptr< ::DOMDocument >& d, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); // Parse a URI or a local file. // ::std::auto_ptr< ::xmldsig::KeyValueType > KeyValue (const ::std::string& uri, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::KeyValueType > KeyValue (const ::std::string& uri, ::xml_schema::ErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::KeyValueType > KeyValue (const ::std::string& uri, ::DOMErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); // Parse std::istream. // ::std::auto_ptr< ::xmldsig::KeyValueType > KeyValue (::std::istream& is, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::KeyValueType > KeyValue (::std::istream& is, ::xml_schema::ErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::KeyValueType > KeyValue (::std::istream& is, ::DOMErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::KeyValueType > KeyValue (::std::istream& is, const ::std::string& id, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::KeyValueType > KeyValue (::std::istream& is, const ::std::string& id, ::xml_schema::ErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::KeyValueType > KeyValue (::std::istream& is, const ::std::string& id, ::DOMErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); // Parse InputSource. // ::std::auto_ptr< ::xmldsig::KeyValueType > KeyValue (::InputSource& is, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::KeyValueType > KeyValue (::InputSource& is, ::xml_schema::ErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::KeyValueType > KeyValue (::InputSource& is, ::DOMErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); // Parse DOMDocument. // ::std::auto_ptr< ::xmldsig::KeyValueType > KeyValue (const ::DOMDocument& d, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::KeyValueType > KeyValue (::xml_schema::dom::auto_ptr< ::DOMDocument >& d, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); // Parse a URI or a local file. // ::std::auto_ptr< ::xmldsig::RetrievalMethodType > RetrievalMethod (const ::std::string& uri, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::RetrievalMethodType > RetrievalMethod (const ::std::string& uri, ::xml_schema::ErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::RetrievalMethodType > RetrievalMethod (const ::std::string& uri, ::DOMErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); // Parse std::istream. // ::std::auto_ptr< ::xmldsig::RetrievalMethodType > RetrievalMethod (::std::istream& is, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::RetrievalMethodType > RetrievalMethod (::std::istream& is, ::xml_schema::ErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::RetrievalMethodType > RetrievalMethod (::std::istream& is, ::DOMErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::RetrievalMethodType > RetrievalMethod (::std::istream& is, const ::std::string& id, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::RetrievalMethodType > RetrievalMethod (::std::istream& is, const ::std::string& id, ::xml_schema::ErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::RetrievalMethodType > RetrievalMethod (::std::istream& is, const ::std::string& id, ::DOMErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); // Parse InputSource. // ::std::auto_ptr< ::xmldsig::RetrievalMethodType > RetrievalMethod (::InputSource& is, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::RetrievalMethodType > RetrievalMethod (::InputSource& is, ::xml_schema::ErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::RetrievalMethodType > RetrievalMethod (::InputSource& is, ::DOMErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); // Parse DOMDocument. // ::std::auto_ptr< ::xmldsig::RetrievalMethodType > RetrievalMethod (const ::DOMDocument& d, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::RetrievalMethodType > RetrievalMethod (::xml_schema::dom::auto_ptr< ::DOMDocument >& d, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); // Parse a URI or a local file. // ::std::auto_ptr< ::xmldsig::X509DataType > X509Data (const ::std::string& uri, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::X509DataType > X509Data (const ::std::string& uri, ::xml_schema::ErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::X509DataType > X509Data (const ::std::string& uri, ::DOMErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); // Parse std::istream. // ::std::auto_ptr< ::xmldsig::X509DataType > X509Data (::std::istream& is, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::X509DataType > X509Data (::std::istream& is, ::xml_schema::ErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::X509DataType > X509Data (::std::istream& is, ::DOMErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::X509DataType > X509Data (::std::istream& is, const ::std::string& id, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::X509DataType > X509Data (::std::istream& is, const ::std::string& id, ::xml_schema::ErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::X509DataType > X509Data (::std::istream& is, const ::std::string& id, ::DOMErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); // Parse InputSource. // ::std::auto_ptr< ::xmldsig::X509DataType > X509Data (::InputSource& is, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::X509DataType > X509Data (::InputSource& is, ::xml_schema::ErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::X509DataType > X509Data (::InputSource& is, ::DOMErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); // Parse DOMDocument. // ::std::auto_ptr< ::xmldsig::X509DataType > X509Data (const ::DOMDocument& d, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::X509DataType > X509Data (::xml_schema::dom::auto_ptr< ::DOMDocument >& d, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); // Parse a URI or a local file. // ::std::auto_ptr< ::xmldsig::PGPDataType > PGPData (const ::std::string& uri, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::PGPDataType > PGPData (const ::std::string& uri, ::xml_schema::ErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::PGPDataType > PGPData (const ::std::string& uri, ::DOMErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); // Parse std::istream. // ::std::auto_ptr< ::xmldsig::PGPDataType > PGPData (::std::istream& is, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::PGPDataType > PGPData (::std::istream& is, ::xml_schema::ErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::PGPDataType > PGPData (::std::istream& is, ::DOMErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::PGPDataType > PGPData (::std::istream& is, const ::std::string& id, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::PGPDataType > PGPData (::std::istream& is, const ::std::string& id, ::xml_schema::ErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::PGPDataType > PGPData (::std::istream& is, const ::std::string& id, ::DOMErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); // Parse InputSource. // ::std::auto_ptr< ::xmldsig::PGPDataType > PGPData (::InputSource& is, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::PGPDataType > PGPData (::InputSource& is, ::xml_schema::ErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::PGPDataType > PGPData (::InputSource& is, ::DOMErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); // Parse DOMDocument. // ::std::auto_ptr< ::xmldsig::PGPDataType > PGPData (const ::DOMDocument& d, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::PGPDataType > PGPData (::xml_schema::dom::auto_ptr< ::DOMDocument >& d, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); // Parse a URI or a local file. // ::std::auto_ptr< ::xmldsig::SPKIDataType > SPKIData (const ::std::string& uri, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::SPKIDataType > SPKIData (const ::std::string& uri, ::xml_schema::ErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::SPKIDataType > SPKIData (const ::std::string& uri, ::DOMErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); // Parse std::istream. // ::std::auto_ptr< ::xmldsig::SPKIDataType > SPKIData (::std::istream& is, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::SPKIDataType > SPKIData (::std::istream& is, ::xml_schema::ErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::SPKIDataType > SPKIData (::std::istream& is, ::DOMErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::SPKIDataType > SPKIData (::std::istream& is, const ::std::string& id, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::SPKIDataType > SPKIData (::std::istream& is, const ::std::string& id, ::xml_schema::ErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::SPKIDataType > SPKIData (::std::istream& is, const ::std::string& id, ::DOMErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); // Parse InputSource. // ::std::auto_ptr< ::xmldsig::SPKIDataType > SPKIData (::InputSource& is, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::SPKIDataType > SPKIData (::InputSource& is, ::xml_schema::ErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::SPKIDataType > SPKIData (::InputSource& is, ::DOMErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); // Parse DOMDocument. // ::std::auto_ptr< ::xmldsig::SPKIDataType > SPKIData (const ::DOMDocument& d, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::SPKIDataType > SPKIData (::xml_schema::dom::auto_ptr< ::DOMDocument >& d, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); // Parse a URI or a local file. // ::std::auto_ptr< ::xmldsig::ObjectType > Object (const ::std::string& uri, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::ObjectType > Object (const ::std::string& uri, ::xml_schema::ErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::ObjectType > Object (const ::std::string& uri, ::DOMErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); // Parse std::istream. // ::std::auto_ptr< ::xmldsig::ObjectType > Object (::std::istream& is, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::ObjectType > Object (::std::istream& is, ::xml_schema::ErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::ObjectType > Object (::std::istream& is, ::DOMErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::ObjectType > Object (::std::istream& is, const ::std::string& id, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::ObjectType > Object (::std::istream& is, const ::std::string& id, ::xml_schema::ErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::ObjectType > Object (::std::istream& is, const ::std::string& id, ::DOMErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); // Parse InputSource. // ::std::auto_ptr< ::xmldsig::ObjectType > Object (::InputSource& is, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::ObjectType > Object (::InputSource& is, ::xml_schema::ErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::ObjectType > Object (::InputSource& is, ::DOMErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); // Parse DOMDocument. // ::std::auto_ptr< ::xmldsig::ObjectType > Object (const ::DOMDocument& d, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::ObjectType > Object (::xml_schema::dom::auto_ptr< ::DOMDocument >& d, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); // Parse a URI or a local file. // ::std::auto_ptr< ::xmldsig::ManifestType > Manifest (const ::std::string& uri, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::ManifestType > Manifest (const ::std::string& uri, ::xml_schema::ErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::ManifestType > Manifest (const ::std::string& uri, ::DOMErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); // Parse std::istream. // ::std::auto_ptr< ::xmldsig::ManifestType > Manifest (::std::istream& is, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::ManifestType > Manifest (::std::istream& is, ::xml_schema::ErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::ManifestType > Manifest (::std::istream& is, ::DOMErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::ManifestType > Manifest (::std::istream& is, const ::std::string& id, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::ManifestType > Manifest (::std::istream& is, const ::std::string& id, ::xml_schema::ErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::ManifestType > Manifest (::std::istream& is, const ::std::string& id, ::DOMErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); // Parse InputSource. // ::std::auto_ptr< ::xmldsig::ManifestType > Manifest (::InputSource& is, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::ManifestType > Manifest (::InputSource& is, ::xml_schema::ErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::ManifestType > Manifest (::InputSource& is, ::DOMErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); // Parse DOMDocument. // ::std::auto_ptr< ::xmldsig::ManifestType > Manifest (const ::DOMDocument& d, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::ManifestType > Manifest (::xml_schema::dom::auto_ptr< ::DOMDocument >& d, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); // Parse a URI or a local file. // ::std::auto_ptr< ::xmldsig::SignaturePropertiesType > SignatureProperties (const ::std::string& uri, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::SignaturePropertiesType > SignatureProperties (const ::std::string& uri, ::xml_schema::ErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::SignaturePropertiesType > SignatureProperties (const ::std::string& uri, ::DOMErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); // Parse std::istream. // ::std::auto_ptr< ::xmldsig::SignaturePropertiesType > SignatureProperties (::std::istream& is, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::SignaturePropertiesType > SignatureProperties (::std::istream& is, ::xml_schema::ErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::SignaturePropertiesType > SignatureProperties (::std::istream& is, ::DOMErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::SignaturePropertiesType > SignatureProperties (::std::istream& is, const ::std::string& id, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::SignaturePropertiesType > SignatureProperties (::std::istream& is, const ::std::string& id, ::xml_schema::ErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::SignaturePropertiesType > SignatureProperties (::std::istream& is, const ::std::string& id, ::DOMErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); // Parse InputSource. // ::std::auto_ptr< ::xmldsig::SignaturePropertiesType > SignatureProperties (::InputSource& is, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::SignaturePropertiesType > SignatureProperties (::InputSource& is, ::xml_schema::ErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::SignaturePropertiesType > SignatureProperties (::InputSource& is, ::DOMErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); // Parse DOMDocument. // ::std::auto_ptr< ::xmldsig::SignaturePropertiesType > SignatureProperties (const ::DOMDocument& d, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::SignaturePropertiesType > SignatureProperties (::xml_schema::dom::auto_ptr< ::DOMDocument >& d, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); // Parse a URI or a local file. // ::std::auto_ptr< ::xmldsig::SignaturePropertyType > SignatureProperty (const ::std::string& uri, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::SignaturePropertyType > SignatureProperty (const ::std::string& uri, ::xml_schema::ErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::SignaturePropertyType > SignatureProperty (const ::std::string& uri, ::DOMErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); // Parse std::istream. // ::std::auto_ptr< ::xmldsig::SignaturePropertyType > SignatureProperty (::std::istream& is, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::SignaturePropertyType > SignatureProperty (::std::istream& is, ::xml_schema::ErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::SignaturePropertyType > SignatureProperty (::std::istream& is, ::DOMErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::SignaturePropertyType > SignatureProperty (::std::istream& is, const ::std::string& id, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::SignaturePropertyType > SignatureProperty (::std::istream& is, const ::std::string& id, ::xml_schema::ErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::SignaturePropertyType > SignatureProperty (::std::istream& is, const ::std::string& id, ::DOMErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); // Parse InputSource. // ::std::auto_ptr< ::xmldsig::SignaturePropertyType > SignatureProperty (::InputSource& is, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::SignaturePropertyType > SignatureProperty (::InputSource& is, ::xml_schema::ErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::SignaturePropertyType > SignatureProperty (::InputSource& is, ::DOMErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); // Parse DOMDocument. // ::std::auto_ptr< ::xmldsig::SignaturePropertyType > SignatureProperty (const ::DOMDocument& d, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::SignaturePropertyType > SignatureProperty (::xml_schema::dom::auto_ptr< ::DOMDocument >& d, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); // Parse a URI or a local file. // ::std::auto_ptr< ::xmldsig::DSAKeyValueType > DSAKeyValue (const ::std::string& uri, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::DSAKeyValueType > DSAKeyValue (const ::std::string& uri, ::xml_schema::ErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::DSAKeyValueType > DSAKeyValue (const ::std::string& uri, ::DOMErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); // Parse std::istream. // ::std::auto_ptr< ::xmldsig::DSAKeyValueType > DSAKeyValue (::std::istream& is, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::DSAKeyValueType > DSAKeyValue (::std::istream& is, ::xml_schema::ErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::DSAKeyValueType > DSAKeyValue (::std::istream& is, ::DOMErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::DSAKeyValueType > DSAKeyValue (::std::istream& is, const ::std::string& id, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::DSAKeyValueType > DSAKeyValue (::std::istream& is, const ::std::string& id, ::xml_schema::ErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::DSAKeyValueType > DSAKeyValue (::std::istream& is, const ::std::string& id, ::DOMErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); // Parse InputSource. // ::std::auto_ptr< ::xmldsig::DSAKeyValueType > DSAKeyValue (::InputSource& is, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::DSAKeyValueType > DSAKeyValue (::InputSource& is, ::xml_schema::ErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::DSAKeyValueType > DSAKeyValue (::InputSource& is, ::DOMErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); // Parse DOMDocument. // ::std::auto_ptr< ::xmldsig::DSAKeyValueType > DSAKeyValue (const ::DOMDocument& d, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::DSAKeyValueType > DSAKeyValue (::xml_schema::dom::auto_ptr< ::DOMDocument >& d, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); // Parse a URI or a local file. // ::std::auto_ptr< ::xmldsig::RSAKeyValueType > RSAKeyValue (const ::std::string& uri, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::RSAKeyValueType > RSAKeyValue (const ::std::string& uri, ::xml_schema::ErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::RSAKeyValueType > RSAKeyValue (const ::std::string& uri, ::DOMErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); // Parse std::istream. // ::std::auto_ptr< ::xmldsig::RSAKeyValueType > RSAKeyValue (::std::istream& is, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::RSAKeyValueType > RSAKeyValue (::std::istream& is, ::xml_schema::ErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::RSAKeyValueType > RSAKeyValue (::std::istream& is, ::DOMErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::RSAKeyValueType > RSAKeyValue (::std::istream& is, const ::std::string& id, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::RSAKeyValueType > RSAKeyValue (::std::istream& is, const ::std::string& id, ::xml_schema::ErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::RSAKeyValueType > RSAKeyValue (::std::istream& is, const ::std::string& id, ::DOMErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); // Parse InputSource. // ::std::auto_ptr< ::xmldsig::RSAKeyValueType > RSAKeyValue (::InputSource& is, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::RSAKeyValueType > RSAKeyValue (::InputSource& is, ::xml_schema::ErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::RSAKeyValueType > RSAKeyValue (::InputSource& is, ::DOMErrorHandler& eh, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); // Parse DOMDocument. // ::std::auto_ptr< ::xmldsig::RSAKeyValueType > RSAKeyValue (const ::DOMDocument& d, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); ::std::auto_ptr< ::xmldsig::RSAKeyValueType > RSAKeyValue (::xml_schema::dom::auto_ptr< ::DOMDocument >& d, ::xml_schema::Flags f = 0, const ::xml_schema::Properties& p = ::xml_schema::Properties ()); } #include #include #include #include #include namespace xmldsig { void operator<< (::DOMElement&, const CryptoBinary&); void operator<< (::DOMAttr&, const CryptoBinary&); void operator<< (::xml_schema::ListStream&, const CryptoBinary&); // Serialize to std::ostream. // void Signature (::std::ostream& os, const ::xmldsig::SignatureType& x, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); void Signature (::std::ostream& os, const ::xmldsig::SignatureType& x, ::xml_schema::ErrorHandler& eh, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); void Signature (::std::ostream& os, const ::xmldsig::SignatureType& x, ::DOMErrorHandler& eh, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); // Serialize to XMLFormatTarget. // void Signature (::XMLFormatTarget& ft, const ::xmldsig::SignatureType& x, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); void Signature (::XMLFormatTarget& ft, const ::xmldsig::SignatureType& x, ::xml_schema::ErrorHandler& eh, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); void Signature (::XMLFormatTarget& ft, const ::xmldsig::SignatureType& x, ::DOMErrorHandler& eh, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); // Serialize to an existing DOMDocument. // void Signature (::DOMDocument& d, const ::xmldsig::SignatureType& x, ::xml_schema::Flags f = 0); // Serialize to a new DOMDocument. // ::xml_schema::dom::auto_ptr< ::DOMDocument > Signature (const ::xmldsig::SignatureType& x, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), ::xml_schema::Flags f = 0); void operator<< (::DOMElement&, const SignatureType&); // Serialize to std::ostream. // void SignatureValue (::std::ostream& os, const ::xmldsig::SignatureValueType& x, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); void SignatureValue (::std::ostream& os, const ::xmldsig::SignatureValueType& x, ::xml_schema::ErrorHandler& eh, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); void SignatureValue (::std::ostream& os, const ::xmldsig::SignatureValueType& x, ::DOMErrorHandler& eh, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); // Serialize to XMLFormatTarget. // void SignatureValue (::XMLFormatTarget& ft, const ::xmldsig::SignatureValueType& x, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); void SignatureValue (::XMLFormatTarget& ft, const ::xmldsig::SignatureValueType& x, ::xml_schema::ErrorHandler& eh, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); void SignatureValue (::XMLFormatTarget& ft, const ::xmldsig::SignatureValueType& x, ::DOMErrorHandler& eh, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); // Serialize to an existing DOMDocument. // void SignatureValue (::DOMDocument& d, const ::xmldsig::SignatureValueType& x, ::xml_schema::Flags f = 0); // Serialize to a new DOMDocument. // ::xml_schema::dom::auto_ptr< ::DOMDocument > SignatureValue (const ::xmldsig::SignatureValueType& x, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), ::xml_schema::Flags f = 0); void operator<< (::DOMElement&, const SignatureValueType&); // Serialize to std::ostream. // void SignedInfo (::std::ostream& os, const ::xmldsig::SignedInfoType& x, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); void SignedInfo (::std::ostream& os, const ::xmldsig::SignedInfoType& x, ::xml_schema::ErrorHandler& eh, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); void SignedInfo (::std::ostream& os, const ::xmldsig::SignedInfoType& x, ::DOMErrorHandler& eh, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); // Serialize to XMLFormatTarget. // void SignedInfo (::XMLFormatTarget& ft, const ::xmldsig::SignedInfoType& x, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); void SignedInfo (::XMLFormatTarget& ft, const ::xmldsig::SignedInfoType& x, ::xml_schema::ErrorHandler& eh, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); void SignedInfo (::XMLFormatTarget& ft, const ::xmldsig::SignedInfoType& x, ::DOMErrorHandler& eh, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); // Serialize to an existing DOMDocument. // void SignedInfo (::DOMDocument& d, const ::xmldsig::SignedInfoType& x, ::xml_schema::Flags f = 0); // Serialize to a new DOMDocument. // ::xml_schema::dom::auto_ptr< ::DOMDocument > SignedInfo (const ::xmldsig::SignedInfoType& x, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), ::xml_schema::Flags f = 0); void operator<< (::DOMElement&, const SignedInfoType&); // Serialize to std::ostream. // void CanonicalizationMethod (::std::ostream& os, const ::xmldsig::CanonicalizationMethodType& x, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); void CanonicalizationMethod (::std::ostream& os, const ::xmldsig::CanonicalizationMethodType& x, ::xml_schema::ErrorHandler& eh, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); void CanonicalizationMethod (::std::ostream& os, const ::xmldsig::CanonicalizationMethodType& x, ::DOMErrorHandler& eh, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); // Serialize to XMLFormatTarget. // void CanonicalizationMethod (::XMLFormatTarget& ft, const ::xmldsig::CanonicalizationMethodType& x, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); void CanonicalizationMethod (::XMLFormatTarget& ft, const ::xmldsig::CanonicalizationMethodType& x, ::xml_schema::ErrorHandler& eh, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); void CanonicalizationMethod (::XMLFormatTarget& ft, const ::xmldsig::CanonicalizationMethodType& x, ::DOMErrorHandler& eh, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); // Serialize to an existing DOMDocument. // void CanonicalizationMethod (::DOMDocument& d, const ::xmldsig::CanonicalizationMethodType& x, ::xml_schema::Flags f = 0); // Serialize to a new DOMDocument. // ::xml_schema::dom::auto_ptr< ::DOMDocument > CanonicalizationMethod (const ::xmldsig::CanonicalizationMethodType& x, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), ::xml_schema::Flags f = 0); void operator<< (::DOMElement&, const CanonicalizationMethodType&); // Serialize to std::ostream. // void SignatureMethod (::std::ostream& os, const ::xmldsig::SignatureMethodType& x, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); void SignatureMethod (::std::ostream& os, const ::xmldsig::SignatureMethodType& x, ::xml_schema::ErrorHandler& eh, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); void SignatureMethod (::std::ostream& os, const ::xmldsig::SignatureMethodType& x, ::DOMErrorHandler& eh, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); // Serialize to XMLFormatTarget. // void SignatureMethod (::XMLFormatTarget& ft, const ::xmldsig::SignatureMethodType& x, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); void SignatureMethod (::XMLFormatTarget& ft, const ::xmldsig::SignatureMethodType& x, ::xml_schema::ErrorHandler& eh, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); void SignatureMethod (::XMLFormatTarget& ft, const ::xmldsig::SignatureMethodType& x, ::DOMErrorHandler& eh, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); // Serialize to an existing DOMDocument. // void SignatureMethod (::DOMDocument& d, const ::xmldsig::SignatureMethodType& x, ::xml_schema::Flags f = 0); // Serialize to a new DOMDocument. // ::xml_schema::dom::auto_ptr< ::DOMDocument > SignatureMethod (const ::xmldsig::SignatureMethodType& x, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), ::xml_schema::Flags f = 0); void operator<< (::DOMElement&, const SignatureMethodType&); // Serialize to std::ostream. // void Reference (::std::ostream& os, const ::xmldsig::ReferenceType& x, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); void Reference (::std::ostream& os, const ::xmldsig::ReferenceType& x, ::xml_schema::ErrorHandler& eh, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); void Reference (::std::ostream& os, const ::xmldsig::ReferenceType& x, ::DOMErrorHandler& eh, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); // Serialize to XMLFormatTarget. // void Reference (::XMLFormatTarget& ft, const ::xmldsig::ReferenceType& x, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); void Reference (::XMLFormatTarget& ft, const ::xmldsig::ReferenceType& x, ::xml_schema::ErrorHandler& eh, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); void Reference (::XMLFormatTarget& ft, const ::xmldsig::ReferenceType& x, ::DOMErrorHandler& eh, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); // Serialize to an existing DOMDocument. // void Reference (::DOMDocument& d, const ::xmldsig::ReferenceType& x, ::xml_schema::Flags f = 0); // Serialize to a new DOMDocument. // ::xml_schema::dom::auto_ptr< ::DOMDocument > Reference (const ::xmldsig::ReferenceType& x, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), ::xml_schema::Flags f = 0); void operator<< (::DOMElement&, const ReferenceType&); // Serialize to std::ostream. // void Transforms (::std::ostream& os, const ::xmldsig::TransformsType& x, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); void Transforms (::std::ostream& os, const ::xmldsig::TransformsType& x, ::xml_schema::ErrorHandler& eh, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); void Transforms (::std::ostream& os, const ::xmldsig::TransformsType& x, ::DOMErrorHandler& eh, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); // Serialize to XMLFormatTarget. // void Transforms (::XMLFormatTarget& ft, const ::xmldsig::TransformsType& x, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); void Transforms (::XMLFormatTarget& ft, const ::xmldsig::TransformsType& x, ::xml_schema::ErrorHandler& eh, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); void Transforms (::XMLFormatTarget& ft, const ::xmldsig::TransformsType& x, ::DOMErrorHandler& eh, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); // Serialize to an existing DOMDocument. // void Transforms (::DOMDocument& d, const ::xmldsig::TransformsType& x, ::xml_schema::Flags f = 0); // Serialize to a new DOMDocument. // ::xml_schema::dom::auto_ptr< ::DOMDocument > Transforms (const ::xmldsig::TransformsType& x, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), ::xml_schema::Flags f = 0); void operator<< (::DOMElement&, const TransformsType&); // Serialize to std::ostream. // void Transform (::std::ostream& os, const ::xmldsig::TransformType& x, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); void Transform (::std::ostream& os, const ::xmldsig::TransformType& x, ::xml_schema::ErrorHandler& eh, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); void Transform (::std::ostream& os, const ::xmldsig::TransformType& x, ::DOMErrorHandler& eh, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); // Serialize to XMLFormatTarget. // void Transform (::XMLFormatTarget& ft, const ::xmldsig::TransformType& x, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); void Transform (::XMLFormatTarget& ft, const ::xmldsig::TransformType& x, ::xml_schema::ErrorHandler& eh, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); void Transform (::XMLFormatTarget& ft, const ::xmldsig::TransformType& x, ::DOMErrorHandler& eh, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); // Serialize to an existing DOMDocument. // void Transform (::DOMDocument& d, const ::xmldsig::TransformType& x, ::xml_schema::Flags f = 0); // Serialize to a new DOMDocument. // ::xml_schema::dom::auto_ptr< ::DOMDocument > Transform (const ::xmldsig::TransformType& x, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), ::xml_schema::Flags f = 0); void operator<< (::DOMElement&, const TransformType&); // Serialize to std::ostream. // void DigestMethod (::std::ostream& os, const ::xmldsig::DigestMethodType& x, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); void DigestMethod (::std::ostream& os, const ::xmldsig::DigestMethodType& x, ::xml_schema::ErrorHandler& eh, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); void DigestMethod (::std::ostream& os, const ::xmldsig::DigestMethodType& x, ::DOMErrorHandler& eh, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); // Serialize to XMLFormatTarget. // void DigestMethod (::XMLFormatTarget& ft, const ::xmldsig::DigestMethodType& x, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); void DigestMethod (::XMLFormatTarget& ft, const ::xmldsig::DigestMethodType& x, ::xml_schema::ErrorHandler& eh, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); void DigestMethod (::XMLFormatTarget& ft, const ::xmldsig::DigestMethodType& x, ::DOMErrorHandler& eh, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); // Serialize to an existing DOMDocument. // void DigestMethod (::DOMDocument& d, const ::xmldsig::DigestMethodType& x, ::xml_schema::Flags f = 0); // Serialize to a new DOMDocument. // ::xml_schema::dom::auto_ptr< ::DOMDocument > DigestMethod (const ::xmldsig::DigestMethodType& x, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), ::xml_schema::Flags f = 0); void operator<< (::DOMElement&, const DigestMethodType&); // Serialize to std::ostream. // void DigestValue (::std::ostream& os, const ::xmldsig::DigestValueType& x, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); void DigestValue (::std::ostream& os, const ::xmldsig::DigestValueType& x, ::xml_schema::ErrorHandler& eh, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); void DigestValue (::std::ostream& os, const ::xmldsig::DigestValueType& x, ::DOMErrorHandler& eh, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); // Serialize to XMLFormatTarget. // void DigestValue (::XMLFormatTarget& ft, const ::xmldsig::DigestValueType& x, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); void DigestValue (::XMLFormatTarget& ft, const ::xmldsig::DigestValueType& x, ::xml_schema::ErrorHandler& eh, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); void DigestValue (::XMLFormatTarget& ft, const ::xmldsig::DigestValueType& x, ::DOMErrorHandler& eh, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); // Serialize to an existing DOMDocument. // void DigestValue (::DOMDocument& d, const ::xmldsig::DigestValueType& x, ::xml_schema::Flags f = 0); // Serialize to a new DOMDocument. // ::xml_schema::dom::auto_ptr< ::DOMDocument > DigestValue (const ::xmldsig::DigestValueType& x, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), ::xml_schema::Flags f = 0); void operator<< (::DOMElement&, const DigestValueType&); void operator<< (::DOMAttr&, const DigestValueType&); void operator<< (::xml_schema::ListStream&, const DigestValueType&); // Serialize to std::ostream. // void KeyInfo (::std::ostream& os, const ::xmldsig::KeyInfoType& x, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); void KeyInfo (::std::ostream& os, const ::xmldsig::KeyInfoType& x, ::xml_schema::ErrorHandler& eh, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); void KeyInfo (::std::ostream& os, const ::xmldsig::KeyInfoType& x, ::DOMErrorHandler& eh, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); // Serialize to XMLFormatTarget. // void KeyInfo (::XMLFormatTarget& ft, const ::xmldsig::KeyInfoType& x, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); void KeyInfo (::XMLFormatTarget& ft, const ::xmldsig::KeyInfoType& x, ::xml_schema::ErrorHandler& eh, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); void KeyInfo (::XMLFormatTarget& ft, const ::xmldsig::KeyInfoType& x, ::DOMErrorHandler& eh, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); // Serialize to an existing DOMDocument. // void KeyInfo (::DOMDocument& d, const ::xmldsig::KeyInfoType& x, ::xml_schema::Flags f = 0); // Serialize to a new DOMDocument. // ::xml_schema::dom::auto_ptr< ::DOMDocument > KeyInfo (const ::xmldsig::KeyInfoType& x, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), ::xml_schema::Flags f = 0); void operator<< (::DOMElement&, const KeyInfoType&); // Serialize to std::ostream. // void KeyName (::std::ostream& os, const ::xml_schema::String& x, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); void KeyName (::std::ostream& os, const ::xml_schema::String& x, ::xml_schema::ErrorHandler& eh, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); void KeyName (::std::ostream& os, const ::xml_schema::String& x, ::DOMErrorHandler& eh, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); // Serialize to XMLFormatTarget. // void KeyName (::XMLFormatTarget& ft, const ::xml_schema::String& x, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); void KeyName (::XMLFormatTarget& ft, const ::xml_schema::String& x, ::xml_schema::ErrorHandler& eh, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); void KeyName (::XMLFormatTarget& ft, const ::xml_schema::String& x, ::DOMErrorHandler& eh, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); // Serialize to an existing DOMDocument. // void KeyName (::DOMDocument& d, const ::xml_schema::String& x, ::xml_schema::Flags f = 0); // Serialize to a new DOMDocument. // ::xml_schema::dom::auto_ptr< ::DOMDocument > KeyName (const ::xml_schema::String& x, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), ::xml_schema::Flags f = 0); // Serialize to std::ostream. // void MgmtData (::std::ostream& os, const ::xml_schema::String& x, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); void MgmtData (::std::ostream& os, const ::xml_schema::String& x, ::xml_schema::ErrorHandler& eh, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); void MgmtData (::std::ostream& os, const ::xml_schema::String& x, ::DOMErrorHandler& eh, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); // Serialize to XMLFormatTarget. // void MgmtData (::XMLFormatTarget& ft, const ::xml_schema::String& x, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); void MgmtData (::XMLFormatTarget& ft, const ::xml_schema::String& x, ::xml_schema::ErrorHandler& eh, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); void MgmtData (::XMLFormatTarget& ft, const ::xml_schema::String& x, ::DOMErrorHandler& eh, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); // Serialize to an existing DOMDocument. // void MgmtData (::DOMDocument& d, const ::xml_schema::String& x, ::xml_schema::Flags f = 0); // Serialize to a new DOMDocument. // ::xml_schema::dom::auto_ptr< ::DOMDocument > MgmtData (const ::xml_schema::String& x, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), ::xml_schema::Flags f = 0); // Serialize to std::ostream. // void KeyValue (::std::ostream& os, const ::xmldsig::KeyValueType& x, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); void KeyValue (::std::ostream& os, const ::xmldsig::KeyValueType& x, ::xml_schema::ErrorHandler& eh, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); void KeyValue (::std::ostream& os, const ::xmldsig::KeyValueType& x, ::DOMErrorHandler& eh, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); // Serialize to XMLFormatTarget. // void KeyValue (::XMLFormatTarget& ft, const ::xmldsig::KeyValueType& x, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); void KeyValue (::XMLFormatTarget& ft, const ::xmldsig::KeyValueType& x, ::xml_schema::ErrorHandler& eh, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); void KeyValue (::XMLFormatTarget& ft, const ::xmldsig::KeyValueType& x, ::DOMErrorHandler& eh, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); // Serialize to an existing DOMDocument. // void KeyValue (::DOMDocument& d, const ::xmldsig::KeyValueType& x, ::xml_schema::Flags f = 0); // Serialize to a new DOMDocument. // ::xml_schema::dom::auto_ptr< ::DOMDocument > KeyValue (const ::xmldsig::KeyValueType& x, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), ::xml_schema::Flags f = 0); void operator<< (::DOMElement&, const KeyValueType&); // Serialize to std::ostream. // void RetrievalMethod (::std::ostream& os, const ::xmldsig::RetrievalMethodType& x, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); void RetrievalMethod (::std::ostream& os, const ::xmldsig::RetrievalMethodType& x, ::xml_schema::ErrorHandler& eh, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); void RetrievalMethod (::std::ostream& os, const ::xmldsig::RetrievalMethodType& x, ::DOMErrorHandler& eh, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); // Serialize to XMLFormatTarget. // void RetrievalMethod (::XMLFormatTarget& ft, const ::xmldsig::RetrievalMethodType& x, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); void RetrievalMethod (::XMLFormatTarget& ft, const ::xmldsig::RetrievalMethodType& x, ::xml_schema::ErrorHandler& eh, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); void RetrievalMethod (::XMLFormatTarget& ft, const ::xmldsig::RetrievalMethodType& x, ::DOMErrorHandler& eh, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); // Serialize to an existing DOMDocument. // void RetrievalMethod (::DOMDocument& d, const ::xmldsig::RetrievalMethodType& x, ::xml_schema::Flags f = 0); // Serialize to a new DOMDocument. // ::xml_schema::dom::auto_ptr< ::DOMDocument > RetrievalMethod (const ::xmldsig::RetrievalMethodType& x, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), ::xml_schema::Flags f = 0); void operator<< (::DOMElement&, const RetrievalMethodType&); // Serialize to std::ostream. // void X509Data (::std::ostream& os, const ::xmldsig::X509DataType& x, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); void X509Data (::std::ostream& os, const ::xmldsig::X509DataType& x, ::xml_schema::ErrorHandler& eh, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); void X509Data (::std::ostream& os, const ::xmldsig::X509DataType& x, ::DOMErrorHandler& eh, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); // Serialize to XMLFormatTarget. // void X509Data (::XMLFormatTarget& ft, const ::xmldsig::X509DataType& x, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); void X509Data (::XMLFormatTarget& ft, const ::xmldsig::X509DataType& x, ::xml_schema::ErrorHandler& eh, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); void X509Data (::XMLFormatTarget& ft, const ::xmldsig::X509DataType& x, ::DOMErrorHandler& eh, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); // Serialize to an existing DOMDocument. // void X509Data (::DOMDocument& d, const ::xmldsig::X509DataType& x, ::xml_schema::Flags f = 0); // Serialize to a new DOMDocument. // ::xml_schema::dom::auto_ptr< ::DOMDocument > X509Data (const ::xmldsig::X509DataType& x, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), ::xml_schema::Flags f = 0); void operator<< (::DOMElement&, const X509DataType&); void operator<< (::DOMElement&, const X509IssuerSerialType&); // Serialize to std::ostream. // void PGPData (::std::ostream& os, const ::xmldsig::PGPDataType& x, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); void PGPData (::std::ostream& os, const ::xmldsig::PGPDataType& x, ::xml_schema::ErrorHandler& eh, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); void PGPData (::std::ostream& os, const ::xmldsig::PGPDataType& x, ::DOMErrorHandler& eh, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); // Serialize to XMLFormatTarget. // void PGPData (::XMLFormatTarget& ft, const ::xmldsig::PGPDataType& x, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); void PGPData (::XMLFormatTarget& ft, const ::xmldsig::PGPDataType& x, ::xml_schema::ErrorHandler& eh, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); void PGPData (::XMLFormatTarget& ft, const ::xmldsig::PGPDataType& x, ::DOMErrorHandler& eh, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); // Serialize to an existing DOMDocument. // void PGPData (::DOMDocument& d, const ::xmldsig::PGPDataType& x, ::xml_schema::Flags f = 0); // Serialize to a new DOMDocument. // ::xml_schema::dom::auto_ptr< ::DOMDocument > PGPData (const ::xmldsig::PGPDataType& x, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), ::xml_schema::Flags f = 0); void operator<< (::DOMElement&, const PGPDataType&); // Serialize to std::ostream. // void SPKIData (::std::ostream& os, const ::xmldsig::SPKIDataType& x, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); void SPKIData (::std::ostream& os, const ::xmldsig::SPKIDataType& x, ::xml_schema::ErrorHandler& eh, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); void SPKIData (::std::ostream& os, const ::xmldsig::SPKIDataType& x, ::DOMErrorHandler& eh, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); // Serialize to XMLFormatTarget. // void SPKIData (::XMLFormatTarget& ft, const ::xmldsig::SPKIDataType& x, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); void SPKIData (::XMLFormatTarget& ft, const ::xmldsig::SPKIDataType& x, ::xml_schema::ErrorHandler& eh, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); void SPKIData (::XMLFormatTarget& ft, const ::xmldsig::SPKIDataType& x, ::DOMErrorHandler& eh, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); // Serialize to an existing DOMDocument. // void SPKIData (::DOMDocument& d, const ::xmldsig::SPKIDataType& x, ::xml_schema::Flags f = 0); // Serialize to a new DOMDocument. // ::xml_schema::dom::auto_ptr< ::DOMDocument > SPKIData (const ::xmldsig::SPKIDataType& x, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), ::xml_schema::Flags f = 0); void operator<< (::DOMElement&, const SPKIDataType&); // Serialize to std::ostream. // void Object (::std::ostream& os, const ::xmldsig::ObjectType& x, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); void Object (::std::ostream& os, const ::xmldsig::ObjectType& x, ::xml_schema::ErrorHandler& eh, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); void Object (::std::ostream& os, const ::xmldsig::ObjectType& x, ::DOMErrorHandler& eh, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); // Serialize to XMLFormatTarget. // void Object (::XMLFormatTarget& ft, const ::xmldsig::ObjectType& x, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); void Object (::XMLFormatTarget& ft, const ::xmldsig::ObjectType& x, ::xml_schema::ErrorHandler& eh, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); void Object (::XMLFormatTarget& ft, const ::xmldsig::ObjectType& x, ::DOMErrorHandler& eh, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); // Serialize to an existing DOMDocument. // void Object (::DOMDocument& d, const ::xmldsig::ObjectType& x, ::xml_schema::Flags f = 0); // Serialize to a new DOMDocument. // ::xml_schema::dom::auto_ptr< ::DOMDocument > Object (const ::xmldsig::ObjectType& x, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), ::xml_schema::Flags f = 0); void operator<< (::DOMElement&, const ObjectType&); // Serialize to std::ostream. // void Manifest (::std::ostream& os, const ::xmldsig::ManifestType& x, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); void Manifest (::std::ostream& os, const ::xmldsig::ManifestType& x, ::xml_schema::ErrorHandler& eh, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); void Manifest (::std::ostream& os, const ::xmldsig::ManifestType& x, ::DOMErrorHandler& eh, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); // Serialize to XMLFormatTarget. // void Manifest (::XMLFormatTarget& ft, const ::xmldsig::ManifestType& x, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); void Manifest (::XMLFormatTarget& ft, const ::xmldsig::ManifestType& x, ::xml_schema::ErrorHandler& eh, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); void Manifest (::XMLFormatTarget& ft, const ::xmldsig::ManifestType& x, ::DOMErrorHandler& eh, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); // Serialize to an existing DOMDocument. // void Manifest (::DOMDocument& d, const ::xmldsig::ManifestType& x, ::xml_schema::Flags f = 0); // Serialize to a new DOMDocument. // ::xml_schema::dom::auto_ptr< ::DOMDocument > Manifest (const ::xmldsig::ManifestType& x, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), ::xml_schema::Flags f = 0); void operator<< (::DOMElement&, const ManifestType&); // Serialize to std::ostream. // void SignatureProperties (::std::ostream& os, const ::xmldsig::SignaturePropertiesType& x, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); void SignatureProperties (::std::ostream& os, const ::xmldsig::SignaturePropertiesType& x, ::xml_schema::ErrorHandler& eh, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); void SignatureProperties (::std::ostream& os, const ::xmldsig::SignaturePropertiesType& x, ::DOMErrorHandler& eh, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); // Serialize to XMLFormatTarget. // void SignatureProperties (::XMLFormatTarget& ft, const ::xmldsig::SignaturePropertiesType& x, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); void SignatureProperties (::XMLFormatTarget& ft, const ::xmldsig::SignaturePropertiesType& x, ::xml_schema::ErrorHandler& eh, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); void SignatureProperties (::XMLFormatTarget& ft, const ::xmldsig::SignaturePropertiesType& x, ::DOMErrorHandler& eh, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); // Serialize to an existing DOMDocument. // void SignatureProperties (::DOMDocument& d, const ::xmldsig::SignaturePropertiesType& x, ::xml_schema::Flags f = 0); // Serialize to a new DOMDocument. // ::xml_schema::dom::auto_ptr< ::DOMDocument > SignatureProperties (const ::xmldsig::SignaturePropertiesType& x, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), ::xml_schema::Flags f = 0); void operator<< (::DOMElement&, const SignaturePropertiesType&); // Serialize to std::ostream. // void SignatureProperty (::std::ostream& os, const ::xmldsig::SignaturePropertyType& x, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); void SignatureProperty (::std::ostream& os, const ::xmldsig::SignaturePropertyType& x, ::xml_schema::ErrorHandler& eh, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); void SignatureProperty (::std::ostream& os, const ::xmldsig::SignaturePropertyType& x, ::DOMErrorHandler& eh, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); // Serialize to XMLFormatTarget. // void SignatureProperty (::XMLFormatTarget& ft, const ::xmldsig::SignaturePropertyType& x, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); void SignatureProperty (::XMLFormatTarget& ft, const ::xmldsig::SignaturePropertyType& x, ::xml_schema::ErrorHandler& eh, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); void SignatureProperty (::XMLFormatTarget& ft, const ::xmldsig::SignaturePropertyType& x, ::DOMErrorHandler& eh, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); // Serialize to an existing DOMDocument. // void SignatureProperty (::DOMDocument& d, const ::xmldsig::SignaturePropertyType& x, ::xml_schema::Flags f = 0); // Serialize to a new DOMDocument. // ::xml_schema::dom::auto_ptr< ::DOMDocument > SignatureProperty (const ::xmldsig::SignaturePropertyType& x, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), ::xml_schema::Flags f = 0); void operator<< (::DOMElement&, const SignaturePropertyType&); void operator<< (::DOMElement&, const HMACOutputLengthType&); void operator<< (::DOMAttr&, const HMACOutputLengthType&); void operator<< (::xml_schema::ListStream&, const HMACOutputLengthType&); // Serialize to std::ostream. // void DSAKeyValue (::std::ostream& os, const ::xmldsig::DSAKeyValueType& x, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); void DSAKeyValue (::std::ostream& os, const ::xmldsig::DSAKeyValueType& x, ::xml_schema::ErrorHandler& eh, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); void DSAKeyValue (::std::ostream& os, const ::xmldsig::DSAKeyValueType& x, ::DOMErrorHandler& eh, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); // Serialize to XMLFormatTarget. // void DSAKeyValue (::XMLFormatTarget& ft, const ::xmldsig::DSAKeyValueType& x, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); void DSAKeyValue (::XMLFormatTarget& ft, const ::xmldsig::DSAKeyValueType& x, ::xml_schema::ErrorHandler& eh, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); void DSAKeyValue (::XMLFormatTarget& ft, const ::xmldsig::DSAKeyValueType& x, ::DOMErrorHandler& eh, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); // Serialize to an existing DOMDocument. // void DSAKeyValue (::DOMDocument& d, const ::xmldsig::DSAKeyValueType& x, ::xml_schema::Flags f = 0); // Serialize to a new DOMDocument. // ::xml_schema::dom::auto_ptr< ::DOMDocument > DSAKeyValue (const ::xmldsig::DSAKeyValueType& x, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), ::xml_schema::Flags f = 0); void operator<< (::DOMElement&, const DSAKeyValueType&); // Serialize to std::ostream. // void RSAKeyValue (::std::ostream& os, const ::xmldsig::RSAKeyValueType& x, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); void RSAKeyValue (::std::ostream& os, const ::xmldsig::RSAKeyValueType& x, ::xml_schema::ErrorHandler& eh, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); void RSAKeyValue (::std::ostream& os, const ::xmldsig::RSAKeyValueType& x, ::DOMErrorHandler& eh, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); // Serialize to XMLFormatTarget. // void RSAKeyValue (::XMLFormatTarget& ft, const ::xmldsig::RSAKeyValueType& x, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); void RSAKeyValue (::XMLFormatTarget& ft, const ::xmldsig::RSAKeyValueType& x, ::xml_schema::ErrorHandler& eh, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); void RSAKeyValue (::XMLFormatTarget& ft, const ::xmldsig::RSAKeyValueType& x, ::DOMErrorHandler& eh, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), const ::std::string& e = "UTF-8", ::xml_schema::Flags f = 0); // Serialize to an existing DOMDocument. // void RSAKeyValue (::DOMDocument& d, const ::xmldsig::RSAKeyValueType& x, ::xml_schema::Flags f = 0); // Serialize to a new DOMDocument. // ::xml_schema::dom::auto_ptr< ::DOMDocument > RSAKeyValue (const ::xmldsig::RSAKeyValueType& x, const ::xml_schema::NamespaceInfomap& m = ::xml_schema::NamespaceInfomap (), ::xml_schema::Flags f = 0); void operator<< (::DOMElement&, const RSAKeyValueType&); } #include // Begin epilogue. // // // End epilogue. #endif // XMLDSIG_CORE_SCHEMA_H -------------- next part -------------- A non-text attachment was scrubbed... Name: Makefile Type: application/octet-stream Size: 35409 bytes Desc: Makefile Url : http://codesynthesis.com/pipermail/xsd-users/attachments/20110429/178252c3/Makefile-0001.obj From boris at codesynthesis.com Fri Apr 29 12:06:43 2011 From: boris at codesynthesis.com (Boris Kolpackov) Date: Fri Apr 29 11:48:51 2011 Subject: [xsd-users] Re: FpML output is not being produced properly In-Reply-To: <4639C400EF7C314A92C03309C5B021E8038D580CCA@ABMEXCMBCLS1.akbankdmn.akb> References: <4639C400EF7C314A92C03309C5B021E8038CBEBB4C@ABMEXCMBCLS1.akbankdmn.akb> <4639C400EF7C314A92C03309C5B021E8038CFD96F9@ABMEXCMBCLS1.akbankdmn.akb> <4639C400EF7C314A92C03309C5B021E8038D095B0A@ABMEXCMBCLS1.akbankdmn.akb> <4639C400EF7C314A92C03309C5B021E8038D3AAA53@ABMEXCMBCLS1.akbankdmn.akb> <4639C400EF7C314A92C03309C5B021E8038D580CCA@ABMEXCMBCLS1.akbankdmn.akb> Message-ID: Hi Cuneyt, Cuneyt.Karadag@akbank.com writes: > xmldsig-core-schema.xsd: warning T004: generating parsing and > serialization functions for 24 global elements > > [...] > > Is this normal? It is a warning that informs that you are getting a lot more code than is probably necessary. You can resolve it by adding --root-element-none when compiling this (and only this) schema. > /opt/SUNWspro/bin/CC -D_RWCONFIG=12d -features=no%localfor ... > > "xmldsig-core-schema.cc", line 13086: Error: Multiple declaration for b. This is caused by the -features=no%localfor option. If you remove it, you won't get any of these errors. > I have fixed these errors by changing the latter variables as n1 b1, > n2 b2, ... and compiled again. That's not the only thing that you have changed in the generated code. You also removed all the xercesc:: namespace qualifications and that's what is causing the errors. You should have mentioned this from the beginning. You seem to have a non-standard build of Xerces-C++ with namespace disabled. We don't support this configuration. As a result, you have two options: 1. Change to the standard Xerces-C++ build with namespaces. You can get a pre-built binary for Solaris from the Xerces-C++ website. 2. Fix the XSD runtime library (libxsd) yourself not to use Xerces-C++ namespaces. To find all the places that need changing, search for XERCES_CPP_NAMESPACE. Boris