-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add model-generated 001 with XMI #114
Conversation
The ParseError has been occurred because Shale is not capable to parse xml with relative namespaces.
There are two parts using relative namespaces in the xml file. <GML:ApplicationSchema base_Package="EAPK_9E3ECCD9_5472_45ce_BE7A_BC004A52B63C" version="2.0" xsdDocument="CityGML.xsd" xmlns="core" targetNamespace="http://www.opengis.net/citygml/2.0"/>
...
<GML:ApplicationSchema base_Package="EAPK_75552BE6_545C_4373_BB2F_B5D82EFE2E36" version="2.0" xsdDocument="Appearance.xsd" xmlns="app" targetNamespace="http://www.opengis.net/citygml/appearance/2.0"/> Currently, |
I see what you mean... it uses Can we detect this and then update it in the gem automatically? i.e. modify it in memory and then parse it. Basically:
|
I have manually edited the elements with
|
@ronaldtse Issue has been posted and fixed in lutaml/lutaml#72. |
Thank you @kwkwan ! I'm trying out the document generation now. |
@kwkwan somehow the command isn't returning... 😓 |
So the command works! Here's the sample built with the latest code I pushed: (UPDATED) There are these problems right now:
@kwkwan can you please help fix these? Thanks. |
@kwkwan we are tight in time and need to do the Liquid::Drop change for this table. Let's use this opportunity to create a new command outside of the existing LutaML code using Liquid::Drop and the new table. |
7c28620
to
3cd5e76
Compare
3cd5e76
to
6a041dc
Compare
Uploaded latest 20240822 XMI export from @ReesePlews . |
hi @ronaldtse i just noticed this after the releases of the various components today. is this generate still failing due to the unfinished discussion about japanese bibliographic entry styles? |
No, that was updating the "see" word for Japanese, which is stored in metanorma-iso, and was only ever going to sync with metanorma-plateau when the release happened. The release had not happened at the time that ran. It was still on 2.8.4, and it is now 2.8.5. I have provided you a means of checking when releases happen. Please refer to it. https://github.com/orgs/metanorma/discussions/6#discussioncomment-10524291
|
hello Nick, thank you for the update. i have been following the https://github.com/orgs/metanorma/discussions/6 and it is very helpful. i just dont know exactly when the "every two weeks" begin. is it starting at the beginning of the month, or another date? of course there is no hurry for a reply, i know you are working on this issue. thank you. |
It is every second Monday, as of yesterday, and I make an announcement there if for whatever reason a release fails. The very earliest a release goes out is our Tuesday morning, but if things go badly, there have been times it drags out until late Thursday. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hello @kwkwan thank you for updating this. i think it would be good to test another table.
at your convenience, would you please add the same line to autogenerate the table for landuse
4.8.3 土地利用 モデル の応用スキーマ文書
LandUse CityGML
luse:LandUse
document page 309, PDF pg320
thank you
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @ReesePlews Updated the document to show the class table of LandUse
. Please check.
thank you @kwkwan i will check this later today, but first need to add some content (Notes property) for Landuse to the model. after doing that i will check locally then resend the model. |
regarding the cancelled job, i had only uploaded a zip file. it was not necessary to do a generate. |
db820b2
to
da8fb85
Compare
@ReesePlews @ronaldtse |
thank you @kwkwan ! that sounds very powerful and flexible. i am working on the UML now, i will check later. |
hello @kwkwan here is an updated UML model. can you also add the lutaml call to generate the table for Urban Object i UR uro:LandUseDetailAttribute that starts on doc01-v4 pg 310 (pdf page 321). thank you
hello @kwkwan this is the updated xmi file with the new name. ( plateau_all_packages_export.xmi ) lets use this updated name so we dont need to change the file name all the time. thank you for updating the code.
hello @kwkwan i have made updates in the uml model, please use this .xmi file. additionally i have changed the file name of the .xmi and updated that in the document, so we dont have to change it all the time. i can manage the uploaded file name locally. i will upload the commit but stop the job. please finalize the updates for me. thank you.
hello @kwkwan i have updated .xmi file again. i think the last update for today. also i have added "AGT" as a note in the liquid template to show which tables are "autogenerated table" when they are created. if you think it causes problems, please tell me. thank you.
hello @kwkwan good morning. i have updated the UML .xmi and images over the weekend. at your convenience can you replace these into the branch. the file name for the .xmi has not changed so there should not be any revisions to that. i will make some other reports later today. thank you.
…ble and keep the others in their original styles
…s inheritance then alphabet
027cf97
to
7a461eb
Compare
Run this command to build the model-generated 001:
$ bundle exec metanorma sources/001-mds/document.adoc
This build is failing right now due to the
xmi
gem failing to parse the Enterprise Architect XMI which uses the encrypted GML MDG.The issue will be handled in the
xmi
gemThe model is at: