Re: [fpc-pascal] XML Canonicalization Support

2015-10-17 Thread Dariusz Mazur

On 2015-10-16 23:40, Mazola Winstrol wrote:
2015-10-16 15:19 GMT-03:00 Dariusz Mazur >:


I've do one

https://github.com/darekm/xades4fpc/blob/master/xmlc14n.pas


--
Darek


Very good news! Thanks a lot for the contribution!

What is the stability of the implementation?


Its using to connect with government servers from several years by many 
of my clients.

But no all examples are resolved.


--
Darek

___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] XML Canonicalization Support

2015-10-16 Thread Daniel Gaspary
On Fri, Oct 16, 2015 at 8:11 AM, Michael Van Canneyt
 wrote:
> Not to my knowledge.

The TDomParser has an option to cannonical form:

Parser := TDOMParser.Create;
Parser.Options.CanonicalForm:=True;


TXmlWriter seems to have support too.
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] XML Canonicalization Support

2015-10-16 Thread Michael Van Canneyt



On Fri, 16 Oct 2015, Daniel Gaspary wrote:


On Fri, Oct 16, 2015 at 8:11 AM, Michael Van Canneyt
 wrote:

Not to my knowledge.


The TDomParser has an option to cannonical form:

Parser := TDOMParser.Create;
Parser.Options.CanonicalForm:=True;


TXmlWriter seems to have support too.


Well, I learn every day. This is good news !!

Now to find out whether this is inclusive or exclusive canonical form :-)

Michael.
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] XML Canonicalization Support

2015-10-16 Thread Michael Van Canneyt



On Thu, 15 Oct 2015, Mazola Winstrol wrote:


Hello,

Does the fcl-xml package supports xml canonicalization?


Not to my knowledge. As far as I know, only the XML suite of eldos.com supports 
this.
It should be compileable with FPC (at least, it was in the past), but it is 
commercial.

Michael.
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal