[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: xerces: features and properties

  • From: Justin Lipton <justin@s...>
  • To: "Xml-Dev (E-mail)" <xml-dev@l...>
  • Date: Thu, 12 Jul 2001 06:46:55 +1000

xerces.properties
Hi,
On a related note to this thread I am using Xerces 1.4.1 and have a problem
with default attributes set defined in my DTD

<!ATTLIST contrived attest (simple|complex) "simple">

It seems that that the XML spec. allows attributes to be #REQUIRED, #IMPLIED
or a default value to be set.

What I am trying to achieve is for the attribute attest to be always written
to the output XML file on save (regardless of whether or not it has the
default value).

What I am experiencing is:
- if the attest attribute is set to "simple" Xerces does not write it to
file on serialization and output
- if the attest attribute is set to "complex" (ie anything other than the
default) Xerces does write the attribute to file

The output produced in both cases is valid and the attribute values are
always available.

Does anyone know how I can force Xerces to write out these types of
attributes?

Thanks,
Justin.
-----Original Message-----
From: Richard Featherstone [mailto:R.Featherstone@u...]
Sent: Wednesday, 11 July 2001 19:15
To: xml-dev@l...
Subject: xerces: features and properties



Can someone point me in the direction of somewhere listing all the
properties and features that can be set on xerces parsers and descriptions
of what they all do.

i'm trying to find out about validation/schema and
validation/schema-full-checking

Cheers

Richard


------------------------------------------------------------------
The xml-dev list is sponsored by XML.org, an initiative of OASIS
<http://www.oasis-open.org>

The list archives are at http://lists.xml.org/archives/xml-dev/

To unsubscribe from this elist send a message with the single word
"unsubscribe" in the body to: xml-dev-request@l...


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.