diff --git a/BMECat.net/BMECat.net.csproj b/BMECat.net/BMECat.net.csproj index 0bcba73..f41ce26 100644 --- a/BMECat.net/BMECat.net.csproj +++ b/BMECat.net/BMECat.net.csproj @@ -5,7 +5,7 @@ Stephan Stapel, stephan@s2-industries.com Apache-2.0 https://github.com/stephanstapel/BMECat.net - 4.2.0 + 4.2.1 Stephan Stapel, s2 industries, 2023 README.md https://github.com/stephanstapel/BMECat.net @@ -14,7 +14,7 @@ BMECat.net is a .net open source library that allows you to read and write BMEcat descriptions would be a software component that provides developers with a set of tools and functionalities to manipulate BMEcat files programmatically. This library would enable software applications to easily integrate BMEcat support, allowing for the efficient exchange of product information between different systems and partners. Developers could use this library to parse, create, and modify BMEcat documents, accessing product data in a standardized and structured way. Overall, this library would simplify the development of software applications that rely on BMEcat for product information exchange. True snupkg - 4.2.0.0 + 4.2.1.0 true s2industries.BMECat.net BMECat.net.snk diff --git a/BMECat.net/BMECatReader2005.cs b/BMECat.net/BMECatReader2005.cs index 875797f..b97ac68 100644 --- a/BMECat.net/BMECatReader2005.cs +++ b/BMECat.net/BMECatReader2005.cs @@ -314,15 +314,15 @@ private static Product _ReadProduct(XmlNode productNode, XmlNamespaceManager nsm DescriptionShort = XmlUtils.nodeAsString(productNode, "./bmecat:PRODUCT_DETAILS/bmecat:DESCRIPTION_SHORT", nsmgr), DescriptionLong = XmlUtils.nodeAsString(productNode, "./bmecat:PRODUCT_DETAILS/bmecat:DESCRIPTION_LONG", nsmgr), Stock = XmlUtils.nodeAsInt(productNode, "./bmecat:PRODUCT_DETAILS/bmecat:STOCK", nsmgr), - ManufacturerPID = XmlUtils.nodeAsString(productNode, "./ARTICLE_DETAILS/MANUFACTURER_PID", nsmgr), - ManufacturerName = XmlUtils.nodeAsString(productNode, "./ARTICLE_DETAILS/MANUFACTURER_NAME", nsmgr), - ManufacturerTypeDescription = XmlUtils.nodeAsString(productNode, "./ARTICLE_DETAILS/MANUFACTURER_TYPE_DESCR", nsmgr), - ERPGroupSupplier = XmlUtils.nodeAsString(productNode, "./ARTICLE_DETAILS/ERP_GROUP_SUPPLIER", nsmgr), - ERPGroupBuyer = XmlUtils.nodeAsString(productNode, "./ARTICLE_DETAILS/ERP_GROUP_BUYER", nsmgr), + ManufacturerPID = XmlUtils.nodeAsString(productNode, "./bmecat:PRODUCT_DETAILS/bmecat:MANUFACTURER_PID", nsmgr), + ManufacturerName = XmlUtils.nodeAsString(productNode, "./bmecat:PRODUCT_DETAILS/bmecat:MANUFACTURER_NAME", nsmgr), + ManufacturerTypeDescription = XmlUtils.nodeAsString(productNode, "./bmecat:PRODUCT_DETAILS/bmecat:MANUFACTURER_TYPE_DESCR", nsmgr), + ERPGroupSupplier = XmlUtils.nodeAsString(productNode, "./bmecat:PRODUCT_DETAILS/bmecat:ERP_GROUP_SUPPLIER", nsmgr), + ERPGroupBuyer = XmlUtils.nodeAsString(productNode, "./bmecat:PRODUCT_DETAILS/bmecat:ERP_GROUP_BUYER", nsmgr), }; // take care of proper EAN/ GTIN processing - string supplierAltPid = XmlUtils.nodeAsString(productNode, "./ARTICLE_DETAILS/SUPPLIER_ALT_PID", nsmgr); + string supplierAltPid = XmlUtils.nodeAsString(productNode, "./bmecat:PRODUCT_DETAILS/bmecat:SUPPLIER_ALT_PID", nsmgr); if (!String.IsNullOrEmpty(supplierAltPid)) { product.PIds.Add(new ProductId()