Skip to content

Conversation

@waterkip
Copy link
Collaborator

This allows using the XML tag without having to define strict conformance. This allows us to use XML::Generator like so:

use XML::Generator;
my $gen = XML::Generator->new('conformance' => loose, xml => { version =>
"1.0", enconding => 'UTF-8');
$gen->xml($gen->foo);

which returns <?xml version="1.0" encoding="UTF-8" standalone="yes"?>

@waterkip waterkip force-pushed the GL-xml-decl-with_instantion branch 2 times, most recently from c10af12 to cfefef9 Compare April 16, 2023 12:52
This allows using the XML tag without having to define strict conformance. This
allows us to use XML::Generator like so:

    use XML::Generator;
    my $gen = XML::Generator->new('conformance' => loose, xml => { version =>
    "1.0", enconding => 'UTF-8');
    $gen->xml($gen->foo);

which returns

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?><foo />

Signed-off-by: Wesley Schwengle <waterkip@cpan.org>
@waterkip waterkip force-pushed the GL-xml-decl-with_instantion branch from cfefef9 to a49e891 Compare April 16, 2023 17:21
@timlegge
Copy link
Contributor

LGTM

@timlegge timlegge merged commit 4690b33 into perl-net-saml2:main Apr 16, 2023
@waterkip waterkip deleted the GL-xml-decl-with_instantion branch July 8, 2023 21:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants