Hallo,
mal ne Frage.
Ich hab da eine DocumentException die vom SAXParser geworfen wird sollte eine Validierung (XML mit XSD) fehlschlagen.
Gibt es da irgendwas um Exceptions zu entschlüsseln?
Weil ich kann so eine Fehlermeldung nicht direkt an den User weiterreichen.
thx 4 help
mal ne Frage.
Ich hab da eine DocumentException die vom SAXParser geworfen wird sollte eine Validierung (XML mit XSD) fehlschlagen.
Code:
Error on line 4 of document file:///C:/data/X400Address.xml-605151596 : cvc-maxLength-valid: Value 'sdss' with length = '4' is not facet-valid with respect to maxLength '3'
for type '#AnonType_CountryX400StandardAttributeList'.
Nested exception: cvc-maxLength-valid: Value 'sdss' with length = '4' is not facet-valid with respect to maxLength '3' for type '#AnonType_CountryX400StandardAttributeList'.
Gibt es da irgendwas um Exceptions zu entschlüsseln?
Weil ich kann so eine Fehlermeldung nicht direkt an den User weiterreichen.
thx 4 help