Giter Site home page Giter Site logo

Comments (5)

tefra avatar tefra commented on May 27, 2024

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.

skinkie avatar skinkie commented on May 27, 2024

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.

skinkie avatar skinkie commented on May 27, 2024

@tefra I think it is worse now, now all attributes are gone.

from xsdata.

skinkie avatar skinkie commented on May 27, 2024
            <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.

tefra avatar tefra commented on May 27, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.