Jump to content

Falthon

Members
  • Content Count

    5
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Falthon

  • Rank
    Newbie
  1. Actually, XML Copy Editor has worked out pretty well. It can validate an XML document against a schema, and can also validate a schema. It can't generate an XML document from a schema or a schema from a document (which is another feature on my wishlist), but the author plans to add that capability at some point. Thanks for the suggestions. I definitely recommend XML Copy Editor to anyone looking for an editor with a clean, simple interface.
  2. I want to allow several elements to be unbounded, but I don't need them to be in a particular order. <xs:sequence> <xs:element ref="Duration" minOccurs="1" maxOccurs="1" /> <xs:element ref="ScriptURL" minOccurs="1" maxOccurs="1" /> <xs:element ref="StimulusSignal" minOccurs="0" maxOccurs="unbounded" /> <xs:element ref="FreeNode" minOccurs="0" maxOccurs="unbounded" /> <xs:element ref="ProtectedNode" minOccurs="0" maxOccurs="unbounded" /> <xs:element ref="ExclusiveNode" minOccurs="0" maxOccurs="unbounded" />
  3. Can anyone suggest an open source XML editor that can validate a document against a schema? Currently I'm using GEdit, and I like it a lot, but it doesn't have validation. I've tried mlview, but the error messages are not very helpful. (With the document I'm working on now, it just gives the name of the element and "Error".)
  4. Falthon

    Root Element

    Thanks for the info. I think that points me in the right direction.
  5. Falthon

    Root Element

    I recently wrote my first XML schema, and I'm getting an error with the root element. After reading the tutorial and looking through the forums I'm still not clear on how a root element should be constructed. I don't have any background in programming or XML, and I think my understanding of the basic concepts is weak. I copied an existing XML file, modified it, and then used an automated tool to generate a schema from it; that may have been a mistake. The schema (which is called StimulusModel.xsd) starts with the following lines. <?xml version="1.0" encoding="UTF-8"?><xs:schema xml
×
×
  • Create New...