-
-
Notifications
You must be signed in to change notification settings - Fork 98
Supporting xml_root_prefix #182
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Why a specific prefix is important? If the namespace for a generated prefix is correct, any "good" xml parser should work well with it |
The lib haven't generated a prefix at all yet.
I try to match an example xml provided by the xsd author in a test and the prefixes are present. So I thought they are mandatory, aren't they? |
Could you please provide the expected xml and the currently generated one?
…On Fri, Feb 14, 2025, 08:50 David Pommer ***@***.***> wrote:
The lib haven't generated a prefix at all yet.
xmlns:dip="http://itzbund.de/ozg/bzst/post/dip/v1/" doesn't result in dip:
or xmlns:dpi="urn:oecd:ties:dpi:v1" doesn't in dpi:.
I try to match an example xml provided by the xsd author in a test and the
prefixes are present. So I thought they are mandatory, aren't they?
—
Reply to this email directly, view it on GitHub
<#182 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAF5UJZ5XCLHY7S3TMKJROL2PWN5PAVCNFSM6AAAAABW2YB6Q6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMNJYGUYTIMRTGI>
.
You are receiving this because you commented.Message ID:
***@***.***>
[image: dyron]*dyron* left a comment (goetas-webservices/xsd2php#182)
<#182 (comment)>
The lib haven't generated a prefix at all yet.
xmlns:dip="http://itzbund.de/ozg/bzst/post/dip/v1/" doesn't result in dip:
or xmlns:dpi="urn:oecd:ties:dpi:v1" doesn't in dpi:.
I try to match an example xml provided by the xsd author in a test and the
prefixes are present. So I thought they are mandatory, aren't they?
—
Reply to this email directly, view it on GitHub
<#182 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAF5UJZ5XCLHY7S3TMKJROL2PWN5PAVCNFSM6AAAAABW2YB6Q6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMNJYGUYTIMRTGI>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Expected xml:
Actual
Current config.yml
|
Both document semantically are the same.
Are you sure the "other part" has a decent xml implementation? |
No, but I'll give it a try. Since it's a government institution I expect to match the provided example. |
While implementing https://www.bzst.de/DE/Unternehmen/Intern_Informationsaustausch/DAC7/dac7_node.html we need the ability to set the xml_root_prefix config (see https://github.com/schmittjoh/serializer/blob/master/src/Metadata/Driver/YamlDriver.php#L383)
Example:
The text was updated successfully, but these errors were encountered: