OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
Re: [xml-dev] Noob: XML validation capabilities beyond schemas

Hi John,

Schematron would be my first choice.

If you need a little more than that then you may look also into NVDL, 
this allows to validate fragments of the document with different schema 
files - these fragments can overlap and the same fragment can be 
validated with multiple schemas. From NVDL you can trigger Schematron, 
Relax NG, XML Schema validations.

If you still need more power then look into XProc. From that you can 
invoke also any type of validation but you can also do a lot of other 
processing on the XML data.

Best Regards,
George Cristian Bina
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger

On 12/9/11 8:04 PM, John Christopher wrote:
> Hello,
> Newbie alert.
> So far, I have been validating my XML docs with RELAX NG schemas (I started out with XML Schema but switched to RELAX NG, which is much easier to read).  I use the XML schema datatypes, enumeration, lists, etc. to do most of the validation I want to do.  When I need to validate something that is beyond the capabilities of RELAX NG, I have been using GNU Awk to scan the XML and do further validation, but this is messy and error-prone.
> Is there a better way?  Is it possible to add additional validation functions to parsers?  If so, how?
> I am also investigating schematron.  How powerful/limited is this?
> What is/are the standard way(s) to validate XML beyond the capabilities of schemas?  Any advice, pointers, or links would be appreciated.
> Thanks for your help.
> _______________________________________________________________________
> XML-DEV is a publicly archived, unmoderated list hosted by OASIS
> to support XML implementation and development. To minimize
> spam in the archives, you must subscribe before posting.
> [Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
> Or unsubscribe: xml-dev-unsubscribe@lists.xml.org
> subscribe: xml-dev-subscribe@lists.xml.org
> List archive: http://lists.xml.org/archives/xml-dev/
> List Guidelines: http://www.oasis-open.org/maillists/guidelines.php

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS