Comments (5)
Thanks for reporting @skinkie
The tree serializer, wasn't encoding values before feeding them to the tree builders, stuff like xs:NMTOKENS
was failing.
from xsdata.
Thanks for reporting @skinkie
The tree serializer, wasn't encoding values before feeding them to the tree builders, stuff like
xs:NMTOKENS
was failing.
I'll test if the rest works now too.
from xsdata.
@tefra I think it is worse now, now all attributes are gone.
from xsdata.
<ServiceJourneyPattern>
<RouteRef></RouteRef>
<DirectionRef></DirectionRef>
<DestinationDisplayRef></DestinationDisplayRef>
<pointsInSequence>
<StopPointInJourneyPattern>
<ScheduledStopPointRef></ScheduledStopPointRef>
<OnwardTimingLinkRef></OnwardTimingLinkRef>
<IsWaitPoint>true</IsWaitPoint>
</StopPointInJourneyPattern>
<StopPointInJourneyPattern>
<ScheduledStopPointRef></ScheduledStopPointRef>
</StopPointInJourneyPattern>
</pointsInSequence>
</ServiceJourneyPattern>
What I expect:
<ServiceJourneyPattern id="WSF:ServiceJourneyPattern:B-V" version="1">
<RouteRef version="1" ref="WSF:Route:B-V"/>
<DirectionRef version="1" ref="OPENOV:Direction:outbound"/>
<DestinationDisplayRef version="1" ref="WSF:DestinationDisplay:V"/>
<pointsInSequence>
<StopPointInJourneyPattern id="WSF:StopPointInJourneyPattern:B-V-B" version="1" order="1">
<ScheduledStopPointRef version="1" ref="WSF:ScheduledStopPoint:B"/>
<OnwardTimingLinkRef version="1" ref="WSF:TimingLink:B-V"/>
<IsWaitPoint>true</IsWaitPoint>
</StopPointInJourneyPattern>
<StopPointInJourneyPattern id="WSF:StopPointInJourneyPattern:B-V-V" version="1" order="2">
<ScheduledStopPointRef version="1" ref="WSF:ScheduledStopPoint:V"/>
</StopPointInJourneyPattern>
</pointsInSequence>
</ServiceJourneyPattern>
from xsdata.
Yeap I forgot to encode the attrs as well @skinkie, next one, please open new issues please, with simple examples that I can quickly reproduce
from xsdata.
Related Issues (20)
- Rename (abstract) objects HOT 2
- Generate full XML examples from given schema HOT 1
- For unions the types are more elegant HOT 14
- `Error: Cross reference detected` for unused complex types HOT 4
- Check type hinting, extra parentheses for attribute. HOT 6
- Recursion Limit Reached HOT 3
- extending the SOAP Config NamedTuple... HOT 5
- Do not lose data during serialization after parsing HOT 5
- Parsing XML to a class: A sequence of alternatives is wronly parsed HOT 2
- WSDL generation gets overwritten by imported XSD of the same name HOT 1
- self-referencing field - original case recursion error HOT 1
- Question about preferred way of XML parsing HOT 4
- Errors lxmlserializer HOT 5
- Rewrite tree serializers to utilize the existing event writers
- SOAP: Stubs are not generated for most operations in EJBCA WSDL HOT 2
- I would like to write huge trees but don't retain the entire tree in memory HOT 4
- Simultaneous parsing sometimes causes "ConverterWarning: Failed to convert value" HOT 4
- xsdata generate file.xsd fails: AttrsFilters.field_definition() missing 1 required positional argument HOT 2
- Cannot generate nested group references with --unnest-classes
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xsdata.