OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

cti-users message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [cti-users] Parsing corrupt STIXPackages in python-stix


Hi Matthew, could you post a larger snippet of the offending document, to include the outermost Observable element at least? You have piqued my interest in whether Java's xml validation handlers could help out here, small consolation I know for you in the Python world.

Stuart


On 05/03/2016 06:59 PM, Matthew Hall wrote:
The schema is not used in the Python parse process for the most part according to my reading. The exception is thrown from a silly error checking function for integer valued fields. But I didn't see a clear way, yet, to short circuit the unwanted check. Meanwhile I have a whole to of busted data I want to process that's being lost due to this issue. I might try to do some surgery on it with XPath.




[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]