@@ -545,7 +545,7 @@ impl DeserializeBytes for DefaultOpenContentModeType {
545
545
pub struct WildcardType {
546
546
pub id: Option<String>,
547
547
pub namespace: Option<NamespaceListType>,
548
- pub not_namespace: Option<NotNamespaceType >,
548
+ pub not_namespace: Option<BasicNamespaceListType >,
549
549
pub process_contents: ProcessContentsType,
550
550
pub annotation: Option<AnnotationElementType>,
551
551
}
@@ -687,7 +687,7 @@ impl WithDeserializer for OpenContentElementType {
687
687
pub struct AnyAttributeElementType {
688
688
pub id: Option<String>,
689
689
pub namespace: Option<NamespaceListType>,
690
- pub not_namespace: Option<NotNamespaceType >,
690
+ pub not_namespace: Option<BasicNamespaceListType >,
691
691
pub process_contents: ProcessContentsType,
692
692
pub not_q_name: Option<QnameListAType>,
693
693
pub annotation: Option<AnnotationElementType>,
@@ -731,7 +731,7 @@ impl DeserializeBytes for AllNNIType {
731
731
pub struct AnyElementType {
732
732
pub id: Option<String>,
733
733
pub namespace: Option<NamespaceListType>,
734
- pub not_namespace: Option<NotNamespaceType >,
734
+ pub not_namespace: Option<BasicNamespaceListType >,
735
735
pub process_contents: ProcessContentsType,
736
736
pub not_q_name: Option<QnameListType>,
737
737
pub min_occurs: usize,
@@ -869,8 +869,8 @@ impl DeserializeBytes for NamespaceListType {
869
869
}
870
870
}
871
871
#[derive(Debug, Clone, Default)]
872
- pub struct NotNamespaceType (pub Vec<BasicNamespaceListItemType>);
873
- impl DeserializeBytes for NotNamespaceType {
872
+ pub struct BasicNamespaceListType (pub Vec<BasicNamespaceListItemType>);
873
+ impl DeserializeBytes for BasicNamespaceListType {
874
874
fn deserialize_bytes<R>(reader: &R, bytes: &[u8]) -> Result<Self, Error>
875
875
where
876
876
R: DeserializeReader,
@@ -1063,21 +1063,6 @@ pub struct FieldElementType {
1063
1063
impl WithDeserializer for FieldElementType {
1064
1064
type Deserializer = quick_xml_deserialize::FieldElementTypeDeserializer;
1065
1065
}
1066
- #[derive(Debug, Clone, Default)]
1067
- pub struct BasicNamespaceListType(pub Vec<BasicNamespaceListItemType>);
1068
- impl DeserializeBytes for BasicNamespaceListType {
1069
- fn deserialize_bytes<R>(reader: &R, bytes: &[u8]) -> Result<Self, Error>
1070
- where
1071
- R: DeserializeReader,
1072
- {
1073
- Ok(Self(
1074
- bytes
1075
- .split(|b| *b == b' ' || *b == b'|' || *b == b',' || *b == b';')
1076
- .map(|bytes| BasicNamespaceListItemType::deserialize_bytes(reader, bytes))
1077
- .collect::<Result<Vec<_>, _>>()?,
1078
- ))
1079
- }
1080
- }
1081
1066
#[derive(Debug, Clone)]
1082
1067
pub enum BasicNamespaceListItemType {
1083
1068
String(String),
@@ -13218,7 +13203,7 @@ pub mod quick_xml_deserialize {
13218
13203
pub struct WildcardTypeDeserializer {
13219
13204
id: Option<String>,
13220
13205
namespace: Option<super::NamespaceListType>,
13221
- not_namespace: Option<super::NotNamespaceType >,
13206
+ not_namespace: Option<super::BasicNamespaceListType >,
13222
13207
process_contents: super::ProcessContentsType,
13223
13208
annotation: Option<super::AnnotationElementType>,
13224
13209
state: Box<WildcardTypeDeserializerState>,
@@ -13237,7 +13222,7 @@ pub mod quick_xml_deserialize {
13237
13222
{
13238
13223
let mut id: Option<String> = None;
13239
13224
let mut namespace: Option<super::NamespaceListType> = None;
13240
- let mut not_namespace: Option<super::NotNamespaceType > = None;
13225
+ let mut not_namespace: Option<super::BasicNamespaceListType > = None;
13241
13226
let mut process_contents: Option<super::ProcessContentsType> = None;
13242
13227
for attrib in filter_xmlns_attributes(&bytes_start) {
13243
13228
let attrib = attrib?;
@@ -16347,7 +16332,7 @@ pub mod quick_xml_deserialize {
16347
16332
pub struct AnyAttributeElementTypeDeserializer {
16348
16333
id: Option<String>,
16349
16334
namespace: Option<super::NamespaceListType>,
16350
- not_namespace: Option<super::NotNamespaceType >,
16335
+ not_namespace: Option<super::BasicNamespaceListType >,
16351
16336
process_contents: super::ProcessContentsType,
16352
16337
not_q_name: Option<super::QnameListAType>,
16353
16338
annotation: Option<super::AnnotationElementType>,
@@ -16367,7 +16352,7 @@ pub mod quick_xml_deserialize {
16367
16352
{
16368
16353
let mut id: Option<String> = None;
16369
16354
let mut namespace: Option<super::NamespaceListType> = None;
16370
- let mut not_namespace: Option<super::NotNamespaceType > = None;
16355
+ let mut not_namespace: Option<super::BasicNamespaceListType > = None;
16371
16356
let mut process_contents: Option<super::ProcessContentsType> = None;
16372
16357
let mut not_q_name: Option<super::QnameListAType> = None;
16373
16358
for attrib in filter_xmlns_attributes(&bytes_start) {
@@ -16829,7 +16814,7 @@ pub mod quick_xml_deserialize {
16829
16814
pub struct AnyElementTypeDeserializer {
16830
16815
id: Option<String>,
16831
16816
namespace: Option<super::NamespaceListType>,
16832
- not_namespace: Option<super::NotNamespaceType >,
16817
+ not_namespace: Option<super::BasicNamespaceListType >,
16833
16818
process_contents: super::ProcessContentsType,
16834
16819
not_q_name: Option<super::QnameListType>,
16835
16820
min_occurs: usize,
@@ -16851,7 +16836,7 @@ pub mod quick_xml_deserialize {
16851
16836
{
16852
16837
let mut id: Option<String> = None;
16853
16838
let mut namespace: Option<super::NamespaceListType> = None;
16854
- let mut not_namespace: Option<super::NotNamespaceType > = None;
16839
+ let mut not_namespace: Option<super::BasicNamespaceListType > = None;
16855
16840
let mut process_contents: Option<super::ProcessContentsType> = None;
16856
16841
let mut not_q_name: Option<super::QnameListType> = None;
16857
16842
let mut min_occurs: Option<usize> = None;
0 commit comments