Jump to content

neigaard

Members
  • Content Count

    2
  • Joined

  • Last visited

Community Reputation

0 Neutral

About neigaard

  • Rank
    Newbie
  1. Hm... I have no success. Here is my try: <?xml version="1.0" encoding="UTF-8"?><xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" xmlns:owl="http://www.w3.org/2002/07/owl#" elementFormDefault="qualified"><xs:element name="rdf:RDF"> <xs:complexType> <xs:sequence> <xs:element name="owl:Ontology" type="xs:string"> <xs:complexType> <xs:sequence> <xs:element name="rdfs:comment" type="xs:string"/> </xs:sequence&
  2. HiI have some XML, that are a home made subset of OWL/RDF XML. I have some very specific rules, and I would like to make as much validation with XSD as possible. However I have failed even to make the simplest validation :)Here is a example of my XML: <?xml version="1.0" encoding="UTF-8"?><rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" xmlns:owl="http://www.w3.org/2002/07/owl#"> <owl:Ontology rdf:about=""> <rdfs:comment>Must not be empty</rdfs:comment> </owl:Ontology> <owl:Class rd
×
×
  • Create New...