Jump to content

grhodes

Members
  • Content Count

    2
  • Joined

  • Last visited

Community Reputation

0 Neutral

About grhodes

  • Rank
    Newbie
  1. Hi I am working with the NIEM schema. I am using the citation elament and want to restrict the number of citationviolations to a 1 to 1 on a citation but on the citation the citationviolation is included with maxoccurs as unbounded. How do I restrict the cardinality on my xsd to allow only 1 violation? Thanks.
  2. Hi all:I am a newbie. I have a some schemas,below, but the ref to the attribute does not seem to be inherited, or something. If I create an xml document and include and id attribute for person the xml dcoument does not validate because of that attribute. I have tried with prefixes on the attr. also. Here is my error:Attribute "id" is not allowed in element <main-ns:Person>Sample.xml<?xml version="1.0" encoding="UTF-8"?><!--Sample XML file generated by XMLSpy v2011 (http://www.altova.com)--><x:PersonBatch xsi:schemaLocation="http://Extensions Extensions.xsd" xmlns:x="ht
×
×
  • Create New...