XML सामान्य नियम

सामान्य नियम

एक एक्सएमएल फ़ाइल के माध्यम से प्रमाणीकरण डेटा सफलतापूर्वक अपलोड करने के लिए यहां सामान्य नियम हैं:

एक्सएमएल फ़ाइल प्रारूप को समझना

महत्वपूर्ण ध्यान दें

  1. एक्सएमएल दस्तावेज़ों में सभी अन्य तत्वों के मूल तत्व को शामिल करना चाहिए: प्रमाण प्रेषण के लिए, मूल तत्व <client_certs></client_certs> है\

  2. यह पंक्ति एक्सएमएल प्रोलाग कहलाती है: <?xml version="1.0" encoding="UTF-8?"> एक्सएमएल प्रोलाग वैकल्पिक है। यदि यह मौजूद है, तो यह दस्तावेज़ में सबसे पहले होना चाहिए। एक्सएमएल दस्तावेज़ों में अंतरराष्ट्रीय वर्ण, जैसे नॉर्वेजियन øæå या फ़्रेंच êèé, शामिल किए जा सकते हैं। त्रुटियों से बचने के लिए, आपको उपयोग किए गए एनकोडिंग को स्पष्ट करना चाहिए, या अपने एक्सएमएल फ़ाइलों को UTF-8 के रूप में सहेजना चाहिए। UTF-8 एक्सएमएल दस्तावेज़ों के लिए डिफ़ॉल्ट वर्ण एनकोडिंग है।\

  3. सभी एक्सएमएल तत्वों में एक बंद टैग होना चाहिए एक्सएमएल टैग मामूली रूप से होते हैं। यह टैग टैग से अलग होता है। ओपनिंग और क्लोजिंग टैग एक ही रुप में लिखे जाने चाहिए: जो भी टैग खुले छोड़ दिए जाएंगे, उससे त्रुटि होगी: Invalid XML file uploaded गलत: <certification_body_identity_number>%VALUE GOES HERE सही: <certification_body_identity_number>%VALUE GOES HERE</certification_body_identity_number> \

  4. एक्सएमएल तत्वों को सही ढंग से नेस्टेड होना चाहिए

    एक्सएमएल में, सभी तत्वों को एक दूसरे के भीतर सही ढंग से नेस्टेड होना चाहिए: गलत: <certification_identity_number> <certification>CERT-0001</certification_identity_number> </certification> सही: <certification> <certification_identity_number>CERT-0001</certification_identity_number></certification>\

  5. टैग में खाली जगह नहीं हो सकती उदा। <certification identity number> सिस्टम इस लिपिकरण को पहचान नहीं करेगा और यह त्रुटि दिखाएगा: Invalid XML file uploaded\

  6. एक्सएमएल फ़ाइल अपलोड करते समय सभी मुख्य टैगों को शामिल किया जाना चाहिए, अगर मुख्य टैग गायब होंगे, तो सिस्टम एक त्रुटि दिखाएगा: Invalid XML file uploaded\

  7. If the certification_standard_and_scheme and its children are empty, the system will throw an error: Invalid XML file uploaded

  8. Invalid tags for optional fields will not trigger an error, but the data added within the tag won't be displayed in the system \

    Correct:<original_issue_date>01/20/2021</original_issue_date> Wrong (from file): <orig_issued_date>01/20/2021</orig_issued_date> Data displayed in the system Original Issued Date: (empty)

DOs and DONTs when formatting data in an XML

Things to keep in mind when populating your data into an XML file.

DOs

  1. Single data value entry per tag

    Ensure only single data values are entered into one tag. When uploading multiple data values don’t include more than one data value in one tag.

  2. Keep data format consistent

    A mismatch in spaces, capitalization, and other types of formatting will cause an error and data will not be matched

  3. Keep the syntax similar to what is provided in the template

DONTs

  1. Do not leave the mandated fields blank or empty

  2. Do not add multiple data to a 1 tag

  3. Do not merge multiple data to a 1 tag

Last updated