Hi, I want to use some "applicative attributes" in XMLdocuments that are processed with schemas. The idea I found was to use a particular namespace for these attributes without modifying my "target" schemas. Something like this : doc.xsd : targerNamespace = http://www.mutu-xml.org/mydoc describes doc components (content model) in this namespace an element test is only declared as empty witout attributes doc.xml : <doc xmlns="http://www.mutu-xml.org/mydoc" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:app=http://www.mutu-xml.org/mydoc/appl xsi:schemaLocation="http://www.mutu-xml.org/mydoc doc.xsd"> <test app:id="1"/> </doc> But it is rejected by a validator (such as Xerces) indicating that app:id us not allowed to appear in element 'test' I am ok with this message... but is there a way to indicate that all attributes of a namespace ( particlular one or any other than the targetNamespace) must be ignored ? any idea ? thanks in advance regards -- bruno -- Bruno Chatel Tel : (+33) 4 96 11 14 57 bcha@chadocs.com -------------------------------------------------Received on Friday, 14 February 2003 05:29:31 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:36 GMT