Am 05.05.2012 20:29, schrieb ThorstenB: > We probably should double check existing XML files in fgdata. Maybe we > can run a script which reads all fgdata XML files - so we can tell which > files are affected and need to be fixed...
This is actually showing to be a really bad issue. We have loads of XML files with invalid encodings. Also, there's many files which even explicitly state <?xml version="1.0" encoding="UTF-8"?> so they are explicitly asking for UTF-8 decoding - but then these files still contain non-UTF-8 (usually Latin1 byte codes). So, even changing the parser's default to use Latin1 (which would be hack anyway) wouldn't help. List of files with invalid encodings (will be rejected by the parser now) is attached. What do we do? Ask maintainers to fix each XML file? Run a script to fix these issues on fgdata? Suggestions? cheers, Thorsten ./B-25/Models/b25.xml ./Commonwealth-Ca-12/Models/Effects/guns/submodels.xml ./DH-91/dh91-yasim.xml ./Pioneer-200/Models/Pilot/pilot.xml ./Ford-Trimotor/Models/Pilot/pilot.xml ./SM-55/Models/s55.xml ./Alphajet/Models/Interior/Panel/panel.xml ./Alphajet/Models/Interior/Panel/panel2.xml ./Vickers-Vimy/Models/Interior/interior.xml ./Aichi-D3A/Models/Effects/guns/submodels.xml ./Boeing-247/Models/Pilot/pilot.xml ./Gee-Bee/Models/geebee.xml ./Gee-Bee/Models/Immat/immat.xml ./Tigre/Models/tigre.xml ./A24-Viking/Models/Pilot/pilot.xml ./Pond-Racer/Models/Pilot/pilot.xml ./Pond-Racer/Models/pond.xml ./C-160-Transall/Models/c160.xml ./C-160-Transall/Models/Propellers/propellerL.xml ./C-160-Transall/Models/Propellers/propellerR.xml ./dc8-63/dc8-63-set.xml ./B-17/Models/b17.xml ./ME-262HGIII/Models/me262hg3.xml ./dhc3/Models/Interior/Panel/panel.xml ./dhc3/Models/Interior/interior.xml ./dhc3/Models/Pilot/pilot.xml ./dhc3/Models/Immat/immat.xml ./dhc3/Models/dhc3.xml ./Dromader/Models/Matricula.xml ./SpaceShip-One/Models/spaceshipone.xml ./SpaceShip-One/Models/whiteknight.xml ./Fairchild-C119/Models/Interior/interior.xml ./ANT-20/Models/ant20.xml ./DO-X/Models/Pilot/pilot.xml ./DO-X/Models/Immat/immat.xml ./Aerocar/Aerocar-set.xml ./Beechcraft-Staggerwing/Models/Pilot/pilot.xml ./Cessna-208-Caravan/Models/Pilot/copilot.xml ./Cessna-208-Caravan/Models/Pilot/pilot.xml ./Katana/Models/Pilot/pilot.xml ./Katana/Models/katana.xml ./Katana/katana-yasim.xml ./Handley-Page-Halifax/Models/halifax.xml ./Bugatti/Models/Pilot/pilot.xml ./Bugatti/Models/bugatti.xml ./Arup-S2/Models/arup-s2.xml ./Nakajima-B5N/Models/kate.xml ./Alouette-II/Models/Pilot/pilot.xml ./Alouette-II/Models/body.xml ./Curtiss-Jenny/Models/Interior/interior.xml ./Curtiss-Jenny/Models/Pilot/pilot.xml ./Curtiss-Jenny/Models/jenny.xml ./B-36D-Peacemaker/Models/b36d.xml ./Super-Frelon/Models/superfrelon.xml ./Ka-50/Models/ka50.xml ./MirageIV/Models/mirageIV.xml ./F7F-Tigercat/Models/f7f.xml ./Nord-2502/Models/Interior/interior.xml ./DR400/dr400-180-yasim.xml ./DR400/Models/Interior/Panel/panel.xml ./DR400/Models/Pilot/pilot.xml ./Horten-Ho-IX/Models/ho-ix.xml ./Stearman/Models/stearman.xml ./Stearman/Models/Pilot/pilot.xml ./C130/Models/Propellers/propeller3.xml ./C130/Models/Propellers/propeller4.xml ./C130/Models/Propellers/propeller2.xml ./C130/Models/Propellers/propeller1.xml ./Douglas-Dc3/Tutorials/ENtakeoff.xml ./Douglas-Dc3/Tutorials/DEstartup.xml ./Douglas-Dc3/Tutorials/ENtaxi.xml ./Douglas-Dc3/Tutorials/FRstartup.xml ./Douglas-Dc3/Tutorials/ENstartup.xml ./Douglas-Dc3/Models/Engines/Propeller/propellerL.xml ./Douglas-Dc3/Models/Engines/Propeller/propellerR.xml ./Douglas-Dc3/Models/Pilot/copilot.xml ./Douglas-Dc3/Models/Pilot/passenger.xml ./Douglas-Dc3/Models/Pilot/pilot.xml ./Douglas-Dc3/Models/Immat/immat.xml ./Velocity-XL/Models/Pilot/pilot.xml ./Zlin-50lx/Models/Interior/Panel/panel.xml ./Zlin-50lx/Models/Interior/Panel/panel-IFR.xml ./Zlin-50lx/Models/main.xml ./Zlin-50lx/Models/Pilot/pilot-IFR.xml ./Zlin-50lx/Models/Pilot/pilot.xml ./Zlin-50lx/Models/Immat/immat.xml ./Arsenal-VG33/Models/Effects/guns/submodels.xml ./Arsenal-VG33/Models/Immat/immat.xml ./Martin-Baker-MB5/Models/Effects/guns/submodels.xml ./Martin-Baker-MB5/Models/Immat/immat.xml ./ec130/Models/pilot.xml ./SPAD-VII/spadvii-yasim.xml ./SPAD-VII/Models/spadvii.xml ./Piper-PA-32/Models/Pilot/pilot.xml ./Sikorsky-S38/Models/Pilot/pilot.xml ./Sikorsky-S38/Models/s38.xml ./Junkers-G.38ce/Models/g38.xml ./Junkers-G.38ce/g38-yasim.xml ./Deuche/Models/Pilot/pilot.xml ./Hughes-XF11/Models/Engines/engine.xml ./Hughes-XF11/Models/Engines/propellerL.xml ./Hughes-XF11/Models/Engines/propellerR.xml ./Hughes-XF11/Models/xf11.xml ./Avro-Lancaster/Models/lancaster.xml ./Skyvan/Models/Pilot/pilot.xml ./Skyvan/Models/Immat/immat.xml ./Skyvan/Models/skyvan.xml ./737-200/Models/Interior/Panel/panel.xml ./737-200/Models/Interior/Panel/pedest/pedest.xml ./737-200/Models/Interior/Panel/overhead/overhead.xml ./737-200/Models/737-200.xml ./Stampe-SV4/Models/Interior/interior.xml ./Stampe-SV4/Models/Pilot/pilot.xml ./Stampe-SV4/Models/stampe.xml ./Avro-Arrow/Models/arrow.xml ./UH-60/Models/Interior/interior.xml ./Sikorsky-S58/Models/Interior/interior.xml ./Sikorsky-S58/Models/Pilot/pilot.xml ./Sikorsky-S58/Models/s58.xml ./AirCrane/Models/aircrane.xml ./AirCrane/Models/Pilot/pilot.xml ./AirCrane/Models/Immat/immat.xml ./TBM-Avenger/Models/avenger.xml ./DH-88/Models/Immat/immat.xml ./FK9MK2/Models/Pilot/pilot.xml ./Skyranger/Models/Pilot/pilot.xml ./Lancair-235/Models/Pilot/pilot.xml ./Tecnam-P92/Models/Pilot/pilot.xml ./Tecnam-P92/Models/Immat/immat.xml ./C561/Models/c561.xml ./H1-Racer/Models/h1.xml ./H1-Racer/Models/Immat/immat.xml ./dc2/dc2-set.xml ./dc2/Models/Engines/engine.xml ./LATE-29/Models/floats.xml ./Lionceau/Models/Pilot/pilot.xml ./Lionceau/Models/Immat/immat.xml ./A-26-Invader/Models/Interior/interior.xml ./A-26-Invader/Models/Liveries/Gascogne.xml ./A-26-Invader/Models/a26.xml ./Ju-87/Models/ju87.xml ./Convair-XFY-1-Pogo/Models/Immat/immat.xml ./UH-1/Models/TailRotor/tailrotor.xml ./14bis/Models/Pilot/pilot.xml ./Grob-G109/g109-yasim.xml ./Grob-G109/Models/Pilot/pilot.xml ./C460/Models/c460.xml ./Cessna-421-Golden-Eagle/Models/Pilot/pilot.xml ./La-5/la5-yasim.xml ./Fokker-S-11/s11-yasim.xml ./Fokker-S-11/Models/Pilot/pilot.xml ./Fokker-S-11/Models/s11.xml ./Northrop-xb35/Models/Propellers/propellerBDE.xml ./Northrop-xb35/Models/Propellers/propellerADE.xml ./Northrop-xb35/Models/Propellers/propellerAGI.xml ./Northrop-xb35/Models/Propellers/propellerADI.xml ./Northrop-xb35/Models/Propellers/propellerAGE.xml ./Northrop-xb35/Models/Propellers/propellerBDI.xml ./Northrop-xb35/Models/Propellers/propellerBGI.xml ./Northrop-xb35/Models/Propellers/propellerBGE.xml ./bleriot-XI/Models/Pilot/pilot.xml ./bleriot-XI/bleriot-XI-base.xml ./Mirage_F1/Models/Mirage_F1-model.xml ./Short-Stirling/Models/stirling.xml ./Piper-PA-18/Models/Pilot/pilot.xml ./Fw200/Models/fw200.xml ./ASK21-MI/ask21mi-yasim.xml ./ASK21-MI/Models/Interior/interior.xml ./ASK21-MI/Models/ask21mi.xml ./Carreidas/Models/Pilot/pilot.xml ./Carreidas/Models/Immat/immat.xml ./couzinet70/Models/Pilot/pilot.xml ./D520/Models/Effects/guns/submodels.xml ./D520/Models/Immat/immat.xml ./H4-Hercules/h4-hercules-base.xml ./H4-Hercules/h4-hercules-yasim.xml ./H4-Hercules/Models/h4-hercules.xml ./H4-Hercules/Models/Interior/interior.xml ./H4-Hercules/Models/Engines/propellerL3.xml ./H4-Hercules/Models/Engines/engineG2.xml ./H4-Hercules/Models/Engines/engineD3.xml ./H4-Hercules/Models/Engines/propellerL4.xml ./H4-Hercules/Models/Engines/propellerR3.xml ./H4-Hercules/Models/Engines/engineG4.xml ./H4-Hercules/Models/Engines/engineD2.xml ./H4-Hercules/Models/Engines/engineG3.xml ./H4-Hercules/Models/Engines/propellerR2.xml ./H4-Hercules/Models/Engines/propellerL1.xml ./H4-Hercules/Models/Engines/propellerR4.xml ./H4-Hercules/Models/Engines/engineD4.xml ./H4-Hercules/Models/Engines/propellerR1.xml ./H4-Hercules/Models/Engines/engineD1.xml ./H4-Hercules/Models/Engines/propellerL2.xml ./H4-Hercules/Models/Engines/engineG1.xml ./ME-209-V1/Models/Immat/immat.xml ./Macchi-M33/Models/Effects/guns/submodels.xml ./B-24-Liberator/b24-yasim.xml ./B-24-Liberator/Models/Interior/interior.xml ./B-24-Liberator/Models/b24.xml ./DO-335/Models/do335.xml ./R44/Models/Pilot/pilot.xml ./R44/Models/Immat/immat.xml ./R44/Models/TailRotor/tailrotor.xml ./Caudron-G4/Models/g4.xml ./Late-631/late631-yasim-cnf.xml ./Late-631/Models/Interior/Panel/panel.xml ./Late-631/Models/Engines/engine5.xml ./Late-631/Models/Engines/engine1.xml ./Late-631/Models/Engines/engine3.xml ./Late-631/Models/Engines/engine4.xml ./Late-631/Models/Engines/engine2.xml ./Late-631/Models/Engines/engine0.xml ./Late-631/Models/late631.xml ./Dauphin/dauphin.xml ./Grob-G115/Models/Pilot/pilot.xml ./Grob-G115/Models/Immat/immat.xml ./Bell-222X/bell222x.xml ./Bell-222X/Models/bell222x.xml ./C-2A/Models/c-2a.xml ./C-2A/Models/Immat/immat.xml ./C-2A/Models/Immat/immat2.xml ./C-2A/Models/Propellers/propeller2.xml ./C-2A/Models/Propellers/propeller1.xml ./Bombardier-415/Models/cl415.xml ./Falcon-50/Models/falcon50.xml ./dhc1/Models/Pilot/pilot.xml ./dhc1/Models/Immat/immat.xml ./Airco-DH2/Models/dh2.xml ./Douglas-Dolphin/Models/dolphin.xml ./737-100/Models/737-100.xml ./737-100/Models/Interior/Panel/panel.xml ./737-100/Models/Interior/Panel/pedest/pedest.xml ./737-100/Models/Interior/Panel/overhead/overhead.xml ./F6F-Hellcat/Models/f6f.xml ./F6F-Hellcat/Models/Effects/guns/submodels.xml ./Long-EZ/Models/Pilot/pilot.xml ./Long-EZ/Models/long-ez.xml ./F-106-dart/Models/f106.xml ./L-1011-500/L-1011-500-set.xml ./HM-14/Models/Pilot/pilot.xml ./Allegro-2000/Models/allegroF.xml ./Allegro-2000/Models/Pilot/pilot.xml ./Allegro-2000/Models/Immat/immat.xml ./Farman-IV/Test-farman-IV-yasim.xml ./Farman-IV/Models/Pilot/pilot.xml ./D510/Models/Immat/immat.xml ./Burnelli-CBY-3/Models/burnelli.xml ./Polikarpov-I16/Models/i16.xml ./Polikarpov-I16/Models/Immat/immat.xml ./Caravelle/Models/Interior/interior.xml ./Caravelle/Models/caravelle.xml ./Caravelle/Models/Immat/immat.xml ./K-7/Models/k7.xml ./K-7/Models/Immat/immat.xml ./Caudron-G3/Models/g3.xml ./Bell-P-59/Models/Effects/guns/submodels.xml ./RAF-S-E-5/Models/se5.xml ./Nieuport-11/Models/nieuport11.xml ./Ryan-Navion/Models/Pilot/pilot.xml ./Diamond-Da42/Models/Pilot/pilot.xml ./Diamond-Da42/Models/Immat/immat.xml ./Diamond-Da42/Models/da42.xml ./Diamond-Da42/Models/Passenger/copilot.xml ./Northrop-P61/Models/p61.xml ./DH-106/Models/Immat/immat.xml ./Mil-Mi-24/Models/Pilot/pilot.xml ./Mil-Mi-24/Models/Immat/immat.xml ./Quickie/badtest-quickie2-yasim.xml ./Brabazon/Models/brabazon.xml ./HondaJet/Models/hondajet.xml ./Grob-Astir/astir-yasim.xml ./Grob-Astir/Models/astir.xml ./Grob-Astir/Models/Pilot/pilot.xml ./Grob-Astir/Models/Immat/immat.xml ./MS-406/Models/Immat/immat.xml ./JAS39-Gripen/gripen-yasim.xml ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel