Closed giansalex closed 4 years ago
This might be a bug in this library.
The InvoiceLine
element in urn:oasis:names:specification:ubl:schema:xsd:Invoice-2
is imported using ref
from urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2
, probably it should stay in the urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2
namespace.
Hello, I'm experiencing the same issue, I think that this PR is related https://github.com/goetas-webservices/xsd2php/pull/108
fixed in 0.4.0
Hello, I don't know if this is an error, i try
xsd2php
with UBL 2.1 xsdThis is autogenerated yaml for InvoiceLine section InvoiceType.yaml
After serialization, i get:
Then I change
xml_list:namespace
same toxml_element:namespace
After, i get expected result: