task: metadata: install: pip install -e .[cli,lxml,soap]
patch: diff --git a/xsdata/formats/dataclass/filters.py b/xsdata/formats/dataclass/filters.py
index 574a47b7..ed05d150 100644
--- a/xsdata/formats/dataclass/filters.py
+++ b/xsdata/formats/dataclass/filters.py
@@ -256,6 +256,9 @@ class Filters:
         if attr.fixed or attr.is_prohibited:
             kwargs["init"] = False
 
+            if attr.is_prohibited:
+                kwargs[self.DEFAULT_KEY] = None
+
         if default_value is not False and not attr.is_prohibited:
             key = self.FACTORY_KEY if attr.is_factory else self.DEFAULT_KEY
             kwargs[key] = default_value

problem_statement: xsdata seems to have an issue with metadata = {"type": "ignore"}
[testcase.zip](https://github.com/user-attachments/files/17680506/testcase.zip)

Running the code below result into.
```
This works
WheelchairAccess(value=<LimitationStatusEnumeration.FALSE: 'false'>)
This fails
Told you so...
Traceback (most recent call last):
  File "/tmp/xsdata_bug.py", line 22, in <module>
    print(site_frame.stop_places.stop_place[0].accessibility_assessment.limitations.accessibility_limitation)
  File "/usr/lib/python3.12/dataclasses.py", line 262, in wrapper
    result = user_function(self)
             ^^^^^^^^^^^^^^^^^^^
  File "<string>", line 3, in __repr__
AttributeError: 'AccessibilityLimitation' object has no attribute 'validity_conditions_or_valid_between'
```

Removing the attributes with type=ignore, the code functions as expected.
```python
@dataclass(kw_only=True)
class AccessibilityLimitation(AccessibilityLimitationVersionedChildStructure):
    class Meta:
        namespace = "http://www.netex.org.uk/netex"

    validity_conditions_or_valid_between: Any = field(
        init=False,
        metadata={
            "type": "Ignore",
        },
    )
    alternative_texts: Any = field(
        init=False,
        metadata={
            "type": "Ignore",
        },
    )
```


```python
from pathlib import Path

from xsdata.formats.dataclass.context import XmlContext
from xsdata.formats.dataclass.parsers import XmlParser
from xsdata.formats.dataclass.parsers.config import ParserConfig
from xsdata.formats.dataclass.parsers.handlers import LxmlEventHandler

from netex import PublicationDelivery, CompositeFrame, SiteFrame

context = XmlContext()
config = ParserConfig(fail_on_unknown_properties=False)
parser = XmlParser(context=context, config=config, handler=LxmlEventHandler)
pd = parser.parse(Path("/tmp/smaller.xml"), PublicationDelivery)
composite_frame: CompositeFrame = pd.data_objects.choice[0]
site_frame: SiteFrame = composite_frame.frames.common_frame[1]

print("This works")
print(site_frame.stop_places.stop_place[0].accessibility_assessment.limitations.accessibility_limitation.wheelchair_access)

print("This fails")
try:
    print(site_frame.stop_places.stop_place[0].accessibility_assessment.limitations.accessibility_limitation)
except:
    print("Told you so...")
    raise

print("Therefore this fails too")
try:
    print(site_frame.stop_places.stop_place[0])
except:
    print("Told you so...")
    raise
```
repo: tefra/xsdata
test_cmd: pytest --no-header -rA --tb=line --color=no -p no:cacheprovider -W ignore::DeprecationWarning
test_patch: diff --git a/tests/formats/dataclass/test_filters.py b/tests/formats/dataclass/test_filters.py
index eeb4ea31..ba6c1dbd 100644
--- a/tests/formats/dataclass/test_filters.py
+++ b/tests/formats/dataclass/test_filters.py
@@ -281,6 +281,7 @@ class FiltersTests(FactoryTestCase):
         expected = (
             "field(\n"
             "        init=False,\n"
+            "        default=None,\n"
             "        metadata={\n"
             '            "type": "Ignore",\n'
             "        }\n"