Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6949421
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T13:57:07+00:00 2026-05-27T13:57:07+00:00

I really just need to be able to validate that the XMI file I’m

  • 0

I really just need to be able to validate that the XMI file I’m receiving is compliant with the XMI standard set by OMG.

For example,

I have a file that starts like this…

<?xml version="1.0" encoding="UTF-8"?>
<xmi:XMI xmlns:uml="http://www.omg.org/spec/UML/20090901" xmlns:xmi="http://www.omg.org/spec/XMI/20100901" xmlns:StandardProfileL3="http://schema.omg.org/spec/UML/2.3/StandardProfileL3.xmi"  xmlns:StandardProfileL2="http://schema.omg.org/spec/UML/2.3/StandardProfileL2.xmi" xmi:version="2.4" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.omg.org/spec/XMI/20100901 file:///D:/data/tools/Altova/XMI.xsd">
    <xmi:Documentation exporter="Altova" exporterVersion="1.0"/>
    <uml:Model xmi:id="eee_1045467100313_135436_1" name="Data" visibility="public">
        <ownedComment xmi:type="uml:Comment" xmi:id="_17_0_8ce027f_1306433568482_126880_1517" body="Created:6/26/11 3:32">

The first part validates just fine but as soon as it hits the uml:Model it throws an error. I’ve looked on OMGs website and I can’t find a schema to validate the UML part of this. Do I need to write one myself? Am I even doing this right, I haven’t really had any previous expirence and some work demands don’t allow me the time to properly educate myself. Any and all help/advice is appreciated! Thanks in advance!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T13:57:08+00:00Added an answer on May 27, 2026 at 1:57 pm

    I’m looking for some Schema-Files for OMG-UML-Validation, but also found nothing. On the official OMG-Website are only Xml-Examples and Specification in pdf/ps.

    From your given XML it is clear that there is no namespace declared for UML.

    The Namespace for uml is definied in the root-element of the xml.

    <xmi:XMI xmlns:uml="http://www.omg.org/spec/UML/20090901" [...]>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This is really just for my own use: I would like to be able
This program reads emails (really just a .txt file structured like an email) and
This is really just a best practices question... I find that When developing an
I've got a small program that displays third-party generated HTML pages. It's really just
Just what the question title says. I'm using SpringMVC, but that's irrelevant really. I
I need to be able to provide web access to interact with a file
Is the Provider Model really just the Factory pattern?
I am pretty new to DirectShow and really just feeling my way round at
I'm getting increasingly frustrated with Flex's Dictionary (which is really just an array with
I have a page where I open a modal window. It is really just

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.