From dawhite32 at gmail.com Tue Oct 14 00:09:55 2025 From: dawhite32 at gmail.com (David White) Date: Tue Oct 14 00:10:28 2025 Subject: [xsd-users] Validation of XML files using a cached schema with xsd parser Message-ID: Hi Boris, Does the C++/Parser support validation of xml files using a cached (or hard-coded) schema (rather than pointing to an external schema via xsi:noNamespaceSchemaLocation="schema.xsd"), as suggested by you for C++/Tree [1]? If so, could you please provide a basic example? Many thanks. Kind regards, David. [1] https://codesynthesis.com/pipermail/xsd-users/2006-September/000535.html From boris at codesynthesis.com Tue Oct 14 10:37:59 2025 From: boris at codesynthesis.com (Boris Kolpackov) Date: Tue Oct 14 10:38:10 2025 Subject: [xsd-users] Validation of XML files using a cached schema with xsd parser In-Reply-To: References: Message-ID: David White writes: > Does the C++/Parser support validation of xml files using a cached (or > hard-coded) schema (rather than pointing to an external schema via > xsi:noNamespaceSchemaLocation="schema.xsd"), as suggested by you for > C++/Tree [1]? If so, could you please provide a basic example? Assuming you are using Xerces-C++ as the underlying parser, then yes. I don't have an example handy, but the following section from the documentation should give you some hints (in particular, look at no_namespace_schema_location() in properties): https://codesynthesis.com/projects/xsd/documentation/cxx/parser/guide/#7.1 From stefan at konink.de Tue Oct 14 11:12:00 2025 From: stefan at konink.de (Stefan de Konink) Date: Tue Oct 14 11:12:19 2025 Subject: [xsd-users] Validation of XML files using a cached schema with xsd parser In-Reply-To: References: Message-ID: <80f6666c-eb41-4d5d-8220-98d869e0119f@konink.de> Skipped content of type multipart/mixed-------------- next part -------------- A non-text attachment was scrubbed... Name: OpenPGP_signature.asc Type: application/pgp-signature Size: 840 bytes Desc: OpenPGP digital signature Url : https://codesynthesis.com/pipermail/xsd-users/attachments/20251014/c6cb4eba/OpenPGP_signature.pgp