OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

ubl-comment message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Problem with Schema file, UBL Invoice 2.1


Hello,


I don't know why it is impossible to get the correct (valid) Schema file (xsd file) from this ubl e-invoice 2.1 xml file, or from original xsd fileÂ

https://docs.oasis-open.org/ubl/os-UBL-2.1/xsd/maindoc/UBL-Invoice-2.1.xsd

I try to do it through different programs, but the resulting xsd always has an error.

For example, this is an error which is popping up on the screen for the file that is obtained when .xsd is generated from valid xml file, through the "xsd.exe" program:

The "urn:oasis:specification:ubl:schema:xsd:CommonExtensionComponents-2:Party'element is not declared'

OR

https://www.utilities-online.info/xsdvalidation

When I do validation xml and xsd file they both Ok. But when I try validate xml againstÂxsd I got the error:

- failed to load external entity "../common/UBL-CommonAggregateComponents-2.1.xsd"

- Element '{http://www.w3.org/2001/XMLSchema}import': Failed to locate a schema at location '../common/UBL-CommonAggregateComponents-2.1.xsd'. Skipping the import.

- failed to load external entity "../common/UBL-CommonBasicComponents-2.1.xsd"

- Element '{http://www.w3.org/2001/XMLSchema}import': Failed to locate a schema at location '../common/UBL-CommonBasicComponents-2.1.xsd'. Skipping the import.

- failed to load external entity "../common/UBL-CommonExtensionComponents-2.1.xsd"

- Element '{http://www.w3.org/2001/XMLSchema}import': Failed to locate a schema at location '../common/UBL-CommonExtensionComponents-2.1.xsd'. Skipping the import.

- Element '{http://www.w3.org/2001/XMLSchema}element', attribute 'ref': The QName value '{urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2}UBLExtensions' does not resolve to a(n) element declaration.

- Element '{http://www.w3.org/2001/XMLSchema}element', attribute 'ref': The QName value '{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}UBLVersionID' does not resolve to a(n) element declaration.

- Element '{http://www.w3.org/2001/XMLSchema}element', attribute 'ref': The QName value '{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}CustomizationID' does not resolve to a(n) element declaration.

- Element '{http://www.w3.org/2001/XMLSchema}element', attribute 'ref': The QName value '{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}ProfileID' does not resolve to a(n) element declaration.

- Element '{http://www.w3.org/2001/XMLSchema}element', attribute 'ref': The QName value '{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}ProfileExecutionID' does not resolve to a(n) element declaration.

- Element '{http://www.w3.org/2001/XMLSchema}element', attribute 'ref': The QName value '{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}ID' does not resolve to a(n) element declaration.

- Element '{http://www.w3.org/2001/XMLSchema}element', attribute 'ref': The QName value '{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}CopyIndicator' does not resolve to a(n) element declaration.

- Element '{http://www.w3.org/2001/XMLSchema}element', attribute 'ref': The QName value '{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}UUID' does not resolve to a(n) element declaration.

- Element '{http://www.w3.org/2001/XMLSchema}element', attribute 'ref': The QName value '{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}IssueDate' does not resolve to a(n) element declaration.

- Element '{http://www.w3.org/2001/XMLSchema}element', attribute 'ref': The QName value '{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}IssueTime' does not resolve to a(n) element declaration.

- Element '{http://www.w3.org/2001/XMLSchema}element', attribute 'ref': The QName value '{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}DueDate' does not resolve to a(n) element declaration.

- Element '{http://www.w3.org/2001/XMLSchema}element', attribute 'ref': The QName value '{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}InvoiceTypeCode' does not resolve to a(n) element declaration.

- Element '{http://www.w3.org/2001/XMLSchema}element', attribute 'ref': The QName value '{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}Note' does not resolve to a(n) element declaration.

- Element '{http://www.w3.org/2001/XMLSchema}element', attribute 'ref': The QName value '{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}TaxPointDate' does not resolve to a(n) element declaration.

- Element '{http://www.w3.org/2001/XMLSchema}element', attribute 'ref': The QName value '{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}DocumentCurrencyCode' does not resolve to a(n) element declaration.

- Element '{http://www.w3.org/2001/XMLSchema}element', attribute 'ref': The QName value '{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}TaxCurrencyCode' does not resolve to a(n) element declaration.

- Element '{http://www.w3.org/2001/XMLSchema}element', attribute 'ref': The QName value '{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}PricingCurrencyCode' does not resolve to a(n) element declaration.

- Element '{http://www.w3.org/2001/XMLSchema}element', attribute 'ref': The QName value '{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}PaymentCurrencyCode' does not resolve to a(n) element declaration.

- Element '{http://www.w3.org/2001/XMLSchema}element', attribute 'ref': The QName value '{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}PaymentAlternativeCurrencyCode' does not resolve to a(n) element declaration.

- Element '{http://www.w3.org/2001/XMLSchema}element', attribute 'ref': The QName value '{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}AccountingCostCode' does not resolve to a(n) element declaration.

- Element '{http://www.w3.org/2001/XMLSchema}element', attribute 'ref': The QName value '{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}AccountingCost' does not resolve to a(n) element declaration.

- Element '{http://www.w3.org/2001/XMLSchema}element', attribute 'ref': The QName value '{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}LineCountNumeric' does not resolve to a(n) element declaration.

