Skip to content
Discussion options

You must be logged in to vote

The error would show if there were a building element in the XML file without an abbreviation attribute or with an empty abbreviation.

Try to remove the <script src="..."/> element on line 2. The import assumes that all elements within the buildingsRooms elements are building elements.

The following file was imported into our Online Demo without any issues:

<?xml version="1.0" encoding="UTF-8"?>
<buildingsRooms campus="woebegon" term="Fal" year="2010">
    <building externalId="TSLAS" abbreviation="TSLAS" locationX="30.35623087779215" locationY="76.37211123481394" name="Thapar School of Liberal Arts and Sciences">
        <room externalId="LH1" locationX="30.35623087779215" locationY="76.…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@mesaaransh
Comment options

Answer selected by mesaaransh
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants