xmlschema icon indicating copy to clipboard operation
xmlschema copied to clipboard

XML Schema validator and data conversion library for Python

Results 14 xmlschema issues
Sort by recently updated
recently updated
newest added

## Background In `schema.to_dict()`, the parsing of nullable types and empty strings does not follow the "natural mapping". - In XML, nulls are implemented as [xsi:nil](https://www.oreilly.com/library/view/xml-in-a/0596007647/re166.html) - In python, nulls...

Hi all, I was wondering, would it be possible to extend or amend XMLSchema such that it can validate XML files using Schematron? I know lxml has some support for...

enhancement
help wanted

Hi I am in need of some help. I have looked trough the code examples and tests pretty throughly but I'm having trouble finding support for my use case. I...

I am attempting to validate xml schemas using the w3c XMLSchema.xsd and get the following error when attempting to load it as my schema: please advise found links to schemas...

bug

I'm trying to use xmlschema and found a validation error which we don't get with `lxml` (see https://github.com/nexusformat/definitions/issues/1368) ```python import xmlschema xmlschema.XMLSchema("nxdl.xsd") ``` ``` Traceback (most recent call last): File...

bug

``` class GData(xmlschema.converters.BadgerFishConverter): def __init__(self, namespaces: Optional[NamespacesType] = None, dict_class: Optional[Type[Dict[str, Any]]] = None, list_class: Optional[Type[List[Any]]] = None, **kwargs: Any) -> None: kwargs.update(attr_prefix='', text_key='$t', cdata_prefix='$') super(xmlschema.converters.BadgerFishConverter, self).__init__( namespaces, dict_class, list_class,...

enhancement

There is a _Support_ section in your docs ([link](https://xmlschema.readthedocs.io/en/latest/intro.html#support)), but it only points to the issue tracker. Normally support questions are not welcome in the github issue tracker. Is there...

I am trying to download XML schema from a remote URL and it seems to be modifying one of the schema document incorrectly. Here's a snippet of the code to...

bug
enhancement

Hi, first of all thanks for 3.0.0 release! Right now we have a problem with validation against assertion that check filename. `$xml_file_path := upper-case(string(base-uri())),` Validate function acts as if there...

bug

Hi Guys, Thank you for maintaining such a good library. While using it extensively for xsd parsing, I found a bug. I'm working with ASAM OpenSCENARIO (see [ASAM](https://www.asam.net/index.php?eID=dumpFile&t=f&f=4092&token=d3b6a55e911b22179e3c0895fe2caae8f5492467)) schema v1.2...