- Element '{http://www.w3.org/2001/XMLSchema}element', attribute 'ref': The QName value '{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}BuyerReference' does not resolve to a(n) element declaration.

- Element '{http://www.w3.org/2001/XMLSchema}element', attribute 'ref': The QName value '{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}InvoicePeriod' does not resolve to a(n) element declaration.

- Element '{http://www.w3.org/2001/XMLSchema}element', attribute 'ref': The QName value '{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}OrderReference' does not resolve to a(n) element declaration.

- Element '{http://www.w3.org/2001/XMLSchema}element', attribute 'ref': The QName value '{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}BillingReference' does not resolve to a(n) element declaration.

- Element '{http://www.w3.org/2001/XMLSchema}element', attribute 'ref': The QName value '{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}DespatchDocumentReference' does not resolve to a(n) element declaration.

- Element '{http://www.w3.org/2001/XMLSchema}element', attribute 'ref': The QName value '{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}ReceiptDocumentReference' does not resolve to a(n) element declaration.

- Element '{http://www.w3.org/2001/XMLSchema}element', attribute 'ref': The QName value '{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}StatementDocumentReference' does not resolve to a(n) element declaration.

- Element '{http://www.w3.org/2001/XMLSchema}element', attribute 'ref': The QName value '{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}OriginatorDocumentReference' does not resolve to a(n) element declaration.

- Element '{http://www.w3.org/2001/XMLSchema}element', attribute 'ref': The QName value '{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}ContractDocumentReference' does not resolve to a(n) element declaration.

- Element '{http://www.w3.org/2001/XMLSchema}element', attribute 'ref': The QName value '{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}AdditionalDocumentReference' does not resolve to a(n) element declaration.

- Element '{http://www.w3.org/2001/XMLSchema}element', attribute 'ref': The QName value '{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}ProjectReference' does not resolve to a(n) element declaration.

- Element '{http://www.w3.org/2001/XMLSchema}element', attribute 'ref': The QName value '{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}Signature' does not resolve to a(n) element declaration.

- Element '{http://www.w3.org/2001/XMLSchema}element', attribute 'ref': The QName value '{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}AccountingSupplierParty' does not resolve to a(n) element declaration.

- Element '{http://www.w3.org/2001/XMLSchema}element', attribute 'ref': The QName value '{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}AccountingCustomerParty' does not resolve to a(n) element declaration.

- Element '{http://www.w3.org/2001/XMLSchema}element', attribute 'ref': The QName value '{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}PayeeParty' does not resolve to a(n) element declaration.

- Element '{http://www.w3.org/2001/XMLSchema}element', attribute 'ref': The QName value '{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}BuyerCustomerParty' does not resolve to a(n) element declaration.

- Element '{http://www.w3.org/2001/XMLSchema}element', attribute 'ref': The QName value '{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}SellerSupplierParty' does not resolve to a(n) element declaration.

- Element '{http://www.w3.org/2001/XMLSchema}element', attribute 'ref': The QName value '{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}TaxRepresentativeParty' does not resolve to a(n) element declaration.

- Element '{http://www.w3.org/2001/XMLSchema}element', attribute 'ref': The QName value '{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}Delivery' does not resolve to a(n) element declaration.

- Element '{http://www.w3.org/2001/XMLSchema}element', attribute 'ref': The QName value '{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}DeliveryTerms' does not resolve to a(n) element declaration.

- Element '{http://www.w3.org/2001/XMLSchema}element', attribute 'ref': The QName value '{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}PaymentMeans' does not resolve to a(n) element declaration.

- Element '{http://www.w3.org/2001/XMLSchema}element', attribute 'ref': The QName value '{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}PaymentTerms' does not resolve to a(n) element declaration.

- Element '{http://www.w3.org/2001/XMLSchema}element', attribute 'ref': The QName value '{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}PrepaidPayment' does not resolve to a(n) element declaration.

- Element '{http://www.w3.org/2001/XMLSchema}element', attribute 'ref': The QName value '{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}AllowanceCharge' does not resolve to a(n) element declaration.

- Element '{http://www.w3.org/2001/XMLSchema}element', attribute 'ref': The QName value '{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}TaxExchangeRate' does not resolve to a(n) element declaration.

- Element '{http://www.w3.org/2001/XMLSchema}element', attribute 'ref': The QName value '{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}PricingExchangeRate' does not resolve to a(n) element declaration.

- Element '{http://www.w3.org/2001/XMLSchema}element', attribute 'ref': The QName value '{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}PaymentExchangeRate' does not resolve to a(n) element declaration.

- Element '{http://www.w3.org/2001/XMLSchema}element', attribute 'ref': The QName value '{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}PaymentAlternativeExchangeRate' does not resolve to a(n) element declaration.

- Element '{http://www.w3.org/2001/XMLSchema}element', attribute 'ref': The QName value '{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}TaxTotal' does not resolve to a(n) element declaration.

- Element '{http://www.w3.org/2001/XMLSchema}element', attribute 'ref': The QName value '{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}WithholdingTaxTotal' does not resolve to a(n) element declaration.

- Element '{http://www.w3.org/2001/XMLSchema}element', attribute 'ref': The QName value '{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}LegalMonetaryTotal' does not resolve to a(n) element declaration.

- Element '{http://www.w3.org/2001/XMLSchema}element', attribute 'ref': The QName value '{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}InvoiceLine' does not resolve to a(n) element declaration.

Thanks, Slavica




[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]