I think there is a bug. Would you please open a bugzilla bug report? Thanks!
Tinny ----- Original Message ----- From: "Christopher Kelly" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, April 03, 2002 1:23 PM Subject: namespace prefixes with schema processing > i'm trying to work out why enabling schema processing disables namespace > prefixes in the parsed output. take the following example: > > DOMPrint -n collection.xml > > <collection xmlns:y="uri:yahoo" xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xmlns:yes="uri:yes" xs:noNamespaceSchemaLocation="collection.xsd"> > > <instances> > <!-- > <instance guid="MSD001"/> > <instance guid="MSD002"/> > --> > </instances> > <bootstrapGuid>bsp</bootstrapGuid> > <y:timeKeeper> > <created>1999-05-31T13:20:00.000-05:00</created> > <accessed xs:nil="true"/> > <modified xs:nil="true"/> > </y:timeKeeper> > </collection> > > DOMPrint -n -s collection.xml > > <collection xmlns:y="uri:yahoo" xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xmlns:yes="uri:yes" xs:noNamespaceSchemaLocation="collection.xsd"> > > <instances> > <!-- > <instance guid="MSD001"/> > <instance guid="MSD002"/> > --> > </instances> > <bootstrapGuid>bsp</bootstrapGuid> > <timeKeeper> > <created>1999-05-31T13:20:00.000-05:00</created> > <accessed xs:nil="true"/> > <modified xs:nil="true"/> > </timeKeeper> > </collection> > > notice the y: has disapeared from <timeKeeper> - why is this? > > this makes it impossible to serialise the instance document back to disk and > parse it again. > > i have attached the schemas. > > chris. > > -- > > christopher kelly <[EMAIL PROTECTED]> > yahoo! enterprise solutions, 10 ebury bridge road, london, sw1w 8pz > pgp public key: http://kuffworks.com/cck.pgp > tel: +44 (0)207 808 4525 > gsm: +44 (0)7796 688 050 > sms: [EMAIL PROTECTED] > ---------------------------------------------------------------------------- ---- > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
